Hello George,
What I have to do is:
- Monitor a Network Printer
- When a specified document is printed (perhaps it can be identified
by
the name), add a signature at the end of the document. This signature
can be any type of digital image (gif, jpg, tiff, etc).
The printer is an HP LaserJet and of course I want to do this with c#.
You may be interested in FinePrint (
www.fineprint.com), particularly their
SE (Server Edition). They claim to be able to alter document significantly
before sending them to a 'real' printer.
If you are going to attempt to do this yourself, I think the easiest way
would be create a virtual printer and have the application / users in question
print to your new virtual printer. Then, you could modify the print stream
and send it on its way. This is (very) roughly what the FinePrint product
does.
You could also alter the client's printer to produce PostScript to a file,
then have your program monitor the folder where the PostScript is written,
open the PostScript and insert the signature that way and send to the 'real'
printer.
Good Luck,
Mark