TRENDnet TEW-P1U1P Network Card User Manual


 
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 (e.g. 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
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 lpc print mechanism lpc start printer_name
Adding Remote Printers
A remote printer is added by inserting the following line in the /etc/printcap file.
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:
Where:
Printer_name is the Print Queue name used to store jobs for the corresponding logical
printer.
PS_NAME is the Wireless Print Server name defined in /etc/hosts.
Logical_Printer_name is the logical printer name on the Wireless Print Server. (e.g. L1)
Spooler_directory is the directory you created in Step 6.
Page 72