
TCP/IP Host Setup LPR Printing
7-7
7.2.3.1 Using UNIX Commands
Using LPR on AIX hosts involves a slightly different configuration procedure. The queue configuration file
is /etc/qconfig and the format of the entry is different, as shown in the example below. Note the lack of
colons (:) and the required white space.
Figure 7-5: Example AIX qconfig entry
The device name is simply the queue name with a “d” added. Print to the queue using normal lp syntax.
Figure 7-6: Printing to a Queue
7.2.3.2 Using SMIT
The System Management Interface Tool (SMIT) allows you to enable LPD printing and create print queues.
1 At the host prompt, type SMIT.
2 From the main window in the application, choose Print Spooling.
3 Choose Manage Print Server and Start the Print Server Subsystem (lpd daemon).
4 In the Start the Print Server Subsystem dialog box, type BOTH in the first field. Click OK.
5 The message “The lpd subsystem has been started” will appear in the Output section of the next win-
dow. Click Done.
To add and use a print queue:
1 From the main window, choose Print Spooling.
2 Choose Manage Print Server and Manage Print Queues.
3 Choose Add a print queue.
4 From the dialog box that appears, choose remote.
Server_PRT:
device = Server_PRTd
up = TRUE
host = Server_
xxxxxx
s_statfilter = /usr/lpd/bsdhort
l_statfilter = /usr/lpd/bsdlong
rq = Server_
xxxxxx
_S1
Server_PRTd:
backend = /usr/lpd/rembak
% lp -dServer_PRT
filename
Komentarze do niniejszej Instrukcji