[cups] Windows not seeing shared printer

Michael Sweet msweet at apple.com
Fri Dec 5 08:46:43 PST 2014


Mitchell,

Windows systems will only see printers shared via Samba.  If you are trying to print direct via IPP, the proper URI is "http://servername/printers/printername" (no "/.printer" on the end)

> On Dec 5, 2014, at 10:50 AM, Mitchell, Paul A <paul_mitchell at unc.edu> wrote:
> 
> Hello,
> I've installed CUPS 1.4.2 on a redhat linux box (2.6.32-504.1.3.el6.x86_64)
> and configured a set of network printers on it. I'm able to print to these devices easily from that server, and I can access the Administrative web pages from any machine on the subnet (including various windows boxes).
> 
> When I try to add these printers via the Add Printer wizard on either a Windows server 2012 or Windows 7 machine (the same machines which can access the Administration pages) I am unable to access the print server.
> 
> For instance, attempting: servername:631/printers/larry/.printer, times out with the "Connect to Printer  Windows couldn't connect to the printer. Check the printer name and try again. If this is a network printer, make sure the printer is turned on,and that the printer address is correct." blurb.
> 
> Here's what the cups daemon is listening to  on the server:
> 
> sudo netstat -nlp | grep cupsd
> tcp        0      0 0.0.0.0:631                 0.0.0.0:*                   LISTEN      13926/cupsd
> tcp        0      0 :::631                      :::*                        LISTEN      13926/cupsd
> udp        0      0 0.0.0.0:9100                0.0.0.0:*                               13926/cupsd
> unix  2      [ ACC ]     STREAM     LISTENING     226884 13926/cupsd         /var/run/cups/cups.sock
> 
> the 9100 port might be a leftover from trying to work with samba, which I've removed - the cupsd.conf is listening on:
> Port 631
> Listen /var/run/cups/cups.sock
> 
> And FTR, iptables is open to ports 631 (tcp/udp) and 515 (tcp).
> 
> Is it possible that the Windows server is trying to add the printer using a different port (should I also be listening on 515)?  Any help will be appreciated - I'm a Unix guy trying to configure w Windows machine, and it's an uphill process!
> 
> _______________________________________________________________________________________
> 
>        Paul Mitchell
>        ITS Systems/Enterprise Operations
>        email: pmitchel at email.unc.edu
>        location: 440 Franklin, cubby 1512, CB#1150
>        desk phone: 919 445-0063
> _______________________________________________________________________________________
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair



More information about the cups mailing list