[Samba] printing via samba w/ cups server

Juergen Hasch Hasch at t-online.de
Fri Mar 8 13:42:12 GMT 2002


Am Mittwoch, 6. März 2002 07:29 schrieb Mike Weller:
> Hi,
>
> I have a bizarre printing problem, and i think i've narrowed it down
> to either samba, or the way windows packages the file to be printed.
> I've recently implemented a new server.  Users print through the
> linux server from their windows desktop machines.
>
> OLD server:
>
> -samba 2.0.7, which uses lpd
>
> NEW server:
>
> -samba 2.2.3, which uses cups
>
> The old server can print to the printer (Savin 2545 pcl) just fine.
> The new server prints all sorts of garbage and hieroglyphics to
> that printer.
>
> I'll cut out the relevant pieces of smb.conf for you:
>
> OLD:
>         printing = bsd
>         print command = lpr -r -P%p %s
>
> NEW:
>    printing = cups
>    print command = lpr-cups -P %p -o raw %s -r
Try adding
	printcap = cups

This may not help you with your problem directly, but you need this to 
tell Samba to use the cups interface.

...Juergen





More information about the samba mailing list