Win 2k Printing

Matts on 2001-10-19T20:51:27

At home, of course I use Linux, but my wife is a reasonably happy windows user. So recently we had to get a her setup to be able to print to my printer. Now before now we'd used Samba to do this quite happily. Worked well, and was easy to setup via SWAT. Well, reasonably easy...

But I was never happy with that solution. It always seemed a bit flaky to me.

So this time I decided to play with CUPS's IPP support. I'd heard that Win2K supported IPP quite well, and I knew CUPS implemented it, but I had no idea why :-)

So, when Windows prompted for the URL for the printer, I carefully had my wife type in "ipp://ted.sergeant.org:631/printers/lp".

"Permission Denied"

Bah!

So I tried a few different variations on that theme. No joy. In the end I got her to just use SMB again.

While I went off to fiddle.

in /etc/cups/cupsd.conf, I found: <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>

(Pudge, this should work like POD - indent == source code! :-)

So, I added in "Allow From 192.168.0.*", restarted cupsd, and went to pry Heather away from Kazaa.

Entered the URL (which is "http://server:631/printers/lp", by the way). BAM! It worked (well, it still prompts you for a printer driver, which apparently IPP from a Win2K server won't do, but it's still neat). So damn cool! IPP rocks.