printer

norman norman at littletank.org
Sat Dec 2 20:53:54 UTC 2006


< big snip >

>    1. Have you verified network connectivity between the windows box and
>       the ubuntu box? Can you ping servername or ping ipaddress?

Yes - I can ping ipaddress.

>    2. What happens when you open a browser on the windows machine and
>       browse to:
>       http://ipaddressofcupsserver:631/printers (you should see a web
>       page that shows your printers).

The page was not displayed.

>    3. What is the name of your printer as recognized by cups?

I believe it is Laserjet 1100.

>    4. When you make the connection using the windows Add Printer wizard,
>       are you using hostname or ip address? If you are using hostname,
>       are you sure this is resolving correctly?

I am using ip address.

>    5. What does /var/log/cups/access_log or /var/log/cups/error_log say?

The access log :-
localhost - - [02/Dec/2006:09:02:24 +0000] "GET /ppd/LaserJet-1100.ppd
HTTP/1.1" 200 27147 - -
localhost - - [02/Dec/2006:09:02:25 +0000] "GET /ppd/LaserJet-1100.ppd
HTTP/1.1" 200 27147 - -
localhost - - [02/Dec/2006:09:02:25 +0000] "POST / HTTP/1.1" 200 697914
CUPS-Get-PPDs -
localhost - - [02/Dec/2006:09:02:27 +0000] "POST / HTTP/1.1" 200 1599
CUPS-Get-Devices -
localhost - - [02/Dec/2006:09:03:32 +0000] "POST /admin/ HTTP/1.1" 401
166 CUPS-Add-Modify-Printer successful-ok
localhost - root [02/Dec/2006:09:03:32 +0000] "POST /admin/ HTTP/1.1"
200 166 CUPS-Add-Modify-Printer successful-ok
localhost - root [02/Dec/2006:09:03:32 +0000] "POST /admin/ HTTP/1.1"
200 166 CUPS-Add-Modify-Printer successful-ok
localhost - root [02/Dec/2006:09:04:09 +0000] "POST /admin/ HTTP/1.1"
200 166 CUPS-Add-Modify-Printer successful-ok
localhost - - [02/Dec/2006:09:42:20 +0000] "POST / HTTP/1.1" 200 353
CUPS-Get-Classes successful-ok

The error log :-

E [02/Dec/2006:09:03:32 +0000] CUPS-Add-Modify-Printer: Unauthorized
E [02/Dec/2006:14:55:55 +0000] Creating missing directory
"/var/run/cups/certs"


> 
> I've helped lots of people help set up windows -> ubuntu printing this
> way. Unless you have made some other changes to the cups configuration,
> or have a connectivity issue between the 2 machines, we should be able
> to get this done.
> 
> ... and this is still far easier than getting samba configured! :)
> 
> -- 
> Mitch
> 





More information about the ubuntu-users mailing list