Printing from Windows to a printer shared printer on a Mac
16. August 2014
Last week I’ve set up my new home server based on a Mac Mini and obviously Mac OS X (Mavericks). What can I say? Like I expected, everything went like a breeze…
Well, until I configured my wife’s PC laptop with Windows 7. I have shared the printer to all my Macs with no problem, but the PC only printed blank pages. After some googling I found, that the problem seems to be, that I’m using duplicated drivers: I configured my Mac with a printer driver AND I configured my PC with a driver, so the document data got translated two times, which obviously is not a good thing.
However, I didn’t want to use a generic driver on the PC, because I would loose all the goodness of the printer (like printing double sided). So, I’ve created a new printer (only for the PC) using the ra– hey! Where’s the raw printer driver in the print UI? Nowhere to be found!
But well, you know, Mac OS X is basically a BSD with a nice UI. The thing, that drives the Mac’s printer sharing is an old friend of mine – cups. So, on to http://macmini:631– Shoot. No Web UI.
Okay, cups already tells me, how to achieve that. Get a terminal on the mac, become root (using sudo -s) and type:
Hey! A Web UI. Go to the printer, select „Modify printe– ARGH! „Forbidden“. Well, Apple, guess you don’t want arbitrary users to fiddle with cups directly, eh? Back to the terminal it is! Now, open up
and find the section that reads „„. Add a „Allow from all“ after „Order allow, deny“ and finally restart cups: