[Samba] Redhat 8 printcap

Barry, Christopher cbarry at infiniconsys.com
Sat Mar 22 00:10:30 GMT 2003


Baxter,
	I could be wrong, but I thought /etc/printcap was the config for bsd style printing - not cups. Anyone?


--
Christopher Barry
Manager of Information Systems
InfiniCon Systems
http://www.infiniconsys.com

-----Original Message-----
From: Baxter Shepperson [mailto:baxshep at cox.net]
Sent: Friday, March 21, 2003 5:24 PM
To: samba at samba.org
Subject: [Samba] Redhat 8 printcap


  I am trying to printing working on my Redhat 8 Samba box.  Shared drives 
work fine so there's no problem w/ connectivity.  I can see the printer from 
Windows boxes but nothing ever prints!  /var/spool/cups has had the 
permissions changed appropriately.  Here's my smb.conf
global]
        path = /var/spool/cups
        passwd program = /usr/bin/passwd %u
        domain master = True
        printing = cups
        dns proxy = No
        null passwords = Yes
        encrypt passwords = Yes
        valid users = bax morbo amy nobody
        invalid users = root
        wins support = true
        printcap name = /etc/printcap
        max log size = 1000
        hosts allow = 192.168.1.
        obey pam restrictions = Yes
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
        username level = 8
        map to guest = Bad User
        security = user
        message command = /bin/sh -c '/usr/bin/linpopup
        server string = %h server (Samba %v)
        workgroup = SHEP
        syslog = 0
        netbios name = PRINTSERVER
        log file = /var/log/samba/log.%m
        load printers = yes
        os level = 35
        default = printers

[homes]
        path = %H
        writeable = yes
        valid users = bax,morbo,amy,nobody
        comment = Home Directories
        public = yes
        create mask = 0700
        directory mask = 0700
        level 2 oplocks = yes
[printers]
        comment = All Printers
        path = /tmp
        guest ok = Yes
        use client driver = Yes
        printable = yes
        print command = lp -d %p -o raw %s; rm -f %s
        create mask = 0700

[Laserjet]
        writable = yes
        browseable = yes
        use client driver = Yes
        guest ok = Yes
        oplocks = Yes
        printable = yes
        print command = lp -d %p -o raw %s; rm -f %s
        printer name = Laserjet
        create mask = 0700

-- 
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