惠普打印机 deskjet 2050 J510
1. 安裝 hplip 套件
sudo apt-get install hplip
2. 會同時安裝其相依套件 CUPS
https://help.ubuntu.com/13.10/serverguide/cups.html
2-1. CUPS : The primary mechanism for Ubuntu printing and print services is the Common UNIX Printing System (CUPS). This printing system is a freely available, portable printing layer which has become the new standard for printing in most Linux distributions.
補充
hplip : HP Linux Printing and Imaging System (HPLIP)
The HP Linux Printing and Imaging System provides full support for
printing on most HP SFP (single function peripheral) inkjets and many
LaserJets, and for scanning, sending faxes and for photo-card access on
most HP MFP (multi-function peripheral) printers.
HPLIP is composed of:
* System services to handle communications with the printers
* HP CUPS backend driver (hp:) with bi-directional communication with
HP printers (provides printer status feedback to CUPS and enhanced
HPIJS functionality such as 4-side full-bleed printing support)
* HP CUPS backend driver for sending faxes (hpfax:)
* hpcups CUPS Raster driver to turn rasterized input from the CUPS
filter chain into the printer's native format (PCL, LIDIL, ...).
(hpcups is shipped in a separate package)
* HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm)
files or from any other input format supported by Ghostscript, and
also for PostScript(tm) to fax conversion support
(HPIJS is shipped in a separate package)
* Command line utilities to perform printer maintenance, such as
ink-level monitoring or pen cleaning and calibration
* GUI and command line utility to download data from the photo card
interfaces in MFP devices
* GUI and command line utilities to interface with the fax functions
* A GUI toolbox to access all these functions in a friendly way
* HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder
(ADF) scanning using MFP devices
USB, JetDirect (network) and parallel-port devices are supported.
打印网页的时候显示错误提示请确定打印机可以访问
從 web-browser 例如 firefox 或 chrome 或 chromium 測試
http://Printer-server-IP:631
1. 如果是從 安裝 printer 那一臺電腦
Printer-server-IP : 127.0.0.1
1-1. 631 端口需要從防火牆開啓
2. 如果是從 安裝 printer 那一臺電腦的區網的另一臺電腦
Printer-server-IP : Printer-server 的 區網 IP