[Pkg-cups-devel] Problems with either samba and/or cups and printing from windows

Jonathan Nieder jrnieder at gmail.com
Mon Feb 20 18:37:52 UTC 2012


reassign 660651 samba
tags 660651 + moreinfo
quit

Hi Christian,

Christian Andretzky wrote:

> Sorry for using the general tag, but I've no idea which of the named packages is responsible
> for the problem.

That doesn't make it a general issue.  Reassigning to samba, since
one has to start somewhere.

What versions of samba and cups do you have installed?  Can you attach
output from "reportbug --template samba"?  What does /etc/papersize
say?

Thanks for writing, and hope that helps,
Jonathan

> We have a samba server as domain controler and do all printings via
> cups.
>
> The cups server is located on the same machine and printing fom
> linux was never a problem.
>
> For various reasons we set the set the 'cups options' switch in
> /etc/smb.conf to empty, so that cups handles the print jobs from the
> windows client completely (not only printqueue administration)
>
> All things work as expected with one big exception.
>
> I'm unable to set/maintain the samba server default settings for
> paper size. I can do other changes in the server settings like
> comment or location for the printers with no problems (I can do this
> from windows either via menu or via commandline with no problems.)
> The result is stored in the ntprinters.tdb But if I try to change
> the default paper size for the printer, it only seems to work, but
> it is never stored in the ntprinters.tdb.
>
> The big problem for me is, why (either samba or cups) think, they
> have to set the default paper size to letter.
>
> Nothing in our whole configuration (neither in cups, nor in samba
> and in windows also) has paper sizes of the type 'letter'.
>
> For our users this is a really frustrating and time/paper intensive
> problem, because many of them work with remote desktops and
> dynamically created printer forwardings from remote printers to
> local printers. Don't ask me why, sometimes such printer
> forwardings have 'letter' as default paper size.
>
> By necessity I tried to change ntprinters.tdb with a hex editor. It
> seems to work, but after some time my 'A4' setting were overwritten
> with letter.
>
> If you need more details, feel free to ask.
>
> TIA for Your help.
>
> Christian
>
> -- System Information:
> Debian Release: 6.0.4
>   APT prefers stable
>   APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash



More information about the Pkg-cups-devel mailing list