[Samba] printing problems
mz at seh.de
Mon Jan 27 08:14:01 GMT 2003
cups does *not* need any "print command or so" - lines in the smb.conf.
All you need is "printing = cups" and "printcap name=cups".
The rest is internal!
Joel describes all other steps do track down the problem.
Perhaps tell us the versions of samba and cups you're using and
make shure, that your smbd is configured and compiled for cups support
(is "ldd `which smbd`" showing libcups.so.2?).
BTW: cups logs are usually named /var/log/error_log.
On Saturday 25 January 2003 02:35, Joel Hammer wrote:
> Disappearing print jobs are often a driver issue.
> I don't use cups, so:
> Is your print command correct? lpr-cups?
> Does the job get transferred to your /var/spool/samba directory?
> Does the job get removed? I don't see a "rm %s" command in your print
> command. If the job gets transferred but not printed, can you print it out
> with the same command you use in your printing share?
> The samba logs might be useful.
> What do your printing logs show?
> Does you guest user have the rights to use your printing software? BTW,
> I don't see a guest user defined in your smb.conf.
> /n Fri, Jan 24, 2003 at 05:29:54PM +1100, Colin Jenkins wrote:
> > not sure what Iv'e messed up here, but I did have my mandrake 9 server
> > sharing it's printer to my windows boxes with samba. I reinstalled linus
> > on the server, and replaced winxp with mandrake 9 on one workstation. the
> > linux workstation and server each have a printer connected and both
> > machines can use each others printers. I have been trying for a week to
> > get the windows boxes to use the printers to no avail. The printers are
> > found and installed, but the print jobs disappear....no errors. any
> > ideas?
> > oh yeah, below is part of my smb.conf
> > #============== Global Settings =====================
> > [global]
> > workgroup = CURRICULUM
> > netbios name = hal
> > load printers = yes
> > security = server
> > server string = Samba Server %v
> > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
> > printing = cups
> > default = home
> > password server = 192.168.0.1
> > update encrypted = no
> > encrypt passwords = no
> > passwd program = /usr/bin/passwd %u
> > domain logons = no
> > wins server = 192.168.0.1
> > local master = yes
> > preferred master = No
> > domain master = No
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > #============ Share Definitions ===============
> > [printers]
> > comment = All Printers
> > path = /var/spool/samba
> > read only = No
> > create mask = 0700
> > guest ok = yes
> > hosts allow = 192.168.
> > printable = Yes
> > printing = cups
> > use client driver = yes
> > print command = lpr-cups -P %p %s # using cups own drivers (use generic
> > PostScript on clients). lpq command = lpstat -o %p
> > lprm command = cancel %p-%j
> > browseable = yes
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
Martin Zielinski mz at seh.de
More information about the samba