printer

norman norman at littletank.org
Sat Dec 2 19:50:04 UTC 2006


< big snip >
  
> If it's a stock Dapper install the following lines should already appear
> in /etc/cups/cupsd.conf:
> 
> <Location />
>   Order allow,deny
>   Allow localhost
>   Allow @LOCAL
> </Location>
> 
> This last Allow line grant access from all interfaces. Port 631 is
> already open since we added the following lines to
> /etc/cups/cups.d/ports.conf:
> 
> Listen *:631
> Listen /var/run/cups/cups.sock
> 
> Those two sets of directives are generally what allows cups to listen
> and accept jobs from the network (in this case with virtually no
> restrictions).
> 
> You certainly can check to make sure cups is listening by using:
> 
> $ netstat -l -t | grep ipp
> 
> Which should return something like:
> 
> tcp        0      0 *:ipp                   *:*                     LISTEN
> tcp6       0      0 *:ipp                   *:*                     LISTEN

I did this and got exactly as shown. 

> My questions for Norman at this point would be...
> 
>    1. Have you verified network connectivity between the windows box and
>       the ubuntu box? Can you ping servername or 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).
>    3. What is the name of your printer as recognized by cups?
>    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?
>    5. What does /var/log/cups/access_log or /var/log/cups/error_log say?
> 
> 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! :)
> 

There are certainly a lot of things to follow up and I will do my best
to carry them out. 

Norman





More information about the ubuntu-users mailing list