Capítulo 36. Configuração da Impressora

The Ferramenta de Configuração da Impressora allows users to configure a printer. This tool helps maintain the printer configuration file, print spool directories, and print filters.

Red Hat Enterprise Linux 3 uses the CUPS printing system. If a system was upgraded from a previous Red Hat Enterprise Linux version that used CUPS, the upgrade process preserved the configured queues.

Using the Ferramenta de Configuração da Impressora requires root privileges. To start the application, select Main Menu Button (on the Panel) => System Settings => Printing, or type the command redhat-config-printer. This command automatically determines whether to run the graphical or text-based version depending on whether the command is executed in the graphical desktop environment or from a text-based console.

To force the Ferramenta de Configuração da Impressora to run as a text-based application, execute the command redhat-config-printer-tui from a shell prompt.


Do not edit the /etc/printcap file or the files in the /etc/cups/ directory. Each time the printer daemon (cups) is started or restarted, new configuration files are dynamically created. The files are dynamically created when changes are applied with the Ferramenta de Configuração da Impressora as well.

Figura 36-1. Ferramenta de Configuração da Impressora

The following types of print queues can be configured:


If you add a new print queue or modify an existing one, you must apply the changes to them 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 configuration file until the printer daemon is restarted. Alternatively, you can choose Action => Apply.

36.1. Adding a Local Printer

To add a local printer, such as one attached through a parallel port or USB port on your computer, click the New button in the main Ferramenta de Configuração da Impressora window to display the window in Figura 36-2. Click Forward to proceed.

Figura 36-2. Adding a Printer

Na janela exibida na Figura 36-3, indique um nome único para a impressora no campo Nome. O nome de uma impressora não pode conter espaços e deve começar por uma letra. Este nome pode conter letras, números, hífens (-) e underscores (_). Opcionalmente, indique uma breve descrição da impressora, que pode conter espaços.

Figura 36-3. Selecting a Queue Name

After clicking Forward, Figura 36-4 appears. Select Locally-connected from the Select a queue type menu, and select the device. The device is usually /dev/lp0 for a parallel printer or /dev/usb/lp0 for a USB printer. If no devices appear in the list, click Rescan devices to rescan the computer or click Custom device to specify it manually. Click Forward to continue.

Figura 36-4. Adding a Local Printer

Em seguida, selecione o tipo de impressora. Consulte a Seção 36.7 para mais detalhes.