Gerenciando impressoras e imprimindo no Kubuntu

This document contains information about various printing options that Kubuntu™ offers and other related tasks.


Impressoras

Most printers are supported by Kubuntu™. SettingsSystem Settings Printer Configuration provides the ability to add printers, modify their settings, monitor printing jobs, suspend or restart printers, and set up printer sharing.

Gerenciador de Dispositivos HP

The HP Device Manager simplifies the configuration of printers, including HP Multifunction Devices (MFDs) — printers that also copy and scan. This application should be used if there is a direct connection from the computer to the printer via USB, LPT (parallel port), or network (direct connection or JetDirect™). The HP Device Manager does not work with printers on a shared network using Samba. If the printer is configured with Samba, the section called “Impressora de Rede” is recommended.

To open the HP Device Manager, press Alt+F2. In the Run Command dialog, type printer toolbox followed by pressing the OK button or pressing the Enter key. If this is the first time opening the application, the No Installed HP Devices Found dialog will appear. Three choices will be presented:Setup Device..., CUPS Web Interface, and Close. To set up the printer, select the Setup Device... button. When prompted for a password, enter the correct password and then press the OK button. Select the option that suits the printer configuration and complete the setup. The HP Device Manager has the ability to automatically detect any attached devices, or to scan a network for any compatible devices.

For more information on the HP Device Manager, install the hplip-docs package. Please refer to the Adding Applications documentation for more information on installing extra applications. Once the hplip-docs are installed, they can be accessed by going to HelpContents... or browsing to file:///usr/share/doc/hplip-doc/HTML/index.html.

Impressoras Locais

Uma impressora local é uma impressora que está diretamente ligada no computador (impressoras de rede serão discutidas na seção seguinte). Para configurar uma impressora local:

  1. Determina o nome do modelo da impressora e assegura que a impressora está ligada.

  2. Choose K menuSystem Settings and select Printer Configuration to open the system-settings-config-printers system dialog.

  3. Choose AddAdd Printer/Class...

  4. A impressora deve ser detectada automaticamente. Se for, clique Próximo > e então Finalizar.

  5. Para finalizar, informe a descrição e a localização da impressora.

Some printers may need further setup steps. If the printer was not automatically detected, try to select the port and printer driver manually. Search the databases at The Linux Foundation or check the Ubuntu™ wiki's Printer page for possible information on the printer.

Impressora de Rede

Kubuntu™ can be configured to send print jobs to a remote print server. Remote printers are attached through a network. To configure a remote printer:

  1. Determina o nome do modelo da impressora e assegura que a impressora está ligada.

  2. Choose K menuSystem Settings and select Printer Configuration to open the system-settings-config-printers system dialog.

  3. Selecione Nova impressoraNova classe de impressora.

  4. No dialogo Introdução, pressione o botão Avançar >.

  5. No dialogo Selecione voltar, selecione o tipo de conexão remota e pressione o botão Avançar >.

  6. At the User Identification dialog, select the type of authentication that is used by either the remote printer or the system that is sharing the remote printer.

    Tip

    If there is a question, try Anonymous (no login/password) and press the Next > button. If this fails, try with Guest account (login="guest").

  7. No diálogo Configurações de impressoras, pressione o botão Examinar. Se houver qualquer erro de autenticação, pressione o botão < Voltar e tente a etapa anterior com uma configuração de autenticação diferente. Se tudo der certo, selecione a impressora remota e pressione o botão Next >.

  8. After KDE™ builds the driver database, the Printer Model Selection dialog will display a list with Manufacturer and Model information. Locate the printer, highlight the corresponding drivers, and press the Next > button. If no information pertaining to the printer is found, please search the databases at The Linux™ Foundation or check the Ubuntu™ wiki's Printer page for possible information on the printer.

  9. Para esta etapa, há duas possibilidades em termos de diálogos. Se os drivers foram configurados automaticamente, então o diálogo de Teste da impressora irá aparecer. Se os drivers não foram configurados automaticamente, então o diálogo de Seleção de drivers será apresentado.

    1. No diálogo Teste da impressora, faça um teste de impressão para verificar a operação da impressora. Quando terminar, pressione o botão Próximo >

    2. No diálogo de Seleção de drivers, haverá uma solicitação para selecionar o driver apropriado. Se houver um driver [recomendado], selecione a impressora e pressione o botão Próximo >. Se não houver um driver recomendado, experimente cada driver para encontrar um que seja adequado à sua impressora.

  10. No diálogo de Seleção de faixas, selecione a faixa Inicial e a Final. Quando terminar, pressione o botão Próximo >.

  11. No diálogo Configurações de quota de impressora, defina o tamanho da quota a ser habilitada para a impressora. Este pode ser o tamanho máximo de um arquivo ou o número máximo de páginas que serão permitidas a qualquer hora. Quando terminar, pressione o botão Próximo >.

  12. No diálogo Configurações de acesso do usuário, as regras de acesso podem ser definidas para usuários ou grupos. Quando terminar, pressione o botão Próximo >.

  13. No diálogo Informações gerais, digite pelo menos um Nome para a impressora. Quando terminar, pressione o botão Próximo >.

  14. Confirmação é o último diálogo apresentado. Verifique se as informações estão corretas e pressione o botão Terminar para completar a instalação.

Servidor de Impressão Samba

Samba is commonly used to configure printer sharing, installed locally or over the network, on an Ubuntu™ server. Similar to Samba-fileserver, this section will show how to configure Samba to allow any client on the local network to use the installed printers without prompting for a username and password.

For a more secure configuration, see Samba-fileprint-security.

Instalação

Before installing and configuring Samba, it is best to have a working CUPS™ installation. See the Ubuntu™ official documentation CUPS™ page for details.

To install the Samba package, from a terminal enter:

sudo apt-get install samba

Configuração

After installing the Samba package, edit /etc/samba/smb.conf. Change the workgroup attribute to what is appropriate for the network, and change security to share:

workgroup = EXAMPLE
...
security = user

Na seção [impressoras], altere a opção convidado ok para yes:

browsable = yes
guest ok = yes

After editing smb.conf, restart Samba:

sudo /etc/init.d/samba restart

The default Samba configuration will automatically share any printers installed. Simply install printers locally on the Windows™ clients.

Recursos

Testando uma Impressora

  1. Select Printers from K menuComputerSystem Settings.

  2. Clique com o botão Direito do mouse na impressora a ser testada e selecione Testar impressora....

  3. Na janela Aviso, pressione o botão Imprimir página de teste

Compartilhando uma Impressora

  1. Select Printers from K menuComputerSystem Settings.

  2. Destacar ou selecionar uma impressora para ser compartilhada.

  3. Once highlighted, go to Print ServerShare Printers on Local Network.

  4. No diálogo Compartilhar impressoras na rede local, pressione o botão Habilitar Compartilhamento.

  5. Na janela Executar como root - KDE su, digite a senha apropriada e pressione o botão Ok.