Netgear PS113 PS113 Reference Manual - Page 122

Configuring LPD on System V, Print using the command, printer_queue, file_name, printer_name

Page 122 highlights

Installation and Reference for the Model PS104/PS105/PS110/PS113 Print Server 6. Print using the command: lp -d printer_queue file_name Use these definitions for entering the information: • printer_queue is one of the entries used in Name of queue to add. • file_name is the file you want to print. Configuring LPD on System V Before beginning LPD Setup, make sure that an IP address has been assigned to your print server and that the following statements apply: • 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 are configured on the print server itself. • You identify the service type as BSD if your UNIX system asks for the LPD type. The LPD protocol that the print server uses meets BSD system standards. Table 6-3 shows sample commands when using LPD. The definitions used in the sample commands are: • printer_name is the name of the print queue serviced by the print server. • Spooler_directory is the name of the directory used to spool the print jobs. Table 6-3. Sample Commands for Using LPD on System V 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 UNIX Printing Using TCP/IP 6-11

  • 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
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

Installation and Reference for the Model PS104/PS105/PS110/PS113 Print Server
UNIX Printing Using TCP/IP
6-11
6.
Print using the command:
lp -d printer_queue file_name
Use these de
nitions for entering the information:
printer_queue
is one of the entries used in Name of queue to add.
file_name
is the
le you want to print.
Con
guring LPD on System V
Before beginning LPD Setup, make sure that an IP address has been assigned to your print server
and that the following statements apply:
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 are con
gured on the print server itself.
You identify the service type as BSD if your UNIX system asks for the LPD type.
The LPD protocol that the print server uses meets BSD system standards.
T
able
6-
3
shows sample commands when using LPD. The de
nitions used in the sample
commands are:
printer_name
is the name of the print queue serviced by the print server.
Spooler_directory
is the name of the directory used to spool the print jobs.
Table 6-3.
Sample Commands for Using LPD on System V
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