Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Friday October 19, 2001
03:51 PM

Win 2k Printing

[ #1028 ]

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://".

"Permission Denied"


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

(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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.