Hello, now I have a system running with HPLIP 1.7.1 where hp-setup always fails with:
error: Printer queue setup failed.Please restart CUPS and try again. This error happens when I click "Next" on those hp-setup screen where the queue name (and location and description) is shown. This mail is very long - I hope I provided sufficient info for your debugging because my problem is that I don't find any useful log message which points out what the actual reason is. Feel free to ask me any question because on this system I can reproduce this error in any case. For me it seems hp-setup does not set up a queue at all and then fails because there is no queue. Reason: I don't see any matching message in /var/log/cups/error_log and there is no entry at all in /var/log/cups/access_log when hp-setup should set up the new queue. On the other hand hp-setup does re-start the cupsd without asking for any user confirmation which is a bad idea because in particular on a print server this means that all currently printing jobs are stopped and after the re-start they will be re-printed again from the beginning (think about a 1000 pages print job which gets stopped at page 900 - all already printed 900 pages will be re-printed again). I run the HPLIP 1.7.1 RPMs from http://software.opensuse.org/download/home:/jsmeix/SLE_10/x86_64/ on a Suse Linux Enterprise Desktop 10 system with CUPS 1.1.23 on 64-bit AMD hardware. Now what I did: # rccups stop Shutting down cupsd done # rchplip stop Stopping hpiod: [ OK ] Stopping hpssd: [ OK ] # rchplip start Starting hpiod: [ OK ] Starting hpssd: [ OK ] # rccups start Starting cupsd done # lpstat -r scheduler is running I don't have any local print queue. I have "LogLevel debug2" in /etc/cups/cupsd.conf # echo 'TEST: before hp-setup -g' >>/var/log/cups/error_log # hp-setup -g ----------------------------------------------------------------- HP Linux Imaging and Printing System (ver. 1.7.1) Printer/Fax Setup Utility ver. 4.3 Copyright (c) 2003-6 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. hp-setup[23176]: debug: ******************** showPage(ConnectionPage) ******************** hp-setup[23176]: debug: --> ConnectionPage hp-setup[23176]: debug: ******************** showPage(ProbedDevicesPage) ******************** hp-setup[23176]: debug: ConnectionPage --> ProbedDevicesPage hp-setup[23176]: debug: Updating probed devices list... hp-setup[23176]: debug: usb hp-setup[23176]: debug: (xmit) Sending data on channel (7) hp-setup[23176]: debug: 'msg=probedevices\nbus=usb\n' hp-setup[23176]: debug: (xmit) Reading data on channel (7) hp-setup[23176]: debug: 'msg=ProbeDevicesResult\nresult-code=0\nnum-devices=2\nlength=372\ndata:\ndirect hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX "HP LaserJet 1220" "HP LaserJet 1220 USB 00XXXXXXXXXX HPLIP" "MFG:HP;MDL:HP LaserJet 1220;CLS:PRINTER;DES:HP LaserJet 1220;SN:00XXXXXXXXXX;"\ndirect hp:/usb/deskjet_3320?serial=TH27T2H35B35 "HP deskjet 3320" "HP deskjet 3320 USB TH27T2H35B35 HPLIP" "MFG:HP;MDL:deskjet 3320;CLS:PRINTER;DES:deskjet 3320;SN:TH27T2H35B35;"\n' hp-setup[23176]: debug: hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX hp-setup[23176]: debug: Cache miss: hp_laserjet_1220 hp-setup[23176]: debug: Reading file: /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: Searching for section [hp_laserjet_1220] in file /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: Found section [hp_laserjet_1220] in file /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: hp:/usb/deskjet_3320?serial=TH27T2H35B35 hp-setup[23176]: debug: Cache miss: deskjet_3320 hp-setup[23176]: debug: Reading file: /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: Searching for section [deskjet_3320] in file /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: Found section [deskjet_3320] in file /usr/share/hplip/data/models/models.dat hp-setup[23176]: debug: {'hp:/usb/deskjet_3320?serial=TH27T2H35B35': ('HP deskjet 3320', 'HP deskjet 3320 USB TH27T2H35B35 HPLIP', 'MFG:HP;MDL:deskjet 3320;CLS:PRINTER;DES:deskjet 3320;SN:TH27T2H35B35;'), 'hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX': ('HP LaserJet 1220', 'HP LaserJet 1220 USB 00XXXXXXXXXX HPLIP', 'MFG:HP;MDL:HP LaserJet 1220;CLS:PRINTER;DES:HP LaserJet 1220;SN:00XXXXXXXXXX;')} hp-setup[23176]: debug: {'copy-type': 0, 'scan-type': 0, 'fax-type': 0, 'model3': 'Deskjet 3323', 'model2': 'Deskjet 3320v', 'model1': 'Deskjet 3320', 'tech-type': 2, 'support-ver': '0.9.5', 'io-support': 2, 'pcard-type': 0, 'io-mode': 1, 'r0-agent1-sku': '27 (C8727A)', 'color-cal-type': 0, 'support-released': 1, 'r0-agent2-sku': '28 (C8728A)', 'fw-download': 0, 'clean-type': 2, 'panel-check-type': 0, 'tech-class': 'DJ3320', 'r0-agent2-type': 2, 'support-type': 2, 'pq-diag-type': 0, 'io-scan-port': 0, 'align-type': 4, 'r-type': 0, 'icon': 'deskjet_3320.png', 'status-dynamic-counters': 0, 'status-battery-check': 0, 'r0-agent1-type': 1, 'scan-style': 0, 'linefeed-cal-type': 0, 'status-type': 2, 'io-mfp-mode': 2, 'embedded-server-type': 0, 'r0-agent2-kind': 3, 'io-control': 0, 'r0-agent1-kind': 3} hp-setup[23176]: debug: hp:/usb/deskjet_3320?serial=TH27T2H35B35 hp-setup[23176]: debug: ******************** showPage(PPDPage) ******************** hp-setup[23176]: debug: ProbedDevicesPage --> PPDPage hp-setup[23176]: debug: Searching for PPDs in: /usr/share/cups/model/manufacturer-PPDs/hplip hp-setup[23176]: debug: 1st stage edit distance match hp-setup[23176]: debug: Min. dist = 0 hp-setup[23176]: debug: ['/usr/share/cups/model/manufacturer-PPDs/hplip/HP-DeskJet_3320-hpijs.ppd.gz'] hp-setup[23176]: debug: ['/usr/share/cups/model/manufacturer-PPDs/hplip/HP-DeskJet_3320-hpijs.ppd.gz'] hp-setup[23176]: debug: /usr/share/cups/model/manufacturer-PPDs/hplip/HP-DeskJet_3320-hpijs.ppd.gz hp-setup[23176]: debug: ******************** showPage(PrinterNamePage) ******************** hp-setup[23176]: debug: PPDPage --> PrinterNamePage hp-setup[23176]: debug: {} hp-setup[23176]: debug: ******************** showPage(FinishedPage) ******************** hp-setup[23176]: debug: PrinterNamePage --> FinishedPage hp-setup[23176]: debug: Restarting CUPS... hp-setup[23176]: debug: Shutting down cupsd done Starting cupsd done hp-setup[23176]: debug: Restart CUPS returned: exit=0 output=Shutting down cupsd done Starting cupsd done hp-setup[23176]: debug: {} error: Printer queue setup failed.Please restart CUPS and try again. Done. ----------------------------------------------------------------- I did # echo 'TEST: right before hp-setup shows error' >>/var/log/cups/error_log and # echo 'TEST: right after hp-setup shows error' >>/var/log/cups/error_log and # echo 'TEST: after hp-setup -g' >>/var/log/cups/error_log and the resulting /var/log/cups/error_log is ------------------------------------------------------------------ TEST: before hp-setup -g 0100] AcceptClient(lis=0x555555696f60) 0 NumClients = 0 D [12/Feb/2007:14:05:13 +0100] AcceptClient: 4 from localhost:631. d [12/Feb/2007:14:05:13 +0100] AcceptClient: Adding fd 4 to InputSet... d [12/Feb/2007:14:05:13 +0100] ReadClient: 4, used=0, file=-1 D [12/Feb/2007:14:05:13 +0100] ReadClient: 4 POST / HTTP/1.1 d [12/Feb/2007:14:05:13 +0100] decode_auth(0x2ab058c01010): Authorization string = "" d [12/Feb/2007:14:05:13 +0100] decode_auth: 4 username="" d [12/Feb/2007:14:05:13 +0100] IsAuthorized: con->uri = "/" d [12/Feb/2007:14:05:13 +0100] FindBest: uri = "/"... d [12/Feb/2007:14:05:13 +0100] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [12/Feb/2007:14:05:13 +0100] FindBest: Location / Limit 7f d [12/Feb/2007:14:05:13 +0100] FindBest: Location /admin Limit 7f d [12/Feb/2007:14:05:13 +0100] FindBest: best = "/" d [12/Feb/2007:14:05:13 +0100] IsAuthorized: auth = 0, satisfy=0... d [12/Feb/2007:14:05:13 +0100] POST / d [12/Feb/2007:14:05:13 +0100] CONTENT_TYPE = application/ipp d [12/Feb/2007:14:05:13 +0100] ReadClient: 4 con->data_encoding = length, con->data_remaining = 239, con->file = -1 d [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest(0x2ab058c01010[4]): operation_id = 4002 d [12/Feb/2007:14:05:13 +0100] get_printers(0x2ab058c01010[4], 0) D [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest: 4 status_code=1 d [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest: Adding fd 4 to OutputSet... d [12/Feb/2007:14:05:13 +0100] WriteClient: Removing fd 4 from OutputSet... d [12/Feb/2007:14:05:13 +0100] AcceptClient(lis=0x555555696f60) 0 NumClients = 1 D [12/Feb/2007:14:05:13 +0100] AcceptClient: 6 from localhost:631. d [12/Feb/2007:14:05:13 +0100] AcceptClient: Adding fd 6 to InputSet... d [12/Feb/2007:14:05:13 +0100] ReadClient: 6, used=0, file=-1 D [12/Feb/2007:14:05:13 +0100] ReadClient: 6 POST / HTTP/1.1 d [12/Feb/2007:14:05:13 +0100] decode_auth(0x2ab058c03c90): Authorization string = "" d [12/Feb/2007:14:05:13 +0100] decode_auth: 6 username="" d [12/Feb/2007:14:05:13 +0100] IsAuthorized: con->uri = "/" d [12/Feb/2007:14:05:13 +0100] FindBest: uri = "/"... d [12/Feb/2007:14:05:13 +0100] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [12/Feb/2007:14:05:13 +0100] FindBest: Location / Limit 7f d [12/Feb/2007:14:05:13 +0100] FindBest: Location /admin Limit 7f d [12/Feb/2007:14:05:13 +0100] FindBest: best = "/" d [12/Feb/2007:14:05:13 +0100] IsAuthorized: auth = 0, satisfy=0... d [12/Feb/2007:14:05:13 +0100] POST / d [12/Feb/2007:14:05:13 +0100] CONTENT_TYPE = application/ipp d [12/Feb/2007:14:05:13 +0100] ReadClient: 6 con->data_encoding = length, con->data_remaining = 239, con->file = -1 d [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest(0x2ab058c03c90[6]): operation_id = 4002 d [12/Feb/2007:14:05:13 +0100] get_printers(0x2ab058c03c90[6], 0) D [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest: 6 status_code=1 d [12/Feb/2007:14:05:13 +0100] ProcessIPPRequest: Adding fd 6 to OutputSet... d [12/Feb/2007:14:05:13 +0100] WriteClient: Removing fd 6 from OutputSet... d [12/Feb/2007:14:05:14 +0100] select_timeout: 253 seconds to update root certificate TEST: right before hp-setup shows error shutting down normally. D [12/Feb/2007:14:06:26 +0100] CloseClient: 4 d [12/Feb/2007:14:06:26 +0100] CloseClient: Removing fd 4 from InputSet and OutputSet... D [12/Feb/2007:14:06:26 +0100] CloseClient: 6 d [12/Feb/2007:14:06:26 +0100] CloseClient: Removing fd 6 from InputSet and OutputSet... D [12/Feb/2007:14:06:26 +0100] StopListening: closing all listen sockets. D [12/Feb/2007:14:06:26 +0100] PauseListening: clearing input bits... d [12/Feb/2007:14:06:26 +0100] PauseListening: Removing fd 0 from InputSet... d [12/Feb/2007:14:06:26 +0100] StopServer: Removing fd 2 from InputSet... I [12/Feb/2007:14:06:26 +0100] Listening to 0:631 D [12/Feb/2007:14:06:26 +0100] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL' D [12/Feb/2007:14:06:26 +0100] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow @LOCAL D [12/Feb/2007:14:06:26 +0100] DenyIP: CUPS_INTERNAL_BROWSE_ACL deny 00000000/00000000 D [12/Feb/2007:14:06:26 +0100] AddLocation: added location '/' D [12/Feb/2007:14:06:26 +0100] DenyIP: / deny 00000000/00000000 D [12/Feb/2007:14:06:26 +0100] AllowIP: / allow 7f000001/ffffffff D [12/Feb/2007:14:06:26 +0100] AllowIP: / allow 7f000002/ffffffff D [12/Feb/2007:14:06:26 +0100] AllowHost: / allow @LOCAL D [12/Feb/2007:14:06:26 +0100] AddLocation: added location '/admin' D [12/Feb/2007:14:06:26 +0100] DenyIP: /admin deny 00000000/00000000 D [12/Feb/2007:14:06:26 +0100] AllowIP: /admin allow 7f000001/ffffffff I [12/Feb/2007:14:06:26 +0100] Loaded configuration file "/etc/cups/cupsd.conf" I [12/Feb/2007:14:06:26 +0100] Configured for up to 100 clients. I [12/Feb/2007:14:06:26 +0100] Allowing up to 100 client connections per host. I [12/Feb/2007:14:06:26 +0100] Full reload is required. D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "smb"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "parallel:/dev/lp0"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "parallel:/dev/lp1"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "parallel:/dev/lp2"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "http"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "ipp"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "lpd"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "scsi"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "socket"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb://hp/deskjet%203320?serial=TH27T2H35B35"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb://HP/LaserJet%201220"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp2"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp3"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp4"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp5"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp6"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp7"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp8"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp9"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp10"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp11"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp12"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp13"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp14"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "usb:/dev/usblp15"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "beh"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "hal:///org/freedesktop/Hal/devices/usb_device_3f0_417_00XXXXXXXXXX_if0_printer_noserial"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "hal:///org/freedesktop/Hal/devices/usb_device_3f0_7004_TH27T2H35B35_if0_printer_TH27T2H35B35"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "pipe"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX"... D [12/Feb/2007:14:06:26 +0100] LoadDevices: Added device "hp:/usb/deskjet_3320?serial=TH27T2H35B35"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "canon:/dev/lp0"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "canon:/dev/lp1"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "canon:/dev/lp2"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "epson:/dev/lp0"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "epson:/dev/lp1"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "epson:/dev/lp2"... D [12/Feb/2007:14:06:27 +0100] LoadDevices: Added device "hpfax:/no_device_found"... I [12/Feb/2007:14:06:27 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 4330 PPDs... I [12/Feb/2007:14:06:27 +0100] LoadPPDs: No new or changed PPDs... D [12/Feb/2007:14:06:27 +0100] LoadAllJobs: Scanning /var/spool/cups... I [12/Feb/2007:14:06:27 +0100] Full reload complete. D [12/Feb/2007:14:06:27 +0100] StartListening: NumListeners=1 D [12/Feb/2007:14:06:27 +0100] StartListening: address=00000000 port=631 D [12/Feb/2007:14:06:27 +0100] ResumeListening: setting input bits... d [12/Feb/2007:14:06:27 +0100] ResumeListening: Adding fd 0 to InputSet... d [12/Feb/2007:14:06:27 +0100] StartServer: Adding fd 2 to InputSet... d [12/Feb/2007:14:06:27 +0100] AddCert: adding certificate for pid 0 d [12/Feb/2007:14:06:28 +0100] select_timeout: 300 seconds to update root certificate TEST: right after hp-setup shows error TEST: after hp-setup -g ------------------------------------------------------------------ I can set up both printers via CUPS command line tools and then they print well: # lpinfo -v | grep hp direct hp:/usb/deskjet_3320?serial=TH27T2H35B35 direct hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX direct hpfax:/no_device_found direct usb://hp/deskjet%203320?serial=TH27T2H35B35 # lpinfo -m | grep hpijs | egrep '1220|3325' manufacturer-PPDs/hplip/HP-DeskJet_3325-hpijs.ppd.gz HP DeskJet 3325 Foomatic/hpijs (recommended) manufacturer-PPDs/hplip/HP-LaserJet_1220-hpijs.ppd.gz HP LaserJet 1220 Foomatic/hpijs # lpadmin -p dj3320 -v hp:/usb/deskjet_3320?serial=TH27T2H35B35 -P /usr/share/cups/model/manufacturer-PPDs/hplip/HP-DeskJet_3325-hpijs.ppd.gz -E # lpadmin -p lj1220 -v hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX -P /usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_1220-hpijs.ppd.gz -E # lpstat -p printer dj3320 is idle. enabled since Jan 01 00:00 printer lj1220 is idle. enabled since Jan 01 00:00 # for q in dj3320 lj1220 ; do echo $q | lp -d $q ; done request id is dj3320-1 (1 file(s)) request id is lj1220-2 (1 file(s)) # lpstat -p printer dj3320 now printing dj3320-1. enabled since Jan 01 00:00 printer lj1220 now printing lj1220-2. enabled since Jan 01 00:00 printmode mismatch with pen, tray, etc. # lpstat -p printer dj3320 is idle. enabled since Jan 01 00:00 ready to print printer lj1220 is idle. enabled since Jan 01 00:00 ready to print For completeness the 'hp-check -g' output below which shows another problem: hp-check checks for compile-time requirements (e.g. header files and a C compiler) but im my case (have RPMs installed) I need only run-time requirements (e.g. libraries) but only in debug mode it becomes clear what the result of a check for a compile-time requirement is and what for a run-time requirement check. Therefore I suggest to provide an additional switch to let hp-check show only run-time requirements. I think that hp-check may not check for compile-time requirements at all because this could be done only by the configure script. As far as I see, all run-time requirements seem to be fullfilled on my system. # hp-check -g (shortened at [...] - removed long listings of 'ps' and libraries) ----------------------------------------------------------------------- HP Linux Imaging and Printing System (ver. 1.7.1) Dependency/Version Check Utility ver. 5.2 Copyright (c) 2003-6 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. --------------- | SYSTEM INFO | --------------- Basic system information: hp-check[23455]: debug: Linux caps 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux Linux caps 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux Detected distro (/etc/issue): hp-check[23455]: debug: Distributor ID: SUSE LINUX hp-check[23455]: debug: Release: 10 hp-check[23455]: debug: Codename: n/a suse 10 Detected distro (lsb_release): hp-check[23455]: debug: Distributor ID: SUSE LINUX hp-check[23455]: debug: Release: 10 hp-check[23455]: debug: Codename: n/a SUSE LINUX 10 (n/a) Currently installed HPLIP version... HPLIP 1.7.1 currently installed in '/usr/share/hplip'. Current contents of '/etc/hp/hplip.conf' file: # hplip.conf [hpiod] # port=0 (dynamic IP port) port=2208 [hpssd] # port=0 (dynamic IP port) port=2207 [hplip] version=1.7.1 jdprobe=0 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/cups/model/manufacturer-PPDs/hplip doc=/usr/share/doc/packages/hplip # Following values are determined at configure time and cannot be changed. [configure] network-build=1 pp-build=1 gui-build=1 scanner-build=1 fax-build=1 installinitd=/usr/lib/lsb/install_initd chkconfig=/sbin/chkconfig internal-tag=1.7.1.5 HPLIP running? hp-check[23455]: debug: Checking for HPLIP running... hp-check[23455]: debug: Searching any process(es) '['hpssd']' in 'ps' output... [...] hp-check[23455]: debug: '23124 ? S 0:00 python ./hpssd.py' found. hp-check[23455]: debug: Searching any process(es) '['hpiod']' in 'ps' output... [...] hp-check[23455]: debug: '23120 ? Ss 0:00 ./hpiod' found. Yes, HPLIP is running (OK). HPOJ running? hp-check[23455]: debug: Checking for 'HPOJ'... hp-check[23455]: debug: Searching any process(es) '['ptal-mlcd', 'ptal-printd', 'ptal-photod']' in 'ps' ou tput... [...] hp-check[23455]: debug: Process not found. No, HPOJ is not running (OK). Checking Python version... hp-check[23455]: debug: sys.version_info = (2, 4, 2, 'final', 0) OK, version 2.4.2 installed Checking PyQt version... OK, version 3.14 installed. Checking SIP version... OK, Version 4.2.1 installed ---------------- | DEPENDENCIES | ---------------- hp-check[23455]: debug: 1304 libs found in cache `/etc/ld.so.cache' [...] hp-check[23455]: debug: *** Checking for dependency libcrypto - OpenSSL cryptographic library... hp-check[23455]: debug: Checking for library 'libcrypto'... hp-check[23455]: debug: Found. hp-check[23455]: debug: Searching for file 'crypto.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency gcc - GNU Project C and C++ Compiler... hp-check[23455]: debug: Checking: gcc --version (min ver=0.000000) hp-check[23455]: debug: Not found! error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency SANE - Scanning library... hp-check[23455]: debug: Checking for library 'libsane'... hp-check[23455]: debug: Found. OK, found. hp-check[23455]: debug: *** Checking for dependency GhostScript - PostScript and PDF language interpreter and previewer... hp-check[23455]: debug: Checking: gs -v (min ver=7.050000) hp-check[23455]: debug: ESP Ghostscript 8.15.1 (2005-09-22) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. hp-check[23455]: debug: ESP Ghostscript 8.15.1 (2005-09-22) hp-check[23455]: debug: Ver=8.150000 Min ver=7.050000 OK, found. hp-check[23455]: debug: *** Checking for dependency libjpeg - JPEG library... hp-check[23455]: debug: Checking for library 'libjpeg'... hp-check[23455]: debug: Found. hp-check[23455]: debug: Searching for file 'jpeglib.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency libpthread - POSIX threads library... hp-check[23455]: debug: Checking for library 'libpthread'... hp-check[23455]: debug: Found. hp-check[23455]: debug: Searching for file 'pthread.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency make - GNU make utility to maintain groups of programs... hp-check[23455]: debug: Checking: make --version (min ver=3.000000) hp-check[23455]: debug: GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. hp-check[23455]: debug: GNU Make 3.80 hp-check[23455]: debug: Ver=3.800000 Min ver=3.000000 OK, found. hp-check[23455]: debug: *** Checking for dependency python-devel - Python development files... hp-check[23455]: debug: Searching for file 'Python.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency Reportlab - PDF library for Python... hp-check[23455]: debug: Trying to import 'reportlab'... hp-check[23455]: debug: Failed. error: Not found! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. hp-check[23455]: debug: *** Checking for dependency PyQt - Qt interface for Python... hp-check[23455]: debug: PYQT_VERSION_STR = 3.14.1 hp-check[23455]: debug: Version 3.14.1 installed. OK, found. hp-check[23455]: debug: *** Checking for dependency cups-devel- Common Unix Printing System development files... hp-check[23455]: debug: Searching for file 'cups.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency ppdev - Parallel port support kernel module.... [...] error: Not found! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. hp-check[23455]: debug: *** Checking for dependency libusb - USB library... hp-check[23455]: debug: Checking for library 'libusb'... hp-check[23455]: debug: Found. hp-check[23455]: debug: Searching for file(s) 'usb.h' under '/usr/include'... hp-check[23455]: debug: /usr/include/usb.h hp-check[23455]: debug: Found files: ['/usr/include/usb.h'] hp-check[23455]: debug: Checking file '/usr/include/usb.h' for contents 'usb_init(void)'... hp-check[23455]: debug: 'usb_init(void)' found in file '/usr/include/usb.h'. OK, found. hp-check[23455]: debug: *** Checking for dependency scanimage - Shell scanning program... hp-check[23455]: debug: Checking: scanimage --version (min ver=1.000000) hp-check[23455]: debug: scanimage (sane-backends) 1.0.17; backend version 1.0.17 hp-check[23455]: debug: scanimage (sane-backends) 1.0.17; backend version 1.0.17 hp-check[23455]: debug: Ver=1.000000 Min ver=1.000000 OK, found. hp-check[23455]: debug: *** Checking for dependency libnetsnmp-devel - SNMP networking library development files... hp-check[23455]: debug: Checking for library 'libnetsnmp'... hp-check[23455]: debug: Found. hp-check[23455]: debug: Searching for file 'net-snmp-config.h' under '/usr/include'... hp-check[23455]: debug: File not found. error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. hp-check[23455]: debug: *** Checking for dependency Python 2.2 or greater - Python programming language... hp-check[23455]: debug: Python ver=2.4 OK, found. hp-check[23455]: debug: *** Checking for dependency LSB - Linux Standard Base support... hp-check[23455]: debug: Searching for file 'install_initd' under '/usr/lib/lsb'... hp-check[23455]: debug: File found at '/usr/lib/lsb/install_initd' OK, found. hp-check[23455]: debug: *** Checking for dependency xsane - Graphical scanner frontend for SANE... hp-check[23455]: debug: Checking: xsane --version (min ver=0.900000) hp-check[23455]: debug: xsane-0.99 (c) 1998-2005 Oliver Rauch E-mail: [EMAIL PROTECTED] package xsane-0.99 compiled with GTK-2.8.10 with GIMP support, compiled with GIMP-2.2.10 XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.), tiff, txt hp-check[23455]: debug: xsane-0.99 (c) 1998-2005 Oliver Rauch hp-check[23455]: debug: Ver=0.990000 Min ver=0.900000 OK, found. hp-check[23455]: debug: *** Checking for dependency cups - Common Unix Printing System... hp-check[23455]: debug: scheduler is running hp-check[23455]: debug: CUPS is running. OK, found. hp-check[23455]: debug: *** Checking for dependency Python 2.3 or greater - Required for fax functionality... hp-check[23455]: debug: Python ver=2.4 OK, found. ---------------------- | INSTALLED PRINTERS | ---------------------- hp-check[23455]: debug: device for dj3320: hp:/usb/deskjet_3320?serial=TH27T2H35B35 device for lj1220: hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX dj3320 ------ Device URI: hp:/usb/deskjet_3320?serial=TH27T2H35B35 Installed in HPLIP? Yes PPD: /etc/cups/ppd/dj3320.ppd PPD Description: HP DeskJet 3325 Foomatic/hpijs (recommended) hp-check[23455]: debug: printer dj3320 is idle. enabled since Jan 01 00:00 ready to print Printer status: printer dj3320 is idle. enabled since Jan 01 00:00 ready to print lj1220 ------ Device URI: hp:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX Installed in HPLIP? Yes PPD: /etc/cups/ppd/lj1220.ppd PPD Description: HP LaserJet 1220 Foomatic/hpijs hp-check[23455]: debug: printer lj1220 is idle. enabled since Jan 01 00:00 ready to print Printer status: printer lj1220 is idle. enabled since Jan 01 00:00 ready to print ---------------------- | SANE CONFIGURATION | ---------------------- 'hpaio' in /etc/sane.d/dll.conf'... OK, found. SANE backend 'hpaio' is properly set up. Checking output of 'scanimage -L'... hp-check[23455]: debug: No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). --------------------- | PYTHON EXTENSIONS | --------------------- Checking 'cupsext' CUPS extension... OK, found. Checking 'pcardext' Photocard extension... OK, found. 9 errors were detected. Please refer to the installation instructions at: http://hplip.sourceforge.net/install/index.html ----------------------------------------------------------------------- After enabling "hpaio" in /etc/sane.d/dll.conf also the scanner unit of my LaserJet 1220 works: # scanimage -L device `hpaio:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX' is a Hewlett-Packard HP_LaserJet_1220 all-in-one # scanimage -d hpaio:/usb/HP_LaserJet_1220?serial=00XXXXXXXXXX -T scanimage: scanning image of size 856x1500 pixels at 24 bits/pixel scanimage: acquiring RGB frame, 8 bits/sample scanimage: reading one scanline, 2568 bytes... FAIL No data scanimage: reading one byte... FAIL No data scanimage: stepped read, 2 bytes... FAIL No data scanimage: stepped read, 4 bytes... FAIL No data scanimage: stepped read, 8 bytes... FAIL No data scanimage: stepped read, 16 bytes... FAIL No data scanimage: stepped read, 32 bytes... FAIL No data scanimage: stepped read, 64 bytes... FAIL No data scanimage: stepped read, 128 bytes... FAIL No data scanimage: stepped read, 256 bytes... FAIL No data scanimage: stepped read, 512 bytes... FAIL No data scanimage: stepped read, 1024 bytes... FAIL No data scanimage: stepped read, 2048 bytes... FAIL No data scanimage: stepped read, 4096 bytes... FAIL No data scanimage: stepped read, 4095 bytes... FAIL No data scanimage: stepped read, 2047 bytes... FAIL No data scanimage: stepped read, 1023 bytes... PASS scanimage: stepped read, 511 bytes... PASS scanimage: stepped read, 255 bytes... PASS scanimage: stepped read, 127 bytes... PASS scanimage: stepped read, 63 bytes... PASS scanimage: stepped read, 31 bytes... PASS scanimage: stepped read, 15 bytes... PASS scanimage: stepped read, 7 bytes... PASS scanimage: stepped read, 3 bytes... PASS # echo $? 0 Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) 90409 Nuernberg, Germany WWW: http://www.novell.com/linux/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ HPLIP-Help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hplip-help
