[HLUG] CUPS needs password

John Hedges john at drystone.co.uk
Thu Jul 21 09:27:38 BST 2005


On Wed, Jul 20, 2005 at 09:39:17PM +0100, Graham Cole wrote:
> No success yet but I have reset the log level to debug and the following
> is a log extract after sending a test page, not from the cups admin
> window but from the window which arrives with Printers > Properties. I
> checked the button there for 'Use detected printer' and my printer was
> correctly detected as a cx3600.
> 
> D [20/Jul/2005:21:20:52 +0100] print_job: auto-typing file...
> D [20/Jul/2005:21:20:52 +0100] print_job: request file type is
> application/postscript.
> D [20/Jul/2005:21:20:52 +0100] check_quotas: requesting-user-name =
> 'gc1'
> D [20/Jul/2005:21:20:52 +0100] print_job: requesting-user-name = 'gc1'
> D [20/Jul/2005:21:20:52 +0100] Adding default job-sheets values
> "none,none"...
> I [20/Jul/2005:21:20:52 +0100] Adding start banner page "none" to job 9.
> I [20/Jul/2005:21:20:52 +0100] Adding end banner page "none" to job 9.
> I [20/Jul/2005:21:20:52 +0100] Job 9 queued on 'stylus-cx' by 'gc1'.
> D [20/Jul/2005:21:20:52 +0100] Job 9 hold_until = 0
> D [20/Jul/2005:21:20:52 +0100] ProcessIPPRequest: 7 status_code=0
> D [20/Jul/2005:21:20:52 +0100] AcceptClient: 8 from localhost:631.
> D [20/Jul/2005:21:20:52 +0100] ReadClient: 8 POST / HTTP/1.1
> D [20/Jul/2005:21:20:52 +0100] ProcessIPPRequest: 8 status_code=0
> D [20/Jul/2005:21:20:52 +0100] CloseClient: 8
> D [20/Jul/2005:21:20:53 +0100] AcceptClient: 8 from localhost:631.
> D [20/Jul/2005:21:20:53 +0100] ReadClient: 8 POST / HTTP/1.1
> D [20/Jul/2005:21:20:53 +0100] ProcessIPPRequest: 8 status_code=0
> D [20/Jul/2005:21:20:53 +0100] CloseClient: 8
> D [20/Jul/2005:21:20:54 +0100] AcceptClient: 8 from localhost:631.
> D [20/Jul/2005:21:20:54 +0100] ReadClient: 8 POST / HTTP/1.1
> D [20/Jul/2005:21:20:54 +0100] ProcessIPPRequest: 8 status_code=0
> D [20/Jul/2005:21:20:54 +0100] CloseClient: 8
> 
> the repeats above continued for a long time. Does this look normal? No
> printing occurred but I think I must have the USB connection effectively
> placed because of the printer detection working as it should.
> I may have a printer problem now because a warning label on the machine
> said 'You must install your software before connecting the USB cable.' I
> didn't really comply with this.
> 
> Graham, with thanks

Hi Graham

Sadly I have no experience with usb printers but I know the
'install software before plugging' is for windows only. Windows
auto-installs printers as soon as you plug them in so it needs the
drivers installed beforehand.

You could try sending something directly to the printer. If you do 

# lpstat -v -l -p stylus-cx

and look for the 'device' line. Hopefully it will be a device beginning
usb:/dev/u... if not you need to reconfigure cups to use a usb
port.

I don't know whether this will tell you anything, but you could try
sending something directly to the printer.

# cat some_small_file >/dev/u... <- whatever your usb port was

If there is any sign of life from the printer then you know you've got
the correct port and the usb part is working. 

Cheers
John



More information about the Herefordshire mailing list