Archive for May, 2011

QuickBooks Simple Start saving invoices as PDF files

May 27th, 2011 2 comments

How can I save my QuickBooks Invoice as a PDF

As a freelancer I only need a simple bookkeeping package so QuickBooks Simple Start Free Edition is perfect.

Quickbooks is very quick to set up and I soon had my invoices entered and now wanted to email them but oops there is no way to save the invoice as a PDF. Never mind I can email them to my client but no QuickBooks Simple Start only recognizes either Outlook or Windows Mail as email client and these are not available on Windows 7. I download, install and configure their replacement Windows Live Mail but QuickBooks stubbornly refuses to acknowledge it. I now trawl through QuickBooks own community forum and see people moaning that Windows Live Mail is ignored; apparently it will be or is available in QuickBooks 2011 .

Finally breakthrough I install CutePDF Writer it is completely free. Now all I have to do is print my Invoice and select CutePDF as the virtual printer, CutePDF asks me where I want to save the Invoice PDF. I can then manually email my invoices (PDFs) to customers using my conventional email client allowing to add a personal message and also with the advantage of leaving me with an audit trail.

CutePDF Instructions: Using CutePDF Writer to create PDF document:

Select Print to bring up Print dialog box.
Then select CutePDF Writer as the Printer to print.
You will get a Save As dialog box prompted for saving created PDF file.
Select a folder to Save in and enter a File name, then click on Save.
Go to that folder to find your PDF file.

CutePDF Writer supports Microsoft Windows 98/ME/2000/XP/Vista/7 (x32/x64).

Categories: windows Tips Tags:

adding Adsense to a Coppermine Photo Gallery

May 10th, 2011 No comments

Edit the file /album/themes/classic/template.html (or /album/themes/your-chosen-theme/template.html)
and between {ADMIN_MENU} and {GALLERY} insert the following table configured with your adsense code of course.
In Adsense choose Adsense banner type 728×90


<table width="100%" border="0" align="center" cellpadding="25" cellspacing="0">
<td align="center" valign="top">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-6999999999";
/* above should be your adsense client number of course*/
google_ad_slot = "7771777345";
google_ad_width = 728;
google_ad_height = 90;
<script type="text/javascript"

Categories: adsense Tags:

Self-grepping text file (Perl Script)

May 9th, 2011 No comments

This very simple Perl file greps the text which occurs after the __DATA__ marker
The perl code and the text can be edited at anytime by entering the parameter.
Having the script and text together makes it portable.
Adapt the script to your own requirements.

# Description : grep own text
# Version 1.1

if ($#ARGV >= 0){$keyw = $ARGV[0];}
else { print "enter keyword (or -v to edit):"; $keyw=; }
chomp $keyw;

if ($keyw=~/-v/i){system ("gvim $0"); exit;} # edit this file

@info=<DATA>; # read text into array

for $line (@info)
print grep /$keyw/i,$line;
Arts & Design Category
Art galleries & Museums

* International Galleries and Museums
* US Galleries and Museums
etc etc

Categories: perl Tags: