Diego,

Can you set the /etc/cups/cupsd.conf loglevel to "debug" restart cups, 
then do tail -f /var/log/cups/error_log.

After which, do the hp-setup -a again and if you still get the error 
post the error_log.

Thanks!

Aaron

Diego Padula wrote:
> hplip 1.6.6a compiled and installed well (with --disable-network_build) 
> but I am having a problem with hp-setup. I can print with cups 1.1.23 on 
> /dev/usb/lp0 and I restarted hplip and cups ok.
> 
> I am trying to do:
> 
> #  hp-setup -a
> 
> HP Linux Imaging and Printing System (ver. 1.6.6a)
> Printer/Fax Setup Utility ver. 2.1
> 
> 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.
> 
> Using device: hp:/usb/PSC_1400_series?serial=CN53AV214304BN
> 
> Setting up device: hp:/usb/PSC_1400_series?serial=CN53AV214304BN
> 
> 
> warning: Cannot setup fax - device does not have fax feature.
> 
> PRINT QUEUE SETUP
> Using queue name: PSC_1400
> 
> Found a possible PPD file: /usr/share/ppd/HP/HP-PSC_1400-hpijs.ppd.gz
> 
> Adding print queue to CUPS:
> Device URI: hp:/usb/PSC_1400_series?serial=CN53AV214304BN
> Queue name: PSC_1400
> PPD file: /usr/share/ppd/HP/HP-PSC_1400-hpijs.ppd.gz
> Location:
> Information: Automatically setup by HPLIP
> error: Printer queue setup failed. Please restart CUPS and try again.
> 
> 
> and meanwhile I get:
> 
> # python ./hpssd.py -g
> 
> HP Linux Imaging and Printing System (ver. 1.6.6a)
> Services and Status Daemon ver. 7.5
> 
> 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.
> 
> hpssd[31269]: debug: port=38441
> Listening on localhost:38441
> hpssd[31269]: debug: Starting async loop...
> 
> hpssd[31269]: debug: Connected to client: 127.0.0.1:46102 (4)
> hpssd[31269]: debug: Connected to client: 127.0.0.1:46103 (4)
> hpssd[31269]: debug: Reading data on channel (10)
> hpssd[31269]: debug: 
> 'msg=probedevicesfiltered\nfilter=none\nbus=cups,par,usb\nformat=cups\ntimeout=5\nttl=4\n'
> hpssd[31269]: debug: Handling: ******************** probedevicesfiltered 
> ********************
> hpssd[31269]: debug: 
> 'msg=probedevicesfiltered\nfilter=none\nbus=cups,par,usb\nformat=cups\ntimeout=5\nttl=4\n'
> hpssd[31269]: debug: Exception: 4 (Unknown/invalid device-uri field)
> warning: Inrecognized URI: usb:/dev/usb/lp0
> hpssd[31269]: debug: par
> hpssd[31269]: debug: Connecting to hpiod (localhost:50881)...
> hpssd[31269]: debug: (xmit) Sending data on channel (12)
> hpssd[31269]: debug: 'msg=probedevices\nbus=par\n'
> hpssd[31269]: debug: (xmit) Reading data on channel (12)
> hpssd[31269]: debug: 
> 'msg=ProbeDevicesResult\nresult-code=0\nnum-devices=0\nlength=0\ndata:\n'
> hpssd[31269]: debug: usb
> hpssd[31269]: debug: Connecting to hpiod (localhost:50881)...
> hpssd[31269]: debug: (xmit) Sending data on channel (12)
> hpssd[31269]: debug: 'msg=probedevices\nbus=usb\n'
> hpssd[31269]: debug: (xmit) Reading data on channel (12)
> hpssd[31269]: debug: 
> 'msg=ProbeDevicesResult\nresult-code=0\nnum-devices=1\nlength=200\ndata:\ndirect
>  
> hp:/usb/PSC_1400_series?serial=CN53AV214304BN "HP PSC 1400 series" "HP 
> PSC 1400 series USB CN53AV214304BN HPLIP" "MFG:HP;MDL:PSC 1400 
> series;CLS:PRINTER;DES:PSC 1400 series;SN:CN53AV214304BN;"\n'
> hpssd[31269]: debug: Sending data on channel (10)
> hpssd[31269]: debug: 
> 'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=1\nencoding=none\nlength=193\ndata:\nhp:/usb/PSC_1400_series?serial=CN53AV214304BN
>  
> "HP PSC 1400 series" "HP PSC 1400 series USB CN53AV214304BN HPLIP" 
> "MFG:HP;MDL:PSC 1400 series;CLS:PRINTER;DES:PSC 1400 
> series;SN:CN53AV214304BN;"\n'
> hpssd[31269]: debug: Reading data on channel (10)
> hpssd[31269]: debug: Closing channel (10)
> hpssd[31269]: debug: ''
> hpssd[31269]: debug: Reading data on channel (9)
> hpssd[31269]: debug: 
> 'msg=querymodel\ndevice-uri=hp:/usb/PSC_1400_series?serial=CN53AV214304BN\n'
> hpssd[31269]: debug: Handling: ******************** querymodel 
> ********************
> hpssd[31269]: debug: 
> 'msg=querymodel\ndevice-uri=hp:/usb/PSC_1400_series?serial=CN53AV214304BN\n'
> hpssd[31269]: debug: New device: 
> hp:/usb/PSC_1400_series?serial=CN53AV214304BN
> hpssd[31269]: debug: Query model: psc_1400_series
> hpssd[31269]: debug: Searching directory: /usr/share/hplip/data/xml
> hpssd[31269]: debug: Searching file: 
> /usr/share/hplip/data/xml/HPLIP-0.9.7.xml
> hpssd[31269]: debug: Searching file: /usr/share/hplip/data/xml/models.xml
> hpssd[31269]: debug: Found
> hpssd[31269]: debug: Sending data on channel (9)
> hpssd[31269]: debug: 
> 'msg=querymodelresult\ncopy-type=0\nscan-type=1\nfax-type=0\ntech-type=2\nio-support=2\npcard-type=0\nr0-agent2-type=2\nio-mode=1\nr0-agent1-sku=21
>  
> (C9351A)\ncase-model-model5=PSC 1410xi\ncase-model-model4=PSC 
> 1410v\ncase-model-model6=PSC 1417\ncase-model-model1=PSC 
> 1401\ncase-model-model3=PSC 1410\ncase-model-model2=PSC 
> 1402\nr0-agent2-sku=22 
> (C9352A)\ncolor-cal-type=0\npanel-check-type=0\ntech-class=DJ3320\nstatus-dynamic-counters=0\npq-diag-type=0\nio-scan-port=0\nr0-agent1-type=1\nresult-code=0\nalign-type=6\nicon=psc_1100_series.png\nstatus-battery-check=0\nsupport-type=2\nio-control=0\nlinefeed-cal-type=0\nstatus-type=2\nio-mfp-mode=2\nembedded-server-type=0\nr0-agent2-kind=3\nclean-type=2\nr0-agent1-kind=3\n'
> hpssd[31269]: debug: Reading data on channel (9)
> hpssd[31269]: debug: Closing channel (9)
> hpssd[31269]: debug: ''
> 
> 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


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

Reply via email to