On Tue, Dec 16, 2008 at 02:48:11PM -0800, Penguin Lover Mark Knecht squawked:
> On Tue, Dec 16, 2008 at 1:48 PM, Willie Wong <ww...@princeton.edu> wrote:
> > Basically you just need
> >
> >  1) Correct permissions in /etc/cups/cupsd.conf
> >      a) You need the line "Port 631" to allow remote access
> >      b) Maybe (I am not sure about this one) you need "Browsing On"
> >          to allow sharing?
> >      c) You need the section for "<Location />" to have "Allow From
> >          192.168.0.*" or whatever netmask you use.
> >  2) Either
> >      a) A working printer that you can print locally from the cups
> >          server via "lpr -P<NAME>". In this case you can just tell
> >          the Windows computers to print to
> >            http://<cups server ip>:631/printers/<NAME>
> >          using a generic postscript driver.
> 
> Is this true for non-postscript printers? If so it's a great solution.

I've never got option a) working myself... but allegedly it works. I
think the idea is that your CUPS server gets mapped as a "local"
printer on the Windows machine. So just as how sending postscript
files to lpr should work even when you don't run a postscript printer,
sending a postscript output to CUPS from windows should work. 

At least that's how I understand it. 

> >     or
> >      b) A working printer for which you have the Windows drivers. You
> 
> The Windows driver for this printer does not support network printing
> so I don't think this is an option.

That's not required, I don't think. My home printer is a Samsung ML
2510, as far as I know it does not have network printing built in.
Basically you just install the cups link as a "local" printer for
Windows. Instead of Windows sending the commands over USB or LPT, it
sends it over ethernet to your cups server. 

> >          need to then setup a raw queue (basically a print queue that
> >          does not have a cups driver associated to it so the Windows
> >          boxes can directly send commands to the printer). You tell
> >          the Windows computers to print to
> >            http://<cups server ip>:631/printers/<RAW queue name>
> >          using the Windows drivers for the printer.
> >
> 
> OK, so I'm not clear what the <RAW queue name> is. I see it discussed
> in the link you pointed us at but that was using some Fedora GUI app.
> Is this something you set up by hand in your cupsd.conf or
> printers.conf file?

This is something I am not sure about. I am *almost* certain that a
raw printer just means one that has an entry in printers.conf and does
not have a corresponding file in /etc/cups/ppd/ , but like I said, I
setup my printer using the web interface, so I am not sure. 

To setup using the web interface, just add the new printer, but
instead of selecting the proper driver for the printer, select "raw"
in the list. 

Good luck, 

W

-- 
"The main reception foyer was almost empty but Ford 
nevertheless weaved his way through it." 

- Ford making his way out of Milliways whilst under the 
influence of enough alchol to make a rhino sing. 
Sortir en Pantoufles: up 740 days,  3:12

Reply via email to