On 17/02/2003 10:27 AM +1100 Christopher Samuel wrote:

I'm not sure if you require help sharing the printer on your network,
but I recently setup CUPS and instead of sharing cups printers over
Samba, I simply used IPP from Windows 2000 machines (IPP is native in
Windows 2000/XP and I beleive there is a patch to get Windows 95/98
machines to talk IPP) and it works very nicely. :)
Ah! This is something I've tried and completely failed to get to work!
From  my reading it seemed to require a Win2K server for the IPP server.

Care to share how you managed it ?
Nope, CUPS can talk IPP.

Basically for whichever printer you want to make available over IPP, you need to create a raw version of it. Printer configuration is easily duplicated if you are using foomatic, otherwise just create it manually.
Lets say you copy the printer 'epson' to 'epson-raw'. The only change to this raw printer is the Driver. Select 'Raw' then 'Raw Queue (en)'.

You then need to edit cupsd.conf and look for the <Location> tags. By default, there are only restrictions on "/" and "/admin". You can either add an "Allow From" line to the <Location /> tag, or simply uncomment the <Location /printers> section and add an Allow From line in there. You can even ask for authentication for using a particular printer or all printers (read CUPS documentation on this)

Once this is all done, it should be ready to go. Try adding a printer from Windows with the URL http://x.x.x.x:631/printers/epson-raw (changing x.x.x.x and epson-raw to the IP of the CUPS server and printer name, respectively)

HTH. Let me know if you need any more info.

Regards,
Gonzalo.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to