Hello all, Does anybody share HP Deskjet 6940 and HP Deskjet 6988 off a samba server successfully? I currently using Samba versions 3.0.24 Ubuntu Fiesty Fawn in my production environment. I also the issue occurs on my laptop which is running Gutsy Gibbon 7.10 which uses Samba 3.0.26. The issue is when my users try to print multiple copies they can not through the samba server. These printers are hooked directly to the network and cups is printing directly to the print through raw queue and using sockets. When I did further investigation I found with the driver initialized if I click on printing preferences and click Paper\Quality Tab I get the following message "Function address 0x77c47efe caused a protection fault. (exception code 0xc00000005) The application property sheet page(s) may not function properly." I tried adding the driver with default devmode = yes which I have had to use in the past to get some HP Deskjet printers to work. Here is smb.conf for my Gutsy setup. Any ideas on how to troubleshoot this further? I will try to install 3.0.28 with a vm session of Hardy ubuntu and see if I get the same results. Thanks -Glenn [global] ## Browsing/Identification ### workgroup = HACKERVILLE server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. ; syslog only = no syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes ; guest account = nobody invalid users = root load printers = yes printcap name = cups printer admin = @lpadmin garnold ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m username map = /etc/samba/smbusers [homes] comment = Home Directories browseable = no valid users = %S writable = yes create mask = 0770 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes default devmode = yes ; guest ok = no # Uncomment to allow remote administration of Windows print drivers. # Replace 'ntadmin' with the name of the group your admin users are # members of. write list = root, garnold, @ntadmin
> Does anybody share HP Deskjet 6940 and HP Deskjet 6988 off a samba > server successfully?Yes, we have over a dozen HP6940s shared from a Samba/CUPS print server.> issue is when my users try to print multiple copies they can not through > the samba server.Yep, never been able to make multiple copies work. Quite frustrating.> These printers are hooked directly to the network and > cups is printing directly to the print through raw queue and using > sockets.Yep, same here.> When I did further investigation I found with the driver > initialized if I click on printing preferences and click Paper\Quality > Tab I get the following message "Function address 0x77c47efe caused a > protection fault. (exception code 0xc00000005) The application > property sheet page(s) may not function properly."Yep, but I think *all* print drivers crash in such a manner when used with a Samba printer server. At least all the HP drivers crash when accessing advanced features, as do the drivers for Lanier, Ricoh, and Toshiba document centers.> I tried adding the > driver with default devmode = yes which I have had to use in the past to > get some HP Deskjet printers to work.No, that doesn't help. By, "to work" you mean they don't print at all? Ours print just fine except from certain versions of Acrobat Reader. Just no multiple copies and the advanced features tab of the printer dialog is inaccessible. However, neither of those features work with most [all?] printers in a Samba/CUPS rig. There have been innumerable posts around the internet about the multiple copies issues. I've never found a resolution.> I will try to > install 3.0.28 with a vm session of Hardy ubuntu and see if I get the > same results.You will. -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org
>By, "to work" you mean they don't print at all? Ours print just fine >except from certain versions of Acrobat Reader. Just no multiplecopies>and the advanced features tab of the printer dialog is inaccessible. >However, neither of those features work with most [all?] printers in a >Samba/CUPS rig.Yes, the printers print fine, just can not print multiple pages. What is interesting with Adobe reader 8.1 opening a pdf document we can print multiple pages.>Yep, but I think *all* print drivers crash in such a manner when used >with a Samba printer server. At least all the HP drivers crash when >accessing advanced features, as do the drivers for Lanier, Ricoh, and >Toshiba document centers.When I have problems like this it is usually with Inkjet printers. I have had success with Ricoh and Xerox multifunction copiers. Since samba you have manual setup the copier features to get the copiers to work. For must part I have had success Canon copiers except send print jobs to the mailbox on copiers. I have tried Hardy Heron 8.04 which has samba 3.0.28 same result. Well time to try another distro of Linux. I will download Centos see if it does the same thing. Thanks -Glenn -----Original Message----- From: Adam Tauno Williams [mailto:adamtaunowilliams@gmail.com] Sent: Sunday, March 16, 2008 8:40 PM To: samba Subject: Re: [Samba] HP Deskjet 6940 and 6988> Does anybody share HP Deskjet 6940 and HP Deskjet 6988 off a samba > server successfully?Yes, we have over a dozen HP6940s shared from a Samba/CUPS print server.> issue is when my users try to print multiple copies they can notthrough> the samba server.Yep, never been able to make multiple copies work. Quite frustrating.> These printers are hooked directly to the network and > cups is printing directly to the print through raw queue and using > sockets.Yep, same here.> When I did further investigation I found with the driver > initialized if I click on printing preferences and click Paper\Quality > Tab I get the following message "Function address 0x77c47efe caused a > protection fault. (exception code 0xc00000005) The application > property sheet page(s) may not function properly."Yep, but I think *all* print drivers crash in such a manner when used with a Samba printer server. At least all the HP drivers crash when accessing advanced features, as do the drivers for Lanier, Ricoh, and Toshiba document centers.> I tried adding the > driver with default devmode = yes which I have had to use in the pastto> get some HP Deskjet printers to work.No, that doesn't help. By, "to work" you mean they don't print at all? Ours print just fine except from certain versions of Acrobat Reader. Just no multiple copies and the advanced features tab of the printer dialog is inaccessible. However, neither of those features work with most [all?] printers in a Samba/CUPS rig. There have been innumerable posts around the internet about the multiple copies issues. I've never found a resolution.> I will try to > install 3.0.28 with a vm session of Hardy ubuntu and see if I get the > same results.You will. -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
I have had no problems with HP Laser printers or Lexmark Laser printers with the point-n-print on Samba. The only time I have had problems has been HP Deskjet or Business jet printers and Canon copiers detecting the features of the copier. On the Canon Copier I have worked out most of the problems with manual setting the options of the copier on the servers. -Glenn -----Original Message----- From: Michael Heydon [mailto:michaelh@jaswin.com.au] Sent: Sunday, March 16, 2008 9:28 PM To: adamtaunowilliams@gmail.com Cc: samba Subject: Re: [Samba] HP Deskjet 6940 and 6988 Adam Tauno Williams wrote:>> Does anybody share HP Deskjet 6940 and HP Deskjet 6988 off a samba >> server successfully? >> > <snip> >> When I did further investigation I found with the driver >> initialized if I click on printing preferences and clickPaper\Quality>> Tab I get the following message "Function address 0x77c47efe caused a >> protection fault. (exception code 0xc00000005) The application >> property sheet page(s) may not function properly." >> > > Yep, but I think *all* print drivers crash in such a manner when used > with a Samba printer server. At least all the HP drivers crash when > accessing advanced features, as do the drivers for Lanier, Ricoh, and > Toshiba document centers. > > <snip> >This certainly isn't the case here. We have about a dozen Lexmark printers, about half a dozen HP LJ2430s and LJ4250s and one Konica copier. All of them work fine, I can access all tabs on the driver settings (the HP ones are a little slow to come up but they do work). Are you using point-n-print or are you loading drivers onto each machine? *Michael Heydon - IT Administrator * michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
I tried Centos 5.1 samba version 3.0.25b with my samba smb.conf and I still get the General Protection fault when I click on the Paper\Quality tab under Print Preferences on the HP Deskjet 6940. Here is the config that I used on Ubuntu and Centos. I just want to make sure that I have everything configured right with samba. Will samba 3.2 fix this issue? -Glenn [global] ## Browsing/Identification ### workgroup = HACKERVILLE server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. ; syslog only = no syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes ; guest account = nobody invalid users = root load printers = yes printcap name = cups printer admin = @lpadmin garnold ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m username map = /etc/samba/smbusers [homes] comment = Home Directories browseable = no valid users = %S writable = yes create mask = 0770 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes default devmode = yes ; guest ok = no # Uncomment to allow remote administration of Windows print drivers. # Replace 'ntadmin' with the name of the group your admin users are # members of. write list = root, garnold, @ntadmin
Glenn, You might consider changing your printing architecture so that instead of using the Windows print driver for the HP Deskjet, you create the printer in Linux using the standard CUPS procedures for that printer and then share the standard Postscript driver on the samba share. In this configuration, you avoid any problems with the HP Deskjet driver for windows. My experience is that the HPIJS driver bundled with most versions of Linux is quite good. A pretty good description of how to make this configuration work can be found at: http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876 Regards, Mark Gannon -- ?Why dont you write books people can read?" Nora Joyce, to her husband James -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.samba.org/archive/samba/attachments/20080316/16dbc2a8/attachment.bin
Thanks Mark, I will take a look at that option. -Glenn -----Original Message----- From: Mark Gannon [mailto:mark@truenorth.nu] Sent: Monday, March 17, 2008 1:35 AM To: samba@lists.samba.org Subject: Re: [Samba] HP Deskjet 6940 and 6988 Glenn, You might consider changing your printing architecture so that instead of using the Windows print driver for the HP Deskjet, you create the printer in Linux using the standard CUPS procedures for that printer and then share the standard Postscript driver on the samba share. In this configuration, you avoid any problems with the HP Deskjet driver for windows. My experience is that the HPIJS driver bundled with most versions of Linux is quite good. A pretty good description of how to make this configuration work can be found at: http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876 Regards, Mark Gannon -- "Why dont you write books people can read?" Nora Joyce, to her husband James
Michael, Yes, I am trying to use point an print. I will look at the net command to set printer rights. Thanks -Glenn -----Original Message----- From: Michael Heydon [mailto:michaelh@jaswin.com.au] Sent: Monday, March 17, 2008 2:15 AM To: Glenn Arnold Cc: samba@lists.samba.org Subject: Re: [Samba] HP Deskjet 6940 and 6988 Glenn Arnold wrote:> I tried Centos 5.1 samba version 3.0.25b with my samba smb.conf and I > still get the General Protection fault when I click on thePaper\Quality> tab under Print Preferences on the HP Deskjet 6940. Here is theconfig> that I used on Ubuntu and Centos. I just want to make sure that I have > everything configured right with samba. Will samba 3.2 fix thisissue?>General Protection fault is an actual crash, short of (somehow) overwriting memory, it is not possible for one process to cause another one to crash. Crashes occur because the program that crashed, failed. If the Windows driver has a bug then that isn't something that can be fixed by samba (samba might impliment a work around by not doing something that induces the crash, but the flaw in the crashing program will still exist it will just be hidden). Are you using point and print? Is the user on the client a local administrator?> <snip> > printer admin = @lpadmin garnold > <snip> >This is depreciated, have you granted permissions using "net"? *Michael Heydon - IT Administrator * michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>
Roel, Do you know if Microsoft has a driver for HP Deskjet 6940? The only OS that I know of new of too have this driver is probably Vista. Eek! Probably would not work with XP and W2k. Thanks -Glenn -----Original Message----- From: Roel van Meer [mailto:rolek@alt001.com] Sent: Monday, March 17, 2008 4:58 AM To: samba Subject: Re: [Samba] HP Deskjet 6940 and 6988 Adam Tauno Williams writes:>> issue is when my users try to print multiple copies they can notthrough>> the samba server. > > Yep, never been able to make multiple copies work. Quite frustrating.In our experience the drivers provided by HP do have this problem, but the drivers which are bundled with various windowsen usually don't; these drivers usually work without problems. You might try those. Regards, roel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba