Re: [Printing-user-general] Printer drivers on a Server

[email protected] (Kurt Pfeifle) Sun, 30 Jul 2006 01:34:16 +0000 (UTC)
Newsgroups gmane.linux.printing.general
Organization http://www.linuxprinting.org/
Message-ID <[email protected]>
In article <[email protected]>, [email protected]
(Shawn Bsihop) writes:
> 
> Good Day
> 
> I have setup a Ubuntu Print Server for an Architectual firm, all works great
> and I only have two problems.
> 
> 1. When I want to add a Printer to a Windows XP machine, I can select the
> printer and then I have to install the print drivers. Is it possible to have
> the server automatically install the drivers as a Windows Print Server does??

Yes.

See here for some documentation:

http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.ht
ml 
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html

> 2. After adding the printer, I go to "Printers & Faxes" on the windows
machine
> and I can seee the printers and print to them, but it says next to the status
> "Access Denied,unable to connect"..but I can connect and I can print, How do
I
> get rid of this message??

No idea. I'd need to specifically look into that for Ubuntu. Which version of
Ubuntu, BTW?

Please take note of the fact that Ubuntu uses a forked version of CUPS, which
makes it behave very weird in some respects, especially in all occurrences
where authentication comes into play. The reason is, they patched it to make it
run under user account "cupsys" (where cupsys is not part of the "shadow"
group, and hence is not allowed to read /etc/shadow, or to use PAM, etc.)

CUPS itself has removed the former feature that allowed to *optionally* run
CUPS as user altogether in the 1.2.0 release, while Ubuntu packagers have
patched its version to retain that feature, but in a way that even removed the
"RunAsUser Yes|No" directive from cupsd.conf and hardwires it to run as user
named cupsys.

> Regards
> Shawn Bishop

Cheers,
Kurt