Lpd on bsd, Procedure table, Adding remote printers – Motorola WPS870G User Manual

Page 98: User guide wps870g

Advertising
background image

User Guide

WPS870G

PAGE 91

LPD on BSD

Before continuing, ensure that an IP address has been assigned to the Wireless Print
Server. Remember the following:

The remote host name is the name of the Wireless Print Server.

The remote printer name is the logical printer (for example, L1) on the Wireless Print
Server.

If asked for the LPD type, enter the service type as BSD.

In the sample commands shown, printer_name is the Print Queue serviced by the
logical printer on the Wireless Print Server, and Spooler_dir is the name of the directory,
which is used to spool the print jobs.

Procedure Table

Action

Sample Command

Create a spooling
directory

mkdir /usr/spool/Spooler_dir

Set spooling daemon as
owner of this directory

chown daemon /usr/spool/Spooler_dir

Create read/write
permissions

chmod 775 /usr/spool/Spooler_dir

Give permissions to LPD
processes

chgrp daemon /usr/spool/Spooler_dir

Add remote printer(s)

See below

Start lcomputer print
mechanism

lcomputer start printer_name

Adding Remote Printers

A remote printer is added by inserting the following line in the /etc/printcap file.
Note: The entry is really one line, but can be entered as shown. Use a TAB character where shown.

Printer_name|Remote_Printer_Alias:\
[T

AB

] :lp=:\

[T

AB

] :rm=PS_NAME:\

[T

AB

] :rp=Logical_Printer_name:\

[T

AB

] :sd=Spooler_directory:\

[T

AB

] :mx#0:

Advertising