[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660651: general: Problems with either samba and/or cups and printing from windows

Package: general
Severity: important
Tags: squeeze

Sorry for using the general tag, but I've no idea which of the named packages is responsible
for the problem.
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
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.


-- 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

Reply to: