Options used:
lp=destination
rm=remote host (machine)
rp=remote printer (machine)
You can have the lpd server forward jobs to another server or print which supports the RFC1179 protocol by using the following printcap:
# Simplest remote|Remote Printer :lp=raw@server # historical remote: rp=raw:rm=server # Sometimes you have to connect to a non-standard port special:lp=lp@server%2000
If the lp printer entry is present, it will override the rm and rp printer entries.
The lp=pr@host format specifies that the output device is actually a remote spool queue, and jobs should be transferred using RFC1179 protocol.
By default, LPRng will attempt to sanitize all jobs that it originates or forwards. This sanitization will result in an RFC1179 compliant control file, and will not modify any of the job information.