TRENDnet TEW-P1U1P manual LPD on BSD, Chown daemon /usr/spool/Spoolerdir, Lpc start printername

Models: TEW-P1U1P

1 80
Download 80 pages 8.51 Kb
Page 76
Image 76

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

chown daemon /usr/spool/Spooler_dir

of this directory

 

 

 

Create read/write permissions

chmod 775 /usr/spool/Spooler_dir

 

 

Give permissions to LPD

chgrp daemon /usr/spool/Spooler_dir

processes

 

 

 

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_nameRemote_Printer_Alias:\ [TAB] :lp=:\

[TAB] :rm=PS_NAME:\

[TAB] :rp=Logical_Printer_name:\

[TAB] :sd=Spooler_directory:\

[TAB] :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

Page 76
Image 76
TRENDnet TEW-P1U1P LPD on BSD, Chown daemon /usr/spool/Spoolerdir, Chmod 775 /usr/spool/Spoolerdir, Lpc start printername