LevelOne EPS-3001TU manual LPD on System, Adding Remote Printers, Action, Sample Command, TAB mx#0

Models: FPS-2111TXU FPS-2101TXU FPS-2003TXU FPS-2013TXU FPS-2101USB EPS-3001TU

1 101
Download 101 pages 2.03 Kb
Page 59
Image 59
LPD on System V

Level One Printer Servers

LPD on System V

Before beginning LPD Setup, ensure that an IP Address has been assigned to the LevelOne Printer Server. Keep the following points in mind:

The remote host name is the name of the LevelOne Printer Server.

The remote printer name is the print queue name for the Logical Printer. Logical printers also need to be configured on the LevelOne Printer Server itself. (See ).

If your UNIX asks for the LPD type, be sure to identify the service type as BSD. The LevelOne Printer Server’s LPD protocol meets BSD system standards.

In the sample commands shown, printer_name is the name of the Print Queue serviced by the LevelOne Printer Server, and Spooler_directory is the name of the directory used to spool the print jobs.

Procedure

Action

Sample Command

 

 

Stop Print Services

/usr/lib/lpshut

 

 

Add a System Printer

/usr/lib/lpadmin -p printer_name -v /dev/null

 

 

Restart the Print Services

/usr/lib/lpsched

 

 

Enable printing to the new

enable printer_name

printer device

 

Start accepting jobs for the new

accept printer_name

printer device

 

Create a spooling directory

mkdir /usr/spool/Spooler_directory

 

 

Make spooling daemon the

chown daemon /usr/spool/Spooler_directory

owner of this directory

 

Create read/write permissions

chmod 775 /usr/spool/Spooler_directory

 

 

Give permissions to LPD

chgrp daemon /usr/spool/Spooler_directory

processes.

 

Add remote printer(s)

See following section.

 

 

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:

- 56 -

Page 59
Image 59
LevelOne EPS-3001TU LPD on System, Adding Remote Printers, Action, Sample Command, enable printername, accept printername