Peter Griessl
2002-Feb-26 02:44 UTC
[Samba] Printer Drv. Settings only with Manage Printer perm.?
Hi all, I found an old (Oct 9) posting (and no answers) titled "Print Driver Settings" from Michael Devogelaere regarding installing/using extra trays and duplex units using Win2000. We are using Samba 2.2.3a and HP and Tektronix printer drivers and experience the same difficulties - users cannot select/use the duplex unit without having "Manage Printer" permissions. Exactly as M.D. wrote: "That way, everybody gets the correct settings but *can also modify them*. If we allow only 'Print-access' to everybody, they cannot read any setting at all." - and are forced to use the printer drivers default settings (no duplex unit etc.). Did anyone find a solution to this problem??? Any advice would be greatly appreciated. Thanks, Peter Griessl (griessl@ihs.ac.at)
Gerald Carter
2002-Feb-26 06:26 UTC
[Samba] Printer Drv. Settings only with Manage Printer perm.?
On Tue, 26 Feb 2002, Peter Griessl wrote:> > Hi all, > > I found an old (Oct 9) posting (and no answers) titled "Print Driver > Settings" > from Michael Devogelaere regarding installing/using extra trays and duplex > units using Win2000. > > We are using Samba 2.2.3a and HP and Tektronix printer drivers and > experience the same difficulties - users cannot select/use the duplex > unit without having "Manage Printer" permissions. Exactly as M.D. wrote: > "That way, everybody gets the correct settings but *can also modify them*. > If we allow only 'Print-access' to everybody, they cannot read any setting > at all." - and are forced to use the printer drivers default settings > (no duplex unit etc.).The general model is that you connect to the server as a printer admin and set the proiperties you wish. These changes are then propagated to all clients. Win2k also supports a per-user device mode (from the General tab of the printer properties page) for individual settings. Nt4 however does not. Also you should get the patch for 2.2.3a that was posted to fix the bug that prevented printer settings from being saved. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Harald Hutter
2002-Feb-27 03:02 UTC
[Samba] Printer Drv. Settings only with Manage Printer perm.?
Hi all, My colleague Peter posted our problem regarding the propagation of printer settings (see message 2002-February/067731.html). Thanks to all who respond. Unfortunately our problem is still not solved. Maybe there is some kind of misunderstanding, so I like to explain this more in detail: We use HP and Tektronix printer drivers. We can configure the printers (connected as root) to use an installed duplex unit but the settings are not propagated to other users. This seems definitely not to be a problem of changing "global device modes" or "per user dev modes" as far I understand this because in both tabs (general -> printing preferences AND advanced -> printing defaults) the options to print on both sides are missing if you don't have the checkbox for duplex unit marked. In the case of HP drivers this is located in the configure tab. Other settings in this tab and in the NTForms tab are ignored too (eg choosing the 4050 /4050 TN base model in case of HP LaserJet 4050 Series PCL 6 driver or assigning paper sizes to trays). I applied the suggested patch to fix the broken devmode changes in srv_spoolss_nt. Didn't help. We use samba 2.2.3a. Next, I checked the tdb files, making dumps before and after configuring a duplex unit to be sure the new settings are written. As I expected the data section in ntprinters.tdb is changed. Then I increased th debug level: setting it to 10 I was able to find some "No such file or directory" error messages. Following some examples: call_trans2qfilepathinfo: vfs_stat of AppProperties failed (No such file or directory) error string = No such file or directory call_trans2qfilepathinfo: vfs_stat of HPBFFF5.DLL failed (No such file or directory) error string = No such file or directory call_trans2qfilepathinfo: vfs_stat of hpbstt.dll failed (No such file or directory) error string = No such file or directory Having a look at the upload directory, hpbfff5.dll is there (.../W32X86/2/). However I've found no hpbstt.dll. (Neigther on the Server nor on local disks) Should this file be there? Any ideas? If more information is needed (logs, tdpdumps etc.), please tell me. Any advice would be greatly appreciated. Thanks, Harald Hutter -- -------------------------------------------------------------------------- HUTTER Harald INSTITUTE FOR ADVANCED STUDIES Stumpergasse 56 Tel.Nr.: +43-1-59991/118 A-1060 Vienna email: hutter@ihs.ac.at AUSTRIA Dep. Informations und Linux Datenverarbeitung The choice of a GNU - generation --------------------------------------------------------------------------