个人工具

UbuntuHelp:HpPrinterInstallationAndMaintenanceDapper

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> <<Include(Tag/Deletion)>> This information aplies to Ubuntu GNU/Linux 6.06 "Dapper Drake"<
>
Any comments are welcome by e-mail: [email protected]

Introduction

Hewlett Packard Printers are very well supported on GNU/Linux thanks to the HP Linux Imaging and Printing project (HPLIP). The HPLIP project includes binary printer drivers (HPIJS drivers) and tools for maintenance of your printer (checking of ink levels, cleaning and aligning of cartridges, ...). Nearly every HP printer and PSC (Printer/Scanner/Copier) can be made to work thanks to this project. Ubuntu GNU/Linux 6.06 "Dapper Drake" provides excellent support for HPLIP, it includes HPLIP version 0.9.7 installed and running by default. You can check if your printer is supported and if maintenance tools will work for your printer (Services/Status=Yes) in the file /usr/share/doc/hplip/hplip_readme.html under the section "Product Support". This document describes the Ubuntu way for installing you printer in Ubuntu GNU/Linux 6.06 "Dapper Drake". It is targetted at direct connected USB or LPT (Parallel) printers and not at network printers.

Add a USB/LPT printer using gnome-cups-manager

1. Connect your HP printer to your computer using USB or Parallel cable.

Note: See your printer documentation for specific instructions on connecting the USB or Parallel cable to your printer and computer. 2. Make sure your printer is powered ON. 3. If you have a Printer/Scanner/Copier device first do the steps described in this bug report: bug #45012. 4. Go to System -> Administration -> Printing

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=Printing1.png 5. Click "New Printer". 6. Follow this step for autodetected printers (all USB and most LPT printers). Skip this step for Parallel (LPT) printers that can't be autodetected (very old models).

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=AddUSBPrinter1.png All USB printers and most LPT printers can be automatically detected. The autodetected printers are listed under "Use a detected printer". If you have a Parallel (LPT) printer you should first remove the "lp" entry from the file /etc/modules (see bug #29050).<
> Therefore open a terminal/console and enter the following command:

$ sudo nano /etc/modules

Remove the "lp" entry, press Ctrl-X to exit and save the changes. For USB printers two detected printers appear: one for the "usb" CUPS-backend and one for the "hp" CUPS-backend provided by HPLIP. For LPT printers only one detected printer appears. For both USB and LPT printers select the "hp" CUPS-backend because this allows to check ink levels and to do printer cartridge alignment for you printer by means of GUI program hp-toolbox. For my HP Desk``Jet 3820 printer connected with USB cable I had to select "HP DESKJET_3820" because this is matching with the "hp" CUPS-backend.<
> I found this by entering the following command in a terminal/console.

$ lpinfo -v
network socket
network beh
network bluetooth
direct usb://HP/DeskJet%203820?serial=CN2A61N13N18
direct hp:/usb/DESKJET_3820?serial=CN2A61N13N18
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
direct canon:/dev/usblp0
direct epson:/dev/usblp0
network smb

Select the detected printer that matches hp:/usb/printer_name?serial=number or hp:/par/printer_name?device=/dev/parportX<
> Note: Since most HP printer names contain an underscore sign you can select the detected printer that contains an underscore as a rule of thumb.<
> As you see gnome-cups-manager is not very user friendly on this point, in my case I had to select the 2nd detected printer! 7. Follow this step for Parallel port printers that can't be autodetected (very old models).

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=AddLPTPrinter1.png Select "Use another printer by specifying a port". Choose "LPT #1" or "LPT #2" from the list, do NOT choose CANON or EPSON parallel ports since these are special! 8. Select "Forward". Now choose your printer make, model and driver.

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=AddPrinter2.png In the Manufacturer list select "HP" (should be preselected for autodetected printers). <
> In the Model list click the printer model that most closely matches your printer (should be preselected for autodetected printers).<
> Select the driver of your choice under "Driver" (e.g. pcl3 if present).<
> Keep the "recommended" driver if you don't know which driver to use. 9. Click "Apply". Your printer is succesfully added now.

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=Printers.png 10. Close the Printers window. 11. Open the HP Device Manager by entering the following command in a console/terminal.

$ hp-toolbox

HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=DeviceManagerTestPage.png Note: you can also add a starter in your GNOME or KDE menu to open the HP Device Manager.<
> Do this by opening Applications -> Accessories -> Alacarte. Under System -> Administration you will find the HPLIP Toolbox entry, you have to check it to make it visible in the System menu. HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=Alacarte.png 12. Click your HP printer in the left pane. Click the Tools & Settings tab, and then click Print Test Page.

Printer maintenance

Check your Printer ink levels

Open the HP Device Manager.<
> Click your HP printer in the left pane and then click on the "Supplies" tab. HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=DeviceManagerSupplies.png

Cleaning and aligning your Printer Cartridges

Open the HP Device Manager. Click your HP printer in the left pane and then click on the "Tools & Settings" tab. For cleaning the printer cartridges scroll down and click "Clean Cartridges...", for aligning the printer cartridges scroll down an click "Align Cartridges...". HpPrinterInstallationAndMaintenanceDapper?action=AttachFile&do=get&target=DeviceManagerCartridges.png


I had to install python-qt3 in order for hp-toolbox to run. I believe Kubuntu users won't have that problem. Ref: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/89413 -- jimcooncat