Ryan Novosielski
2003-May-23 17:22 UTC
[Samba] "Additional Drivers" and Print Window Refresh
I have RTFM'd, so excuse me if I missed something in the manual. :) 1) When I attempt to add additional drivers (the inital driver worked just fine, when using the instructions in John's HOWTO), I get the following error: "The printer driver you selected is either not compatible with your current version of Windows, or it may not be available. Select a compatible driver from the list, or contact your administrator for help." ...as this is an M$ error, I've been having trouble figuring it out as far as Samba goes. Does anyone know why I wouldn't be able to add Win 95-98 drivers with Win2k Professional to a Samba PRINT$ share? The Win2k driver I added first was fine. A possibly related problem is my inability to use enumprinters: # /products/samba/bin/rpcclient //localhost -U novosirj -c "enumprinters" Password: cmd = enumprinters rpc_api_pipe: cmd 26 on pipe 7530 failed to return data. result was NT_STATUS_UNSUCCESSFUL 2) I have an NT4 machine that I'm using as a print monitor, to show users the queue when they stand near the printer. However, when switching from '98 to NT (NT works better for this purpose, from what I've seen), I am now having problems with the queue not updating. Sometimes there will be no change in the queue until I hit F5 -- not the way I want it to work. "lpq cache time= " seems not to have anything to do with it. Anyone got some answers? ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
Ryan Novosielski novosirj at umdnj.edu> Fri May 23 13:22:36 GMT 2003 > > > I have RTFM'd, so excuse me if I missed something in the manual. :) >Probably the authors missed to put in a note reminding the readers to always provide versions and software info if the request help on mailing lists....> 1) When I attempt to add additional drivers (the inital driver worked just > fine, when using the instructions in John's HOWTO),John's HOWTO Collection will soon include this drafted document: http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ This one is very much extended and should soon count as the real reference when RTFM-ing ;-)> I get the following > error: > > "The printer driver you selected is either not compatible with your > current version of Windows, or it may not be available. Select a > compatible driver from the list, or contact your administrator for help."Please heck the sections http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-9th-draft.html#10 and http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-9th-draft.html#11_2_10> ...as this is an M$ error, I've been having trouble figuring it out as far > as Samba goes. Does anyone know why I wouldn't be able to add Win 95-98 > drivers with Win2k Professional to a Samba PRINT$ share? The Win2k driver > I added first was fine. A possibly related problem is my inability to use > enumprinters: > > # /products/samba/bin/rpcclient //localhost -U novosirj -c "enumprinters" > Password: > cmd = enumprinters > rpc_api_pipe: cmd 26 on pipe 7530 failed to return data. > result was NT_STATUS_UNSUCCESSFULThis could be a Samba/rpcclient bug in your particular version of Samba....> 2) I have an NT4 machine that I'm using as a print monitor, to show users > the queue when they stand near the printer. However, when switching from > '98 to NT (NT works better for this purpose,NT printing works very differently from Win 98 printing...> from what I've seen), I am > now having problems with the queue not updating. Sometimes there will be > no change in the queue until I hit F5 -- not the way I want it to work. > "lpq cache time= " seems not to have anything to do with it. > > Anyone got some answers? >No -- but some questions for you to answer first.... ;-) Which is the UNIX print subsystem you are using on the Samba host? CUPS? LPRng? Something else? Which version of it? Which version of Samba are you running? Cheers, Kurt
Ryan Novosielski novosirj at umdnj.edu wrote on Samba-Digest:> Fri May 23 22:07:56 GMT 2003> On Sat, 24 May 2003, Kurt Pfeifle wrote:>> John's HOWTO Collection will soon include this drafted document: >> >> http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ >> >> This one is very much extended and should soon count as the real reference >> when RTFM-ing ;-) > > Actually, much of the wording is familiar to me... is it just that this is > an amended version of John's HOWTO, or would I have had to have seen this > to remember it?I don't know about what you saw. The content in John's version is vastly amended (I'd guess going from 38 pages to > 100 is vast). A lot of detailed explanations are now included; rpcclient with print-related sub-commands to populate [print$] with driver files is documented for the first time with a lot of examples. Setting the correct printer device mode is explained and a lot more (it is not yet finished and polished, but already helped quite some people to get their print setup working). Cheers, Kurt
Eirik Thorsnes
2003-May-25 12:39 UTC
[Samba] "Additional Drivers" and Print Window Refresh
Ryan Novosielski wrote:> I have RTFM'd, so excuse me if I missed something in the manual. :) > > 1) When I attempt to add additional drivers (the inital driver worked just > fine, when using the instructions in John's HOWTO), I get the following > error: > > "The printer driver you selected is either not compatible with your > current version of Windows, or it may not be available. Select a > compatible driver from the list, or contact your administrator for help." >I have got this error on several occasions, once (at least) it was related to different naming of the printer driver in different windows versions (that is: bug by the driver manufacturer). At one point I got the driver installed by going to the driver tab in the "server properties" in the "printers" section (as seen from a win2k/XP workstation). (To get to it you right-click on a white space in the windows explorer window instead of right-clicking a particular printer). Once there I clicked the driver in question, then on "replace", but instead of giving it the same driver - I gave it the driver for the additional windows version. It then added this driver to the list (instead of replacing the other). I hope this explanation wasn't too confusing. Perhaps this (in a better wording) should be included in the updated printing howto? Eirik Thorsnes -- "Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software." -- Bill Gates 1976 We are still waiting ....
Ryan Novosielski novosirj at umdnj.edu> Tue May 27 13:46:58 GMT 2003 >[....]> Does anyone know how to REMOVE drivers from a Win2k or Win98 machine in > order to find out?To remove a driver, you must first delete *every* printer (=printqueue) associated with it.
to remove all instances of printer drivers, dlls, reg entries etc.. you need to use a "deleter". Kyocera include one in their laser driver download package. We have found its the only reliable way to upgrade/replace printer drivers particularly on Xp-pro. regards, Richard Coates.