I am stuck getting network printing to work with an up-to-date zentyal server:
ii zentyal-antivirus 3.0 Zentyal - Antivirus
ii zentyal-ca 3.0.2 Zentyal - Certification Authority
ii zentyal-common 3.0.6 Zentyal - Common Library
ii zentyal-core 3.0.13 Zentyal - Core
ii zentyal-dhcp 3.0.2 Zentyal - DHCP Service
ii zentyal-dns 3.0.5 Zentyal - DNS Service
ii zentyal-ebackup 3.0.5 Zentyal - Backup
ii zentyal-firewall 3.0.1 Zentyal - Firewall
ii zentyal-ftp 3.0.1 Zentyal - FTP
ii zentyal-gateway 3.0.1 Zentyal - Gateway Suite
ii zentyal-infrastructure 3.0.1 Zentyal - Network Infrastructure Suite
ii zentyal-l7-protocols 3.0 Zentyal - Layer-7 Filter
ii zentyal-monitor 3.0.2 Zentyal - Monitor
ii zentyal-network 3.0.2 Zentyal - Network Configuration
ii zentyal-ntp 3.0 Zentyal - NTP Service
ii zentyal-objects 3.0 Zentyal - Network Objects
ii zentyal-office 3.0.1 Zentyal - Office Suite
ii zentyal-openvpn 3.0.3 Zentyal - VPN Service
ii zentyal-printers 3.0.2 Zentyal - Printer Sharing Service
ii zentyal-remoteservices 3.0.14 Zentyal - Cloud Client
ii zentyal-samba 3.0.13 Zentyal - File Sharing and Domain Services
ii zentyal-services 3.0.1 Zentyal - Network Services
ii zentyal-software 3.0.3 Zentyal - Software Management
ii zentyal-squid 3.0.4 Zentyal - HTTP Proxy (Cache and Filter)
ii zentyal-trafficshaping 3.0 Zentyal - Traffic Shaping
ii zentyal-users 3.0.9 Zentyal - Users and Groups
ii zentyal-webserver 3.0.2 Zentyal - Web Server
ii cups 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - server
ii cups-client 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - common files
ii cups-filters 1.0.18-0ubuntu0.1 OpenPrinting CUPS Filters
ii cups-ppdc 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - PPD manipulation utilities
ii ghostscript-cups 9.05~dfsg-0ubuntu4.2 interpreter for the PostScript language and for PDF - CUPS filters
ii libcups2 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - Core library
ii libcupscgi1 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - CGI library
ii libcupsfilters1 1.0.18-0ubuntu0.1 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - Raster image library
ii libcupsmime1 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - MIME library
ii libcupsppdc1 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - PPD manipulation library
ii libnet-cups-perl 0.60-1build2 Perl module for printing through CUPS
ii printer-driver-hpcups 3.12.2-1ubuntu3.1 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
I setup the CUPS server using the CUPS web admin interface: under Administration > Server, I check "Share printers connected to this system" and "Save debugging information for troubleshooting". (I also tried checking and unchecking "Share printers connected to this system > Allow printing from the Internet", "Share printers connected to this system > Protocol > LDAP" and "Use Kerberos authentication", to no avail.)
I add a printer. While setting the default options for the printer, I hit an error--"unable to set options: broken pipe"--but the configuration appears to succeed. The printer is listed as
Samsung_ML-1450 (Idle, Accepting Jobs, Shared, Server Default)
Description: Samsung ML-1450
Location: Laundry room
Driver: Samsung ML-1450 Foomatic/pxlmono (recommended) (grayscale, 2-sided printing)
Connection: parallel:/dev/lp0
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
and printing a test page from CUPS works as expected.
I see the printer under zentyal's admin interface and allow guest access. The corresponding /etc/samba/smb.conf sections appear as
[print$]
comment = Point and Print Printer Drivers
path = /opt/samba4/var/print
read only = No
[printers]
comment = All Printers
path = /opt/samba4/var/spool
browseable = Yes
read only = No
printable = Yes
I add the network printer from a Windows 7 client. Windows finds the printer but no driver, so I pick the matching driver from the Windows-provided list. When I try to print a test page from Windows, nothing happens on the client--no error messages--but nothing is printed. In the CUPS error_log, I see
D [24/Feb/2013:09:09:23 -0500] cupsdAcceptClient: 16 from localhost (Domain)
D [24/Feb/2013:09:09:23 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [24/Feb/2013:09:09:23 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [24/Feb/2013:09:09:23 -0500] cupsdAuthorize: No authentication data provided.
D [24/Feb/2013:09:09:23 -0500] cupsdReadClient: 16 1.1 Get-Jobs 1
D [24/Feb/2013:09:09:23 -0500] Get-Jobs ipp://localhost/printers/Samsung_ML-1450
D [24/Feb/2013:09:09:23 -0500] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/Samsung_ML-1450) from localhost
D [24/Feb/2013:09:09:23 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [24/Feb/2013:09:09:23 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [24/Feb/2013:09:09:23 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
[b]D [24/Feb/2013:09:09:23 -0500] cupsdAuthorize: No authentication data provided.[/b]
D [24/Feb/2013:09:09:23 -0500] cupsdReadClient: 16 1.1 Get-Printer-Attributes 1
D [24/Feb/2013:09:09:23 -0500] Get-Printer-Attributes ipp://localhost/printers/Samsung_ML-1450
D [24/Feb/2013:09:09:23 -0500] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Samsung_ML-1450) from localhost
D [24/Feb/2013:09:09:23 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [24/Feb/2013:09:09:23 -0500] cupsdReadClient: 16 WAITING Closing on EOF
D [24/Feb/2013:09:09:23 -0500] cupsdCloseClient: 16
D [24/Feb/2013:09:09:23 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
Any help here would be greatly appreciated. I am no printing expert--for the last 10 years or so, CUPS has "just worked"--and am not sure what else to try.