Red Hat Linux no longer includes printtool. The printconf utility has replaced printtool. The printconf utility maintains the /etc/printcap configuration file, print spool directories, and print filters.
To use printconf, you must be running the X Window System and have root privileges. To start printconf, use one of the following methods:
On the GNOME desktop, go to the Main Menu Button (on the Panel) => Programs => System => Printer Configuration
On the KDE desktop, go to the Main Menu Button (on the Panel) => Red Hat => System => Printer Configuration.
Type the command printconf-gui at a shell prompt (for example, in an XTerm or a GNOME terminal). [1]
You can also run printconf as a text-based application if you do not have the X Window System installed, or you just prefer the text-based interface. To run it, log in as root (or use the command su to temporarily change to the root user), and type the command /usr/sbin/printconf-tui from a shell prompt.
![]() | Do Not Edit /etc/printcap |
---|---|
Do not edit the /etc/printcap file. Each time the printer daemon (lpd) is started or restarted, a new /etc/printcap file is dynamically created. |
If you want to add a printer without using printconf, edit the /etc/printcap.local file. The entries in /etc/printcap.local are not displayed in printconf but are read by the printer daemon. If you upgrade your system from a previous version of Red Hat Linux, your existing configuration file is converted to the new format used by printconf. Each time a new configuration file is generated by printconf, the old file is saved as /etc/printcap.old.
Five types of print queues can be configured with printconf:
Local Printer — a printer attached directly to your computer through a parallel or USB port. In the main printer list as shown in Figure 1-1, the Queue Type for a local printer is set to LOCAL.
Unix Printer (lpd Spool) — a printer attached to a different UNIX system that can be accessed over a TCP/IP network (or example, a printer attached to another Red Hat Linux system on your network). In the main printer list as shown in Figure 1-1, the Queue Type for a remote UNIX printer is set to LPD.
Windows Printer (SMB) — a printer attached to a different system which is sharing a printer over a SMB network (for example, a printer attached to a Microsoft Windows machine). In the main printer list as shown in Figure 1-1, the Queue Type for a remote Windows printer is set to SMB.
Novell Printer (NCP Queue) — a printer attached to a different system which uses Novell's NetWare network technology. In the main printer list as shown in Figure 1-1, the Queue Type for a remote Novell printer is set to NCP.
JetDirect Printer — a printer connected directly to the network instead of to a computer. In the main printer list as shown in Figure 1-1, the Queue Type for a JetDirect printer is set to JETDIRECT.
![]() | Important |
---|---|
If you add a new print queue or modify an existing one, you need to restart the printer daemon (lpd) for the changes to take effect. |
Clicking the Apply button saves any changes that you have made and restarts the printer daemon. The changes are not written to the /etc/printcap configuration file until the printer daemon (lpd) is restarted. Alternatively, you can choose File => Save Changes and then choose File => Restart lpd to save your changes and then restart the printer daemon.
If a printer appears in the main printer list with the Queue Type set to INVALID, the printer configuration is missing options that are required for the printer to function properly. To remove this printer from the list, select it from the list and click the Delete button.
[1] | If you type printtool at a shell prompt, printconf will start. |