Llu'is Batlle
2002-Aug-13 23:17 UTC
[Samba] Win2k explorer.exe dies when dealing with printers
Hi there. I've been some days dealing with printing problems in Win2k clients, having a Samba 2.2.5 parched with "parse_sec.patch" as a printer server. When I try to print anything, explorer.exe dies. Sometimes dies spoolsv.exe, or sometimes all the system locks (it may be because explorer do not restart). It happens to all my Win2k clients with Service Pack 2, and only when using HP drivers made by HP. If I use HP printer drivers made by Microsoft, I don't have any problem. I also have an IBM Infoprint 12, and it doesn't give any problem with its drivers. The problem is related to HP drivers (latest versions). The HP printers I deal with are: - Two HP DeskJet 1220C - Two HP DeskJet 920C - One HP BusinessInkJet 2230 - One HP DesignJet 750C+ I just read in the archives that the patch from Jerry Carter (HP) could help, but it just doesn't. :(( Here goes my 'smb.conf' file: ------------------------------------------------------------------ [global] netbios name = CHAPULIN workgroup = LEMMINGS password server = HOUSTON log file = /usr/local/samba/var/log.%m log level = 2 ; security settings security = server ; encrypted passwords are a requirement for a PDC encrypt passwords = no guest account = smb_guest ######### Printing printcap name = /etc/printcap printing = cups printer admin = root, @ntadmin ########## Printer drivers [print$] path = /usr/local/samba/lib/printers guest ok = no browseable = yes read only = no write list = @ntadmin, root ########## Shared resources [jarjarbinks] path = /usr/local/samba/var/spool printer name = jarjarbinks browseable = yes available = yes guest ok = no writable = no printable = yes # default devmode = yes # For debug purposes: print command = /bin/cat %s > /tmp/printlog-%p; rm %s ; print command = lpr -o raw -r -P %p %s write list = root, @ntadmin [amidala] path = /usr/local/samba/var/spool printer name = amidala browseable = yes available = yes guest ok = no writable = no printable = yes # default devmode = yes # For debug purposes: print command = /bin/cat %s > /tmp/printlog-%p; rm %s ; print command = lpr -o raw -r -P %p %s write list = root, @ntadmin [tmp] comment = Temporary file space path = /tmp read only = no public = yes ----------------------------------------------------- EOF I hope someone could help! Thanks!
Llu'is Batlle
2002-Aug-14 03:13 UTC
[Samba] Win2k explorer.exe dies when dealing with printers
Uh.. thank you very much John, but that hasn't helped. :( I have a just installed Win2k with SP2; no Office or similar package. The problem is related only to the Win2k spooler. I've tried installing the drivers locally, or from the [print$] share. I know at the end that's the same; but I just wanted to point that the problem appear in any way you install the driver. The patch I mentioned from Jerry should help solving those problems, but I don't get positive results. Thank you very much anyway! :) On Wed, Aug 14, 2002 at 10:29:47AM +0100, John Russell wrote:> This sounds similiar to problems I had with Word/Office and printers when > using Samba as a PDC. Word/Office would crash, later on Explorer would not > start properly on some accounts and sometimes the workstation bombed out. > The problem was the default printer setting on the workstation. Make sure > the install software is accessible by the workstation i.e. install locally > especially if it's on a print server but also for shares. This may be the > cause of the disparity between HP and M$ drivers that you mention? > > John Russell > Digital Media Lab > University of Sussex > > ----- Original Message ----- > From: "Llu'is Batlle" <lluisbatlle@tavil.net> > To: <samba@lists.samba.org> > Sent: Wednesday, August 14, 2002 9:17 AM > Subject: [Samba] Win2k explorer.exe dies when dealing with printers > > > > Hi there. > > > > I've been some days dealing with printing problems in Win2k clients, > having > > a Samba 2.2.5 parched with "parse_sec.patch" as a printer server. > > > > When I try to print anything, explorer.exe dies. Sometimes dies > spoolsv.exe, > > or sometimes all the system locks (it may be because explorer do not > restart). > > > > It happens to all my Win2k clients with Service Pack 2, and only when > using > > HP drivers made by HP. If I use HP printer drivers made by Microsoft, I > don't > > have any problem. I also have an IBM Infoprint 12, and it doesn't give any > > problem with its drivers. > > The problem is related to HP drivers (latest versions). > > > > The HP printers I deal with are: > > - Two HP DeskJet 1220C > > - Two HP DeskJet 920C > > - One HP BusinessInkJet 2230 > > - One HP DesignJet 750C+ > > > > > > I just read in the archives that the patch from Jerry Carter (HP) could > help, > > but it just doesn't. :(( > > > > Here goes my 'smb.conf' file: > > ------------------------------------------------------------------ > > > > [global] > > netbios name = CHAPULIN > > workgroup = LEMMINGS > > password server = HOUSTON > > > > log file = /usr/local/samba/var/log.%m > > log level = 2 > > > > ; security settings > > security = server > > > > ; encrypted passwords are a requirement for a PDC > > encrypt passwords = no > > > > guest account = smb_guest > > > > ######### Printing > > printcap name = /etc/printcap > > printing = cups > > printer admin = root, @ntadmin > > > > > > ########## Printer drivers > > > > [print$] > > path = /usr/local/samba/lib/printers > > guest ok = no > > browseable = yes > > read only = no > > write list = @ntadmin, root > > > > > > ########## Shared resources > > > > > > [jarjarbinks] > > path = /usr/local/samba/var/spool > > printer name = jarjarbinks > > browseable = yes > > available = yes > > guest ok = no > > writable = no > > printable = yes > > # default devmode = yes > > # For debug purposes: > > print command = /bin/cat %s > /tmp/printlog-%p; rm %s > > ; print command = lpr -o raw -r -P %p %s > > write list = root, @ntadmin > > > > [amidala] > > path = /usr/local/samba/var/spool > > printer name = amidala > > browseable = yes > > available = yes > > guest ok = no > > writable = no > > printable = yes > > # default devmode = yes > > # For debug purposes: > > print command = /bin/cat %s > /tmp/printlog-%p; rm %s > > ; print command = lpr -o raw -r -P %p %s > > write list = root, @ntadmin > > > > [tmp] > > comment = Temporary file space > > path = /tmp > > read only = no > > public = yes > > > > ----------------------------------------------------- EOF > > > > I hope someone could help! > > > > Thanks! > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba >----- End forwarded message -----
Gerald (Jerry) Carter
2002-Aug-14 21:12 UTC
[Samba] Win2k explorer.exe dies when dealing with printers
On Wed, 14 Aug 2002, Llu'is Batlle wrote:> Hi there. > > I've been some days dealing with printing problems in Win2k clients, having > a Samba 2.2.5 parched with "parse_sec.patch" as a printer server. > > When I try to print anything, explorer.exe dies. Sometimes dies spoolsv.exe, > or sometimes all the system locks (it may be because explorer do not restart).Try setting "default devmode = yes" for this printer.> It happens to all my Win2k clients with Service Pack 2, and only when using > HP drivers made by HP. If I use HP printer drivers made by Microsoft, I don't > have any problem.The driver son the MS install CD are very stripped down and are really not the same drivers as the ones HP distributes.> I also have an IBM Infoprint 12, and it doesn't give any > problem with its drivers. > The problem is related to HP drivers (latest versions). > > The HP printers I deal with are: > - Two HP DeskJet 1220C > - Two HP DeskJet 920C > - One HP BusinessInkJet 2230 > - One HP DesignJet 750C+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--