LPRng-HOWTO: 15 Oct 2001 (For LPRng-3.7.9)
Prev | Chapter 12. Printcap Database | Next

# 12.7. Remote Printer Using RFC1179

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

1. If the `lp` printer entry is present, it will override the `rm` and `rp` printer entries.

2. The `lp=pr@host` format specifies that the output device is actually a remote spool queue, and jobs should be transferred using RFC1179 protocol.

3. 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.

Prev | Home | Next
Enterprise Strength Printcap Example | Up | Remote Printer Using Socket API