This information aplies to Ubuntu GNU/Linux 6.06 "Dapper Drake"
Any comments are welcome by e-mail: [email protected]
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.
由于HP Linux Imaging and Printing project （HPLIP），惠普（Hewlett Packard ）打印机在GNU/Linux下支持非常好。HPLIP工程包含二进制打印机驱动（HPIJS）以及维护打印机的工具（检测剩余墨粉量，清理和校准墨粉盒，……）。由于这个工程，差不多每个HP打印机和PSC（打印机/扫描仪/复印机）都可以正常工作
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 file:///usr/share/doc/hplip/hplip_readme.html under the section "Product Support".
Ubuntu GNU/Linux 6.06 "Dapper Drake" 对HPLIP提供了很好的支持，它默认安装和运行HPLIP 0.97版。你可以在 file:///usr/share/doc/hplip/hplip_readme.html 中支持产品（Product Support）一节中查看它是否适用于你的打印机以及维护工具可否正常使用（Services/Status=Yes）。
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.
本文阐述了如何在Ubuntu GNU/Linux 6.06 "Dapper Drake"中安装打印机。它是面向直接连接的USB打印机和并口（LPT）打印机而不是网络打印机。
Add a USB/LPT printer using gnome-cups-manager
1. Connect your HP printer to your computer using USB or Parallel.
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. Go to System -> Administration -> Printing
3. 打开菜单 系统 -> 管理 -> 打印机
4. Click "New Printer".
4. 单击 “新建打印机”
5. Follow this step for autodetected printers. Skip this step for Parallel (LPT) printers that can't be autodetected.
Nearly all USB printers and only a few LPT printers can be autodetected. The autodetected printers are listed under "Use a detected printer". For USB printers two detected printers appear: one for the "usb" CUPS-backend and one for the "hp" CUPS-backend provided by HPLIP. 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 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
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!
5. Follow this step for Parallel port printers that can't be autodetected.
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!
6. Select "Forward".
7. In the Manufacturer list select "HP".
In the Model list click the printer model that most closely matches your printer.
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.
8. Click "Apply". Your printer is succesfully added now.
9. Close the Printers window.
10. Open the HP Device Manager by entering the following command in a console/terminal.
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.
11. Click your HP printer in the left pane. Click the Tools & Settings tab, and then click Print Test Page.
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.
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...".