Hi. I've finally got Samba to serve up print drivers for the printers I serve. However, I'm not able to set the default driver options. This is what I'm doing (from a Win2k Pro box) Start->Run \\(samba server) open Printers folder right click printer, Properties Device Settings tab Configure e.g. default paper size Click OK Reopen Properties->Device Settings, and the old paper size is still selected. Some settings seem to work, but I haven't been able to get the paper size settings to work. This is a problem because we have some printers which only have legal paper, and they require manual intervention if they get a job for some other size paper. Any suggestions?
On Wednesday 19 February 2003 09:58 am, Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 15 Feb 2003, Ian Eure wrote: > > Hi. I've finally got Samba to serve up print drivers for the printers I > > serve. However, I'm not able to set the default driver options. > > > > This is what I'm doing (from a Win2k Pro box) > > > > Start->Run > > \\(samba server) > > open Printers folder > > right click printer, Properties > > Device Settings tab > > Configure e.g. default paper size > > Click OK > > Reopen Properties->Device Settings, and the old paper size is still > > selected. > > > > Some settings seem to work, but I haven't been able to get the paper size > > settings to work. This is a problem because we have some printers which > > only have legal paper, and they require manual intervention if they get a > > job for some other size paper. > > What version of Samba? What server OS? >Sorry. I'm running 2.2.3a on Debian 3.0. Custom Linux 2.4.20 kernel, 1gb ram, 2xP3 (Coppermine) @700MHz.
daniel.jarboe@custserv.com
2003-Feb-27 21:13 UTC
[Samba] Default settings for print drivers
I'm having a problem where printing preferences (advanced settings) are not remembered for 2.2.7a. This behavior differs from installed printers not associated with samba. What I do: -Server- Create samba share, SIGHUP to parent samba process.>From w2k, connect to samba server (user is defined as printer admin),select Printers, refresh so the new printer share shows up, select properties. "No" (do not install driver locally). Under the advanced tab, click the new driver button, install a driver that hasn't been installed before (one that deals with null devmodes okay). OK. Looking at the printers folder again, select properties of the share, and install some options under set device settings. Set preferences, advanced preferences, like stapling. OK. -Client- Now, from a w2k client, install the printer from the samba server ("Yes", set it up on the computer). Properties shows that the device settings appear to be retained (correct options, installed etc). However, the preferences (like stapling) are all back to the defaults. I can change the preferences, and apply, and they are retained. However, now in an application (word, i.e., whatever), select print, the layout tab (so far settings are retained), but once you click on advanced settings you are back to the defaults. What's worse, trying to set those same settings result in conflicts because some features no longer appear to be installed. If you install the printer locally to LPT1 or whatever, everything is retained correctly. The applications pick up the settings specified under Start... Settings... Printers, and it remembers everything installed. Is this at all similar to the problems you are having? ~ Daniel On Monday, February 24, 2003, Gerald (Jerry) Carter wrote:> On Fri, 21 Feb 2003, Ian Eure wrote: > > > > > Some settings seem to work, but I haven't been able to > get the paper size > > > > settings to work. This is a problem because we have > some printers which > > > > only have legal paper, and they require manual > intervention if they get a > > > > job for some other size paper. > > > > > > What version of Samba? What server OS? > > > > > Sorry. I'm running 2.2.3a on Debian 3.0. Custom Linux > 2.4.20 kernel, 1gb ram, > > 2xP3 (Coppermine) @700MHz. > > Can you try to reproduce this using the latest SAMBA_2_2 cvs > code? (or > even 2.2.7a). The 2.2.3a release is fairly old now and a lot > has changed > with regards to ms-rpc printing. > > > > cheers, jerry----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
daniel.jarboe@custserv.com
2003-Mar-03 20:40 UTC
[Samba] Default settings for print drivers
> I'm having a problem where printing preferences (advanced > settings) are > not remembered for 2.2.7a. This behavior differs from installed > printers not associated with samba.Jerry (or anyone else), here's more info on that: Samba's behaviour differs from windows servers, and it makes installed features (device settings) on printers unusable/inaccessable. For example, one driver where installable device settings change printing preferences options is the HP LaserJet 8100 Series PCL (the driver comes with win2000). Install the driver on the samba server, under device settings tab, installable options, let's say that the duplex unit is installed, and that the accessory output bin is HP 3000-Sheet Stapler/Stacker. This'll give us two installable features to work with. After applying, now under the general tab, printing preferences, we'll take advantage of the duplex unit and set the layout (duplex) to be flip on long edge. Apply. Now under advanced, we'll change Stapler from one staple to two staples. Apply, OK. After OK, viewing the properties again shows that it appears to have remembered the settings on the server. If a non-printer admin installs this printer to the client from the samba share, the installable options are lost (no duplex, no stapler), and the printing preferences are back to defaults. This is a problem, as non-printer admins can't do the things they need to do, and because they are not printer admins, they cannot "install" options with device settings. If a printer admin installs this printer to the client from the samba share, a curious thing happens: the installable device settings remain, correct, but the printing preferences get set back to their defaults on the client, AND on the server! So the action of a printer admin installing the printer to a client causes the printing preferences to be lost on the server (and the client). If these printing preferences are set either again on the server, or by the printer admin client, they get changed in both the client and the samba server. Okay, last one. So for printing preferences (layout) i turn duplex back to flip on long edge, and advanced, stapler: to two staples. OK. Now I open up word or i.e. or notepad or whatever... Print... Properties... I've lost my duplex and staple again, and not just the preferences, but the device settings no longer appear installed (there is no place to change duplex settings, or specify the # of staples). Though if I go to Settings... Printers... the settings appear to be there. But no applications can use them? What gives? This is 2.2.7a-1, btw. Do your tests confirm similar behaviour, or is this one of those "works for me" things? Does 3.x behave any better in this area? ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
daniel.jarboe@custserv.com
2003-Mar-03 21:01 UTC
[Samba] Default settings for print drivers
> I had this working in 2.2.8pre2. What server platform are you using?RH 7.2 linux on s390 (2.4.9-38 kernel) glibc-2.2.4-31> some of the bugs have been worked out in 3.0. Give it a shot. But i > would be very interested if your problem persists in 2.2.8pre2.Excellent, it's compiling now, I'll run the rpm -Uhv tomorrow morning before users arrive. I'll let you know how it goes. ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 3 Mar 2003 daniel.jarboe@custserv.com wrote:> > I had this working in 2.2.8pre2. What server platform are you using? > > RH 7.2 linux on s390 (2.4.9-38 kernel) glibc-2.2.4-31yeah. that would be an affected system. 2.2.8pre2 should correct this for you. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+Y8mNIR7qMdg1EfYRAjL+AKCca1AXcugDjQXxtX+sw4tblPvd9ACfUc3U noy39dkf7UHRkrvbPAKZdcs=NFT9 -----END PGP SIGNATURE-----
daniel.jarboe@custserv.com
2003-Mar-04 13:43 UTC
[Samba] Default settings for print drivers
> > > I had this working in 2.2.8pre2. What server platform > are you using? > > > > RH 7.2 linux on s390 (2.4.9-38 kernel) glibc-2.2.4-31 > > yeah. that would be an affected system. 2.2.8pre2 should > correct this > for you.Jerry, thanks, it fixed the biggest problem. Device settings (installed options) are now remembered and applications picked them up correctly, so the appropriate printing preferences can now be set. There is still a problem with remembering printing preferences though. Though the preferences are set on the samba server, when the client installs the driver the printing preferences are lost (though device settings are retained). It gets a little stranger, in that when a printer admin installs the printer on the client, printing preferences are lost on the samba server too. Our windows print guy assured me that with the w2k server, the clients would inherit the printing preferences that were set on the server at the time the printer was installed. ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.