HpPrinterInstallationAndMaintenanceBreezy
出自Ubuntu中文
This information aplies to Ubuntu GNU/Linux 5.10 "Breezy Badger".
Any comments are welcome by e-mail: pascal.devuyst@gmail.com
本文在ubuntu GNU/linux5.10"Breezy Badger".下通过测试,如有任何问题请至邮[mailto:pascal.devuyst@gmail.com ]
目录 |
简述-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.
GNU/Linux下已经可以得到很好的支持HP打印机了,这得归功于HP "linux映像和打印(HPLIP)"项目,该项目包含开发二进制打印机驱动(HPIJS驱动)和打印机管理工具(检查墨水使用情况,清洗和调校打印头等)。受益于该项目,基本上HP全线的打印机和一体机都可以很好地在GNU/Linux平台上。
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".
Ubuntu GNU/Linux 5.10 "Breezy Badger"可以完美的支持HPLIP,它自带的HPLIP版本为0.9.5(默认安装并设为自动运行),您可以浏览/usr/share/doc/hplip-base/hplip_readme.html 文件中的"Product Support"部份.它标明了您的打印机在当前系统是否被支持,维护工具是否能用在您的打印机上使用,"Services/Status=Yes"即说明系统可以支持该打印机。
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.
声明:本文所介绍打印机安装方法适用于Ubuntu GNU/Linux 5.10 "Breezy Badger",不保证其他发行版可以正常使用.并且本文所安装的打印机为通过USB或是LPT端口直接连接到您的计算机上的本地打印机,而非网络打印机。
已发现的一些缺陷和修正办法-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.
Ubunut-Breezy Badger中存在一些bug会影响HP打印机的正常安装和使用。所以,务必在开始安装打印机前先修复这些bugs。
1. Workaround for bug #24999: two duplicate hpijs drivers in gnome-cups-add and cups "add printer" web interface.
' 修正'bug #24999:在'nome-cups-add和cups”添加打印机“网络界面有'两个重复的hpijs驱动。
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.
- 修正'bug #24899:'出现两个HP的厂家标识,影响用户定位正确的打印机型号/驱动。
- bug #32545: 'gnome-cups-add中'推荐'错误的驱动。'
Open a terminal/console:
打开终端/控台,执行以下命令:
$ sudo sed -i 's/HP (HPLIP)/HP/' /usr/share/ppd/hplip/*
使用gnome-cups-manager添加USB/LPT打印机-Add a USB/LPT printer using gnome-cups-manager
1. Connect your HP printer to your computer using USB or Parallel.
- 通过USB或并口连接好您的HP打印机。
Note: See your printer documentation for specific instructions on connecting the USB or Parallel cable to your printer and computer.
提示:在开始安装打印机之前请仔细阅读打印机的文档,查看通过USB或LPT端口安装打印机的专门说明。
2. Make sure your printer is powered ON.
- 打开打印机电源.
3. Go to System -> Administration -> Printing
- 打开打印机管理程序:系统->系统管理->打印服务,将打开如下图的操作窗口
attachment: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.
- 如果使用USB接口,按系统提示进行自动检测打印机,如果通过LPT端口,请跳过此步,因为系统无法自动检测大部份的LPT端口打印机.
Nearly all USB printers and some LPT printers are autodetected. The autodetected printers are listed under "Use a detected printer".
基本上所有的通过USB连接的打印机都可以自动检测出来,还有小部份LPT端口连接的打印机也可以自动检测出.检测结果将会在”使用检测到的打印机"中列出。
attachment:AddUSBPrinter1.png
5. Follow this step for Parallel port printers that can't be autodetected.
- 安装无法自动检测出来的打印机.
attachment: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!
如上图,选择“使用指定端口的另外一台打印机",可以选择下拉列表中的"并行口#1" 或"并行口#2",不要选择"Canon"和"Epson",因为这是为这两个品牌打印机专用的。
6. Select "Forward".
- 点击“前进”
7. Your Printer Model and the recommended driver for it are preselected.
- 选择您的打印机型号
attachment: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.
- 点击“应用”,您的打印机即被成功添加。
attachment: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, ...
在“纸张”和“高级”两个标签中, 您可以按您的实际情况进行一些设置,比如纸张的大小格规,打印质量,分辨率,打印介质等;
attachment: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
- 文章来源:官方WIKI
翻译人员:雕啸长空 purewind(一点点)
校对人员:purewind
文章状态:完成
