SV: [Samba] Trouble with CUPS/SAMBA - Solved

Bo Mellberg bo.mellberg at jolife.se
Mon Jun 23 16:21:05 GMT 2003


I solved the problem by using:

[global]
        printing = cups
        printcap name = lpstat
        load printers = yes

and in [printers]-section:

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = yes
        writable = no
        printable = yes
        create mode = 0700
        print command = lpr -P %p -o raw %s -r
        lpq command = lpstat -o %p
        lprm command = cancel %p-%j
        printer admin = @users

With great help from:
http://www.buberel.org/linux/cups-samba.php

Hope it helps someone...

/Bo Mellberg
> -----Ursprungligt meddelande-----
> Från: samba-bounces+bosse=mellberg.org at lists.samba.org 
> [mailto:samba-bounces+bosse=mellberg.org at lists.samba.org] För 
> Bo Mellberg
> Skickat: den 23 juni 2003 12:35
> Till: samba at lists.samba.org
> Ämne: SV: [Samba] Trouble with CUPS/SAMBA
> 
> 
> I have read this document. I am trying
> to get the "Simple smb.conf"-settings
> (chapter 7.2.2) to work, but with
> the said results.
> 
> libcups.so is compiled into samba.
> 
> As told earlier, the printer shows up
> in the shares and accepts print jobs,
> but it wont print anything.
> 
> /Bo Mellberg
> 
> 
> > -----Ursprungligt meddelande-----
> > Från: samba-bounces+bosse=mellberg.org at lists.samba.org
> > [mailto:samba-bounces+bosse=mellberg.org at lists.samba.org] För 
> > Kurt Pfeifle
> > Skickat: den 23 juni 2003 11:53
> > Till: samba at lists.samba.org
> > Ämne: [Samba] Trouble with CUPS/SAMBA
> > 
> > 
> > > [Samba] Trouble with CUPS/SAMBA
> > > Bo Mellberg bo.mellberg at jolife.se
> > > Mon Jun 23 10:34:12 GMT 2003
> > > 
> > > 
> > > Hi all,
> > > 
> > > I'm new to this list, as to SAMBA, and I'm
> > > struggling with getting a printer to work
> > > as a shared printer in a Windows network
> > > with a redhat 9 server.
> > > 
> > > The printer is a HP 4550 Color LaserJet, installed
> > > with CUPS to the server, via JetDirect (port 9100).
> > > It prints testpages fine from the Linux-server. It
> > > was installed with the install-printer-utility in
> > > RedHat9.
> > > 
> > > I have then shared the printer via samba, to be
> > > able to access it from the Windows machines (2000, XP).
> > > It shows up fine, and accept print jobs, but nothing 
> happens after 
> > > the jobs has been processed, and no errors are being generated.
> > > 
> > 
> > Please refer to this document (PDF or HTML)
> > 
>     http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/
> 
> and see if it answers your questions.
> 
> > I would be grateful for any help.
> > 
> > /Bo Mellberg
> > 
> 
> Cheers,
> Kurt
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 




More information about the samba mailing list