Basic Network Printing

Basic network printing is similar to local printing. To set up a network printer in /etc/printcap, use a line like the following:

simba|lp|local line printer:\
        :lp=::rm=nova:rp=simba:sd=/var/spool/lpd/simba:lf=/var/log/lpd-errs:

This entry will connect to a remote printer named simba on the host named nova. Note that the local name (on line 1) does not have to be the same as the remote name of the printer. You can call the local name whatever you want. What printer the job is actually sent to is controlled by the rp entry in line 2. The local spool directory will hold the file only until the remote spool directory has room. Then, the file will be moved into the remote host's spool directory.

Notice that we did not have ...

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.