For those people experiencing Explorer.exe crashes when working with printers, please try this patch ftp.samba.org/pub/jerry/patches/post-2.2.5/parse_sec.patch It was a size vs. alignment bug when marshalling security descriptors for the PRINTER_INFO_2 structure. 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--
Thanks Jerry,
SANTOS Alexandre Moutinho
2002-Jun-27 01:48 UTC
[Samba] parsing fix for spoolss & samba-2.2.5
I have the same problem with a HP 8100DN. I can't use the duplex unit from Office, although it is configured in the properties tab (Control Panel). I had this working once. It was before I uploaded the driver to the server using APW. I added this printer installing a local driver (there was no driver uploaded yet) and everything worked well. Hope this can bring some light:-) Alex -----Original Message----- From: Glen Gibb [mailto:grg@ridley.unimelb.edu.au] Sent: quinta-feira, 27 de Junho de 2002 7:11 To: Gerald (Jerry) Carter Cc: samba@lists.samba.org Subject: Re: [Samba] parsing fix for spoolss & samba-2.2.5 On Wed, 26 Jun 2002, Gerald (Jerry) Carter wrote:> On Thu, 27 Jun 2002, Glen Gibb wrote: > > > However, I still have the problem that the presence of things such as > > additional paper trays/duplex units etc is forgotten by applications > > (but is remembered when I go to the printer preferences through printers > > share/printers in control panel). > > Try this test against an NT print server. My experience has been that > application (such as Office) do not remember this stuff anyways.... >I'm afraid I don't have an NT print server to compare it with. However, perhaps my explanation is not as clear as it should be and is causing some misunderstanding. My problem is this: I have a number of HP LaserJet 4050n with additional paper trays and some also with duplexing unit (using the current driver from HP). I have configured the driver (now supplied correctly from Samba thanks to the recent patch) by enabling the duplex option/additional paper tray for the appropriate printers. If I close the printer/logoff/restart or any thing similar and return to the printer properties via the Printers section in control panel or directly via the printer share, the presence of the duplex unit and additional paper tray is remembered (so that seems to be working ok). However, when I go to an application (such as Mozilla) and try to print, when I select the properties for the printer it doesn't give me the option of double siding or using paper from the additional tray - implying that the driver doesn't realise that either accessory is installed (and I can return to Control Panel and confirm that these accessories are still registered as being installed). Hopefully this has clarified my problem a little. Thanks in advance Glen Gibb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I'm having some trouble with saving printing settings, as well. While the "printer admin" is free to save settings, such as duplex printing, any "non-printer admin" user is unable to get these settings from the server. HOWEVER, if I am a printer admin on another workstation, I'm able to get my printer settings to the client. Here's a more detailed description: 1) As a printer admin user, I set my HP8000 printer settings to turn duplex on (it's a check box in the options), using the "HP LaserJet 8000 Series PCL 6" driver. 2) As a "normal" user, I connect to the printer. As expected, all the options available to the printer admin, such as switching on and off duplex printing, are greyed out. HOWEVER, my HP 8000 driver does not have an option under "printing preferences" for double-sided printing. If I look in the "Properties", where the "server side" settings for the printer are, the duplex option is NOT checked (and greyed out, of course, since I'm not the admin) 3) I use unix "nobody" to map all unknown/normal users to. Soo, I say printer admin = nobody, plus the preexisting users. This makes everyone a printer admin, right? So...I connect to the printer, and have full control over it - problem solved. I can "turn on" duplex printing. There's a big problem with this, though - ANYONE can turn OFF the duplex just as easily as turning it ON, and since this is set on the server, it applies to everyone..... can anyone say mucho help-desk calls? In sum, it seems that the "server-side" settings for printers ARE being saved (such as options indicating that a printer supports duplex printing), but they are not being passed to non-privileged clients. In the case of HP 5si printers, I found that the Mopier driver set got around this, since the settings indicating that the printer is a duplex printer are stored client side and set by the client. Hope that helps...I'll be happy to do answer questions or do some testing to help resolve the problem. Thanks very much for looking into this. -Tom -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Thursday, June 27, 2002 12:05 PM To: SANTOS Alexandre Moutinho Cc: 'Glen Gibb'; samba@lists.samba.org Subject: RE: [Samba] parsing fix for spoolss & samba-2.2.5 On Thu, 27 Jun 2002, SANTOS Alexandre Moutinho wrote:> I have the same problem with a HP 8100DN. I can't use the duplex unit > from Office, although it is configured in the properties tab (Control > Panel). I had this working once. It was before I uploaded the driver to > the server using APW. I added this printer installing a local driver > (there was no driver uploaded yet) and everything worked well. > > Hope this can bring some light:-)ok. I believe you. I'll take a look at this on Monday. Bug me if you haven't heard something by the middle of next week. 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-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Jerry,> I'm having some trouble with saving printing settings, as > well. While the > "printer admin" is free to save settings, such as duplex printing, any > "non-printer admin" user is unable to get these settings from > the server.The problem descriptions posted by others, especially Tom Klopf on Mon, 1 Jul 2002, exactly point to the error or better "lack of feature" after upgrade to latest samba. Our setup is latest cvs samba version, SuSE 7.2, XFS, HP LaserJet 4000N and HP LaserJet 5M printers, in case thats of any interest. Connecting as printer admin works fine, all special driver settings regarding additional paper tray, printer memory and so on are installed by double click. Now, the strange thing is, whenever normal users try to install the printers, printing queues depending on the printer drivers extra feature (that is additional paper tray nr. 3 for example) are installed with default settings. For example: - la4_tray1: queue points to tray 1, manual feed, high resolution -> no problems - la4_tray2: queue points to tray 2 -> no problems - la4_tray3: queue points to extra tray 3, reduced resolution, save toner, recycle paper and so on -> default settings loaded - la4_tray3_2on1: queue points to extra tray 3, reduced resolution, ..., 2 pages on 1 paper -> default settings loaded I sure hope this description helps to getting the problem fixed, central printer driver/queue settings for our department was a great feature we all would love to see working again :-) Thanks a lot for your and the samba teams great effort providing us with very valuable software, Ulrich Kohlhase
Hey all, I'd like to add to what I saw with this problem. Apparently, the settings for a shared printer, such as indicating a printer is "duplex", is being passed to non-privileged clients occasionally. I haven't narrowed down the exact conditions that allow for this, but I have noticed the following: (Please note that I'm not totally sure of the consistency/replicability of this - I would use it more as a hint than a rule for the problem) When using the PCL "unidriver"* for the HP8000, if I change the "Duplex Unit" option to "Installed" as printer admin, the change does not get updated to the client. HOWEVER, if I change another setting at the same time, such as setting how much ram the printer has, and also change the duplex option, both changes DO get sent to the client - everything seems to work. This can only happen once, though. If I do a similar operation, changing the ram again and setting the duplex option to "not installed", the changes are NOT passed to the client. My layman guess for what the problem is: it seems whatever is handling the options switching is only handling it "some of the time", and mostly when some other "new" option has been changed to trigger a change on the non-privileged client. Additionally, what may seem like an unchanged client may actually be the client reverting to defaults when something went wrong...still looking at the problem. * This is the driver that comes packaged with the Windows 2000 CD. The driver string is "HP LaserJet Series PCL" (notice that the PCL version is not given) P.S. - If it sounds likes I'm obsessing over this problem, it's because we have about 100 or so HP printers I'm trying to get the driver download feature to work for, so there :P :). -----Original Message----- From: Klopf, Tom [mailto:Tom.Klopf@mms.gov] Sent: Monday, July 01, 2002 9:13 AM To: 'samba@lists.samba.org' Cc: 'jerry@samba.org' Subject: RE: [Samba] parsing fix for spoolss & samba-2.2.5 I'm having some trouble with saving printing settings, as well. While the "printer admin" is free to save settings, such as duplex printing, any "non-printer admin" user is unable to get these settings from the server. HOWEVER, if I am a printer admin on another workstation, I'm able to get my printer settings to the client. Here's a more detailed description: 1) As a printer admin user, I set my HP8000 printer settings to turn duplex on (it's a check box in the options), using the "HP LaserJet 8000 Series PCL 6" driver. 2) As a "normal" user, I connect to the printer. As expected, all the options available to the printer admin, such as switching on and off duplex printing, are greyed out. HOWEVER, my HP 8000 driver does not have an option under "printing preferences" for double-sided printing. If I look in the "Properties", where the "server side" settings for the printer are, the duplex option is NOT checked (and greyed out, of course, since I'm not the admin) 3) I use unix "nobody" to map all unknown/normal users to. Soo, I say printer admin = nobody, plus the preexisting users. This makes everyone a printer admin, right? So...I connect to the printer, and have full control over it - problem solved. I can "turn on" duplex printing. There's a big problem with this, though - ANYONE can turn OFF the duplex just as easily as turning it ON, and since this is set on the server, it applies to everyone..... can anyone say mucho help-desk calls? In sum, it seems that the "server-side" settings for printers ARE being saved (such as options indicating that a printer supports duplex printing), but they are not being passed to non-privileged clients. In the case of HP 5si printers, I found that the Mopier driver set got around this, since the settings indicating that the printer is a duplex printer are stored client side and set by the client. Hope that helps...I'll be happy to do answer questions or do some testing to help resolve the problem. Thanks very much for looking into this. -Tom -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Thursday, June 27, 2002 12:05 PM To: SANTOS Alexandre Moutinho Cc: 'Glen Gibb'; samba@lists.samba.org Subject: RE: [Samba] parsing fix for spoolss & samba-2.2.5 On Thu, 27 Jun 2002, SANTOS Alexandre Moutinho wrote:> I have the same problem with a HP 8100DN. I can't use the duplex unit > from Office, although it is configured in the properties tab (Control > Panel). I had this working once. It was before I uploaded the driver to > the server using APW. I added this printer installing a local driver > (there was no driver uploaded yet) and everything worked well. > > Hope this can bring some light:-)ok. I believe you. I'll take a look at this on Monday. Bug me if you haven't heard something by the middle of next week. 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-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Reasonably Related Threads
- AW: duplex settings [ was Re: parsing fix for spoolss & s amba-2.2.5]
- AW: duplex settings [ was Re: parsing fix for spoolss & s amba-2.2.5]
- error: "printing subsystem unavailable" when trying t o print test page to samba server
- Samba 2.2.5 printing problems
- Anyone successfully using a HP 8000 DN (with JetDirect module and IP) with samba?