In article <1123538336.637329.231070 (AT) g47g2000cwa (DOT) googlegroups.com>,
royser (AT) hotmail (DOT) com says...
Quote:
Hi
I am trying to create a script for a layout that will allow me to drop
a watermark into the background of an invoice that has been printed
once already. I hope to allow our accounts dept to print copies of an
invoice with "copy" in the background so as to ensure that original
invoices are clearly identifiable and can restrict multiple copies. Any
ideas how I might go about this?
Thaks in advance
Roy |
Create a text field called reprint. Once the invoice has been printed,
set it to equal to "COPY". On your invoice layout put this field, in the
middle, in large font, but set to a very light grey, and send it to the
back. Duplicate it every few inches if you like. (Make sure your other
fields have a 'transparent' background, so it can show through.
When the field is blank, (ie the invoice hasn't been printed) the
invoice looks the same as always. When the field is set, the invoice
will have the 'watermark' reprint. On susequent prints the field will
have a value, and will show through.
Done.
Obviously this technique could be augmented with graphical watermarks
using a calculation that is equal to a global container field if its
been printed already etc... the variations are endless.
One caveat, you have to script your printing, to ensure that the record
is updated to indicate that it has been 'printed'.
You'll also have to decide what to do if the original job is lost to a
paper jam, or an ink/toner problem, a powerfailure while printing...
whatever. Or perhaps that is not really an issue for you.
-good luck,
Dave