3Com 3CRWPS10075-US User Guide - Page 79

Procedure, Adding Remote Printers, is the name

Page 79 highlights

LPD Configuration 79 ■ The remote host name is the name of the Print Server. ■ The remote printer names 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:

  • 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
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94

LPD Configuration
79
The remote host name is the name of the Print Server.
The remote printer names 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
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.
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
Printer_name|Remote_Printer_Alias:\
[Tab] :lp=:\
[Tab] :rm=PS_NAME:\
[Tab] :rp=Logical_Printer_name:\
[Tab] :sd=Spooler_directory:\
[Tab] :mx#0: