> From [EMAIL PROTECTED] Tue Jun 20 11:38:11 2000
> From: "Scot W. Hetzel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: How to print a banner to a remote print server?
> Date: Tue, 20 Jun 2000 12:14:45 -0500
>
> We have a Intel Netport Express Printserver that we need to be able to
> generate a banner for each print job. Previously, with the old lpd we used
> a second printcap entry to force a banner.
>
> After I upgraded to LPRng, the lp0 entry to doesn't work. Instead I get the
> following error:
>
> # lpr -Plp0 /var/spool/lpd/lp0/ofilter
> Status Information:
> sending job 'root@host+902' to lp0@localhost
> connecting to 'localhost', attempt 1
> connected to 'localhost'
> requesting printer lp0@localhost
> sending control file 'cfA902host.domain.com' to lp0@localhost
> job 'root@host+902' transfer to lp0@localhost failed
> error 'ERROR TRANSFERRING DATA'
> sending file 'cfA902host.domain.com' to lp0@localhost
>
> printcap:
> =========
> lp0|lp|oki|oki2410|Okidata 2410 Printer:\
> :sd=/var/spool/lpd/lp0:\
> :mx#0:\
> :pw#132:\
> :lp=/dev/null:\
> :lf=/var/log/lpd.log:\
> :of=/var/spool/lpd/lp0/ofilter:
> rlp0|Remote Okidata 2410 Printer:\
> :sd=/var/spool/lpd/rlp0:\
> :mx#0:\
> :pw#132:\
> :rm=pserv3:\
> :rp=LPT1_TEXT:\
> :sh:\
> :sf:\
> :lf=/var/log/lpd.log:\
> :if=/var/spool/lpd/rlp0/filter:\
> :sh:
You could try:
lp0|lp|oki|oki2410|Okidata 2410 Printer:\
:[EMAIL PROTECTED]
rlp0|Remote Okidata 2410 Printer:
:server
:sd=/var/spool/lpd/%P:\
:mx#0:\
:rm=pserv3:\
:rp=LPT1_TEXT:\
:lf=/var/log/lpd.log:\
:bp=/usr/local/libexec/filters/psbanner
:lpd_bounce
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------