User`s guide
2-7
Printers, Print Jobs, and Queues for Systems Administrators
Initial Printer Configuration
You can use one process to configure a printer and another to add a print queue. There are
several different articles that describe how to do this. The task you use depends on how
your printer is attached to the system. You can also configure a printer without adding a print
queue. The following describes how to do these tasks:
• Changing the Configuration File, on page 2-7
• Configuring a Local Printer and Adding a Queue, on page 2-7
• Configuring a Remote Printer and Adding a Queue, on page 2-8
• Configuring an Xstation Printer and Adding a Queue, on page 2-8
• Configuring a Network Printer and Adding a Queue, on page 2-9
• Configuring a Print Queue for a File in the /dev Directory, on page 2-9
• Configuring a Printer without Adding a Queue, on page 2-11
The ”Queuing a Print Job” and ”Removing a Print Queue” procedures can be used after
configuring a print queue.
Changing the Configuration File
Both the enq command and qdaemon command read the /etc/qconfig file when they start.
The qdaemon command starts when you start the system; the enq command starts each
time someone requests a print job. Thus, if you change the /etc/qconfig file, the enq
command reads the new version of the configuration file the next time it runs.
Do not edit the /etc/qconfig file while there are active jobs in any queue. Editing includes
both manual editing and use of the mkque, rmque, chque, mkquedev, rmquedev, or
chquedev commands. It is recommended that all changes to the /etc/qconfig file be made
using these commands. However, if manual editing is desired, first issue the enq –G
command to bring the queuing system and the qdaemon command down after all jobs are
present. Then edit the /etc/qconfig file and restart the qdaemon command with the new
configuration.
Configuring a Local Printer and Adding a Queue
Note: If you want to configure a printer without adding a print queue, see ”Configuring a
Printer without Adding a Queue”, on page 2-11.
Prerequisites
• Read the documentation for your printer. You may need printer–specific information to
connect and configure the printer.
• Review the configuration of your system. Determine to which parallel or serial port you
want to connect the printer.
• You must have root authority.
Procedure
1. Connect the printer directly to the serial or parallel port on the local host:
a. Type shutdown at the system prompt to halt the system.
b. Turn off the system and any external devices.
c. Connect the printer to the appropriate serial or parallel port.
d. Set up your printer as described in the printer documentation.
e. Restart the system.
2. At the system prompt, type: