个人工具

UbuntuHelp:HpPrinterInstallationAndMaintenanceBreezy

来自Ubuntu中文

Wikibot讨论 | 贡献2007年12月5日 (三) 12:10的版本

跳转至: 导航, 搜索

This information aplies to Ubuntu GNU/Linux 5.10 "Breezy Badger".
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 cartridges, ...). Nearly every HP printer and PSC (Printer/Scanner/Copier) can be made to work thanks to this project. Ubuntu GNU/Linux 5.10 "Breezy Badger" provides excellent support for HPLIP, it includes HPLIP version 0.9.5 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-base/hplip_readme.html under the section "Product Support". This document describes the Ubuntu way for installing you printer in Ubuntu GNU/Linux 5.10 "Breezy Badger". It is targetted at direct connected USB or LPT (Parallel) printers and not at network printers.

Working around bugs

There are some major bugs in Ubuntu GNU/Linux 5.10 "Breezy Badger" that affect HP printer installation, luckily some of them have simple workarounds. Make sure you run these workarounds before adding your printer. 1. Workaround for bug #24999: two duplicate hpijs drivers in gnome-cups-add and cups "add printer" web interface. Open a terminal/console:

$ sudo rm /usr/share/cups/model/hplip

2. Workaround for:
bug #24899: two manufacturer indications for HP cause users not to find correct printer model/driver,
bug #32545: wrong recommended driver in gnome-cups-add. Open a terminal/console:

$ sudo sed -i 's/HP (HPLIP)/HP/' /usr/share/ppd/hplip/*

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 HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=Printing.png 4. Click "New Printer". 5. Follow this step for autodetected printers. Skip this step for Parallel (LPT) printers that can't be autodetected. Nearly all USB printers and some LPT printers are autodetected. The autodetected printers are listed under "Use a detected printer". HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=AddUSBPrinter1.png 5. Follow this step for Parallel port printers that can't be autodetected. HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=AddLPTPrinter1.png Select "Use another printer by specifying a port". Choose "Parallel Port #1" or "Parallel Port #2" from the list, do NOT choose CANON or EPSON parallel ports since these are special! 6. Select "Forward". 7. Your Printer Model and the recommended driver for it are preselected. HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=AddPrinter2.png If your printer is not listed under "Model" then select the printer model that most closely matches your printer.
You can choose another printer driver for your printer under "Driver" if you like (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. HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=PrinterClickProperties.png 9. Right-click on the newly created printer and select "Properties". Under the tab "Paper" and "Advanced" you can change some "default" settings for your printer like page size, quality, resolution, print medium, ... HpPrinterInstallationAndMaintenanceBreezy?action=AttachFile&do=get&target=PrinterPropertiesAdvanced.png 10. Click "Print a Test Page". If the test page prints out OK then your printer is installed succesfully. 11. Close the "Properties" and "Printers" window.

Printer maintenance

Check your Printer ink levels

Open a terminal/console and enter the following command:

$ hp-levels
HP Linux Imaging and Printing System (ver. 0.9.5)
Supplies Levels Utility ver. 0.4
Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/DESKJET_3820?serial=CN2A61N13N18
Black cartridge
Part No.: 15 (C6615DN)
Health: OK
--------------------------------------------------------------------------------------
|/////////////////////////////////////////////////////////                     | (approx. 57%)
--------------------------------------------------------------------------------------
Tri-color cartridge
Part No.: 78 (C6578DN)
Health: OK
--------------------------------------------------------------------------------------
|/////////////////////////////////////                     | (approx. 37%)
--------------------------------------------------------------------------------------

Cleaning your Printer Cartridges

Open a terminal/console and enter the following command:

$ hp-clean
HP Linux Imaging and Printing System (ver. 0.9.5)
Printer Cartridge Cleaning Utility ver. 1.5
Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/DESKJET_3820?serial=CN2A61N13N18
Performing type 1, level 1 cleaning...
Done.

Aligning your Printer Cartridges

Open a terminal/console and enter the following command:

$ hp-align