TRENDnet TE100-P1U User Guide - Page 66

LPD on System V, Procedure, Adding Remote Printers

Page 66 highlights

LPD on System V Before beginning LPD Setup, ensure that an IP Address has been assigned to the Print Server. Keep the following points in mind: The remote host name is the name of the Print Server. The remote printer name is the print queue name for the Logical Printer. Logical printers also need to be configured on the Print Server itself. If your UNIX asks for the LPD type, be sure to identify the service type as BSD. The Print 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 Print Server, and Spooler_directory is the name of the directory, which is used to spool the print jobs. Procedure Action Stop Print Services Add a System Printer Restart the Print Services Enable printing to the new printer device Start accepting jobs for the new printer device Create a spooling directory Make spooling daemon the owner of this directory Create read/write permissions Give permissions to LPD processes. Add remote printer(s) Sample Command /usr/lib/lpshut /usr/lib/lpadmin -p printer_name -v /dev/null /usr/lib/lpsched enable printer_name accept printer_name mkdir /usr/spool/Spooler_directory chown daemon /usr/spool/Spooler_directory chmod 775 /usr/spool/Spooler_directory chgrp daemon /usr/spool/Spooler_directory 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_name|Remote_Printer_Alias:\ [TAB] :lp=:\ [TAB] :rm=PS_NAME:\ [TAB] :rp=Logical_Printer_name:\ [TAB] :sd=Spooler_directory:\ [TAB] :mx#0: Page 63

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72

LPD on System V
Before beginning LPD Setup, ensure that an IP Address has been assigned to the Print Server.
Keep the following points in mind:
The
remote host name
is the name of the Print Server.
The
remote printer name
is the print queue name for the Logical Printer. Logical printers also
need to be configured on the Print Server itself.
If your UNIX asks for the LPD type, be sure to identify the service type as BSD. The Print
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
Print Server, and
Spooler_directory
is the name of the directory, which is 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
printer device
enable
printer_name
Start accepting jobs for the
new printer device
accept
printer_name
Create a spooling directory
mkdir /usr/spool/
Spooler_directory
Make spooling daemon the
owner of this directory
chown daemon
/usr/spool/Spooler_directory
Create read/write permissions
chmod 775 /
usr/spool/Spooler_directory
Give permissions to LPD
processes.
chgrp daemon
/usr/spool/Spooler_directory
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_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:
Page 63