hi the list ;) ,

I've try to print watermark on all printed pages .....
but it seems not to be so simple .....
it work for text and ps file only :/
but not smb printed jobs :'( ( which are printed via lpr -b option :/ )
in fact i try to convert all jobs in ps , and then send them to a script ...

here is my printer definition in ifhp.conf .....


[optra2 ]
#dev=/tmp/output.ifhp
status@
pjl@
pcl@
ps
text@
forceconversion@
file_output_match = [
 *PostScript*   ps      /usr/bin/watermark.pl -
 *text*         ps      /usr/bin/a2ps -q -2 --medium=A4 -o - |
/usr/bin/watermark.pl -
 *pcl*          ps      /usr/bin/a2ps -o - | /usr/bin/watermark.pl -
 *pjl*      ps      /usr/bin/a2ps -o - | /usr/bin/watermark.pl -
]

matthieu

-- 
          Matthieu Le Corre
        ------------------------------
        CIE -- UFR sciences
        Université de Nantes
             02-51-12-58-65

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to