I'm having an odd problem. The system sees my printer, and from the local box I can print fine. I set it up in Samba and it shows up there as well. I can mount it from my WinXP laptop and it doesn't kick back any errors when I try to print. The problem is that the print job never actually gets printed. Nothing in the queue, no errors, just no printing. It's got to be something I have set wrong in the smb.conf file, but I'll be damned if I can figure out what it is. Any help would be appreciated, anyone see what I'm doing wrong: # smb.conf [global] server string = File Server security = SHARE encrypt passwords = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = No dns proxy = No hosts allow = 192.168.1. load printers = yes printing = cups [shared] path = /samba writeable = yes guest ok = Yes [printer] comment = HP Photosmart 1115 path = /var/spool/samba browseable = yes public = yes guest ok = yes writable = no printable = yes printer admin = root use client driver = yes
Hi, I don't use CUPS but I'm sure you will still require a "print command = " in your global section? -----Original Message----- From: samba-bounces@lists.samba.org [mailto:samba-bounces@lists.samba.org] On Behalf Of Michael W. Smith Sent: Thursday, 15 May 2003 12:46 PM To: samba@lists.samba.org Subject: [Samba] Printing into ether I'm having an odd problem. The system sees my printer, and from the local box I can print fine. I set it up in Samba and it shows up there as well. I can mount it from my WinXP laptop and it doesn't kick back any errors when I try to print. The problem is that the print job never actually gets printed. Nothing in the queue, no errors, just no printing. It's got to be something I have set wrong in the smb.conf file, but I'll be damned if I can figure out what it is. Any help would be appreciated, anyone see what I'm doing wrong: # smb.conf [global] server string = File Server security = SHARE encrypt passwords = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = No dns proxy = No hosts allow = 192.168.1. load printers = yes printing = cups [shared] path = /samba writeable = yes guest ok = Yes [printer] comment = HP Photosmart 1115 path = /var/spool/samba browseable = yes public = yes guest ok = yes writable = no printable = yes printer admin = root use client driver = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Nope, that didn't fix it. Checked with the docs too, since it's compiled against libcups it would have just ignored that line anyway. -Mike ---------------------------------------------------------------------------- Every great man was thought insane before he changed the world. Some never changed the world. They were just insane.
Look at /var/spool/samba and see if the job gets transferred there. Use print command = echo "tried to print %s" > /tmp/signal and see what is in signal. Look in the samba logs. Can you print %s from the local host (server)? Usually, this disappearing act is due to a bad driver, IMHO. BTW, I do not know anything about cups. It seems like most people with problems these days with samba printing are using cups. Joel On Wed, May 14, 2003 at 07:46:16PM -0700, Michael W. Smith wrote:> I'm having an odd problem. The system sees my printer, and from the local > box I can print fine. I set it up in Samba and it shows up there as well. > I can mount it from my WinXP laptop and it doesn't kick back any errors > when I try to print. > > The problem is that the print job never actually gets printed. Nothing in > the queue, no errors, just no printing. It's got to be something I have > set wrong in the smb.conf file, but I'll be damned if I can figure out > what it is. Any help would be appreciated, anyone see what I'm doing > wrong: > > # smb.conf > > [global] > server string = File Server > security = SHARE > encrypt passwords = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > local master = No > dns proxy = No > hosts allow = 192.168.1. > load printers = yes > printing = cups > > [shared] > path = /samba > writeable = yes > guest ok = Yes > > [printer] > comment = HP Photosmart 1115 > path = /var/spool/samba > browseable = yes > public = yes > guest ok = yes > writable = no > printable = yes > printer admin = root > use client driver = yes > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba