Kyocera Ai5555 NC-2 Instruction Hand Book - Page 116

Setting Up a BSD Remote Printer to Use lpd, Setting Up an AIX Remote Printer to Use lpd

Page 116 highlights

UNIX Printing Through TCP/IP lpd UNIX Printing Setting Up a BSD Remote Printer to Use lpd To set up a remote printer on the host that sends jobs to tha NC-2 Print Server using printer resident lpd, add an entry to the /etc/printcap file on your host for each printer you use. The procedure is described below. 1. Open the /etc/printcap file. Make an entry naming the NC-2 Print Server as the remote host and PORT1 as the remote printer name. A typical printcap entry is as follows: \ (for example, lprprinter) :lp=:\ :rm=:\ ( for example, name as entered in /etc/hosts) :rp=PORT1:\ :sd=/usr/spool/lpd/: (for example, spool directory on system used to spool data and control files) This entry will send jobs spooled at /usr/spool/lpd/ to the printer designated to be printed at port 1 (the internal connection to the printer) of the NC-2 Print Server designated as . 2. Create the spooling directory. For example, type: mkdir /usr/spool/lpd/ 3. To print via the spooler, use the lpr command. Type: lpr-P < file_name> Installation and testing are done. You are now ready to print. Setting Up an AIX Remote Printer to Use lpd Use the following procedure to set up a remote printer on the host that sends jobs to the NC-2 Print Server using the NC-2 Print Server's lpd. 1. At the prompt, type: #smit spooler 2. When a window appears, select Manage Remote Printers. 3. When a menu appears, select Client Services. 4. Another menu appears, select Remote Printer Queues. 5. Another menu appears, select Add a Remote Queue. 5-26 UNIX Printing Through TCP/IP

  • 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

5-26 UNIX Printing Through TCP/IP
UNIX Printing Through TCP/IP
lpd UNIX Printing
Setting Up a BSD Remote Printer to Use lpd
To set up a remote printer on the host that sends jobs to tha NC-2 Print
Server using printer resident lpd, add an entry to the /etc/printcap file on
your host for each printer you use. The procedure is described below.
1. Open the
/etc/printcap
file.
Make an entry naming the NC-2 Print Server as the remote host and PORT1
as the remote printer name. A typical printcap entry is as follows:
<printer_name>\ (for example, lprprinter)
:lp=:\
:rm=<remote_host>:\ (
for example, name as entered in /etc/hosts)
:rp=PORT1:\
:sd=/usr/spool/lpd/<printer_name>:
(for example, spool directory on system used to spool
data and control files)
This entry will send jobs spooled at /usr/spool/lpd/<printer_name> to the
printer designated <printer_name> to be printed at port 1 (the internal
connection to the printer) of the NC-2 Print Server designated as
<remote_host>.
2. Create the spooling directory. For example, type:
mkdir /usr/spool/lpd/<printer_name>
3. To print via the spooler, use the lpr command. Type:
lpr-P <printer_name>< file_name>
Installation and testing are done. You are now ready to print.
Setting Up an AIX Remote Printer to Use lpd
Use the following procedure to set up a remote printer on the host that sends
jobs to the NC-2 Print Server using the NC-2 Print Server's lpd.
1. At the prompt, type:
#smit spooler <cr>
2. When a window appears, select
Manage Remote Printers
.
3. When a menu appears, select
Client Services
.
4. Another menu appears, select
Remote Printer Queues
.
5. Another menu appears, select
Add a Remote Queue
.