0
I have a desktop PC server
running Ubuntu 10.10, with a Canon MX350 printer Canon
attached via USB. I want to share the printer so that I can print to it from a MacBook Pro laptop running OS X 10.6.6 and possibly various other clients.
(While the printer can present various printing services on the network, somehow that works very unreliably for me, so I have turned its network features off.)
The system-config-printer program found the printer easily, and I am able to print files locally on server
. I enabled sharing printers, and added the printer on the Mac. I clicked on System Preferences, Print & Fax, +, IP. I selected IPP as the protocol and server.home.gateway
as the address, to which the dialog responded "Valid and complete address." (My ADSL router serves that DNS address for server
.) I wrote Canon
as the queue name (and also tried leaving the field empty) since that's what it shows up as on server
.
When I tried to print, the printer became "paused" on the Mac. I enabled debug logging in cupsd.conf
and noticed error messages like this:
Get-Printer-Attributes ipp://server.home.gateway:631/Canon
Get-Printer-Attributes client-error-not-found: The printer or class was not found.
Returning IPP client-error-not-found for Get-Printer-Attributes (ipp://server.home.gateway:631/Canon) from 192.168.0.2
(If I left the queue name empty, the not-found printer was just ipp://server.home.gateway:631/
)
After a bunch of guesswork and browsing CUPS documentation, I changed the queue to printers/Canon
, and printing started working. I'm glad it works, but this is clearly suboptimal: there was no indication in the Mac GUI what printer queues are available on the server. Is there a way to set up the print server so that the client can simply select the printer from a list of available printers, and would automatically get the right queue name?
The file was missing
BrowseAllow all
and theBrowseRemoteProtocols
line was empty. With those added, and acupsctl BrowseProtocols="cups dnssd"
command on the Mac, the printer showed up in the Default tab of the Add Printer dialog. – Jouni K. Seppänen – 2011-03-11T12:44:05.243