I am trying to set up a "virtual" printer for when print jobs are sent
to, it takes that job and runs a script to add some custom headers and
convert it to postscript, then forwards this job to be printed out on a
different printer. My printcap entry looks like this:
lineprinter:\
:lp=frenv52%9100:\
:filter=/export/Spool/lprng/libexec/filters/lineprinter/lineprinter.scr:\
:sd=/export/Spool/lprng/spool/lpd/%P:\
:af=/export/Spool/lprng/spool/lpd/%P/acct:\
:lf=/export/Spool/lprng/spool/lpd/%P/log:\
frenv52:\
:lp=/dev/null:\
:ifhp=model=hp5000, dev=frenv52%9100,appsocket:\
:filter=/export/Spool/lprng/libexec/filters/ifhp:\
:sd=/export/Spool/lprng/spool/lpd/%P:\
Where lineprinter is the "virtual" printer (that is, it doesn't
physically exist) that takes a job, runs the lineprinter.scr script that
creates a postscript document and sends it to the actual printer,
frenv52.
When I send this print job, it does create the postscript file but
doesn't actually print. I run a 'snoop' from the print server to the
actual printer (frenv52) and see network traffic going to it, so it
looks like it works, except that nothing gets printed out.
If anyone has suggestions, I would greatly appreaciate it. Thanks.
Barton Wold
United Defense L.P.
[EMAIL PROTECTED]
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------