Ao tentar utilizar no Slackware64 uma HP LaserJet P1005 notei que a impressora não funciona (nem mesmo configurada corretamente, utilizando cups + hplip ou cups + foo2xqx).
Segundo a própria HP, através do HPLIP e o projeto OpenPrinting/LinuxPrinting a impressora funciona no Linux, ou seja, não deveria apresentar problemas de compatibilidade, mas como erro ao tentar imprimir sempre recebo o seguinte log:
E [...] (/usr/lib64/cups/filter/foomatic-rip-hplip) stopped with status 3!
A impressora e a comunicação estão em ordem:
usb 2-1.6: new high speed USB device using ehci_hcd and address 6 usb 2-1.6: New USB device found, idVendor=03f0, idProduct=3d17 usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1.6: Product: HP LaserJet P1005 usb 2-1.6: Manufacturer: Hewlett-Packard usb 2-1.6: SerialNumber: xxxxxxx usb 2-1.6: configuration #1 chosen from 1 choice usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Ao executar o hp-info:
$ hp-info -i HP Linux Imaging and Printing System (ver. 3.9.4b) Device Information Utility ver. 5.2 Copyright (c) 2001-9 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/HP_LaserJet_P1005?serial=xxxxx hp:/usb/HP_LaserJet_P1005?serial=xxxxx Device Parameters (dynamic data): Parameter Value(s) ---------------------------- -------------------------------------------------- back-end hp cups-printer HP_LaserJet_P1005 cups-uri hp:/usb/HP_LaserJet_P1005?serial=xxxxx [...] device-uri hp:/usb/HP_LaserJet_P1005?serial=xxxxx [...]
Após alguma pesquisa notei que sempre recomendam utilizar o "XQX Stream Protocol" (http://foo2xqx.rkkda.com), mas no Slackware64 também não funcionou!
Tentei também utilizando as ferramentas do próprio HPLIP (http://hplipopensource.com/hplip-web/install/manual/hp_setup.html), mas nada da impressora dar sinal de vida!
Então resolvi deixar de lado a interface gráfica e seus assistentes (HPLIP) e ver no que dava, testei hp-setup, hp-firmware, reinstalar o foo2xqx, etc e nada, MAS ao executar o hp-plugin em modo interativo:
# hp-plugin -i HP Linux Imaging and Printing System (ver. 3.9.4b) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-9 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. (Note: Defaults for each question are maked with a '*'. Pressto accept the default.) / ----------------------------------------- | PLUG-IN INSTALLATION FOR HPLIP 3.9.4b | ----------------------------------------- Option Description ---------- -------------------------------------------------- d Download plug-in from HP (recomended) p Specify a path to the plug-in (advanced) q Quit hp-plugin (skip installation) Enter option (d=download*, p=specify path, q=quit) ? d -------------------------- | DOWNLOAD CONFIGURATION | -------------------------- Checking for network connection... Downloading configuration file from: http://hplip.sf.net/plugin.conf Downloading configuration: [**********************************************************************************************] 100% 8.0 KB ------------------- | DOWNLOAD PLUGIN | ------------------- Checking for network connection... Downloading plug-in from: http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hp... Downloading plug-in: [****************************************************************************************************] 100% 8.0 KB Receiving digital keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x9013c005 ---------------------- | INSTALLING PLUG-IN | ---------------------- Verifying archive integrity... All good. Uncompressing HPLIP 3.9.4b Plugin Self Extracting Archive................................ HP Linux Imaging and Printing System (ver. 3.9.4b) Plugin Installer ver. 3.0 Copyright (c) 2001-9 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. Plug-in version: 3.9.4b Installed HPLIP version: 3.9.4b Number of files to install: 27 You must agree to the license terms before installing the plug-in: LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in [...] Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y Done. ------------------------ | DOWNLOADING FIRMWARE | ------------------------ Downloading firmware to device hp:/usb/HP_LaserJet_P1005?serial=xxxxxx... Firmware download successful. Done.
Em seguida foi só mandar os arquivos p/ a impressora utilizando o que já havia configurado com o CUPS que ela funcionou! Ou seja, sem foo2xqx, sem hp-setup, só executando o hp-plugin.


