Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Dear all,
Since local lpd will do process filter for remote lpd, so how should we configure it so that it local lpd will accept filter that pass to remote lpd to process it?
Thanks and your help are appreciate!!

I get the solution here, but anyone can explain about it for me?
Here the original printcaplp5|5|dot matrix printer:\
:lf=/usr/adm/lp5err:\
:lp=:\
:rm=tom.digital.com:\
:rp=lp2:\
:sd=/usr/spool/lpd5:
When print multiple copies to the printer.lpr -#2 -P5 filename
Only get one copy. The remote system doesn't interpret the multiple copies switch on lpr.So create another printcap entry that looks like this.
lp8|8|pass-through entry:\
:lp=/dev/null:\
:mx#0:\
:of=/usr/lbin/passtolp5:\
:sd=/usr/spool/lpd8:Then create a file called /usr/lbin/passtolp5 that looks like this.
#!/bin/csh -f
/bin/cat | lpr -Plp5Finally I work!
So anyone can explain a bit about the whole process why should i pass through the print job, so that the remote lpd should be work fine?

1. Index To All The Configuration and Printcap Options:
http://www.lprng.com/LPRng-Reference-Multipart/optionindex.htm2. Printcap Basics
http://www.lprng.com/LPRng-Reference-Multipart/x3105.htm3. Printing under Unix http://userpages.umbc.edu/~jack/ifsm498/print.html
Luke Chi

![]() |
Input from file, create m...
|
[Script] Filesize checkin...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |