[Samba] Should be easy-printing problem rest of Samba works

mkraus at capitalholdings.com.au mkraus at capitalholdings.com.au
Tue Nov 19 04:29:01 GMT 2002


Hi Baxter,

You don't have any print command listed in your smb.conf - so print jobs 
are probably being spooled, but not printed.

Below is are the printer sections from our smb.conf

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side 
printer drivers.
        browseable = Yes

[print$]
        path = /var/lib/samba/printers
        write list = @adm root

[HPLJ2200]
        comment = HP LaserJet 2200dn in print room
        path = /var/spool/samba
        read only = No
        create mask = 0700
        guest ok = Yes
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side 
printer drivers.
        lppause command = /usr/bin/enable %p
        lpresume command = /usr/bin/disable %p
        queuepause command = /usr/bin/enable %p
        queueresume command = /usr/bin/disable %p
        printer name = HPLJ2200
        oplocks = No


HTH

Mike
---
Michael S. E. Kraus
Administration
Capital Holdings Group (NSW) Pty Ltd
mkraus at capitalholdings.com.au
phone (02) 9955 8000 fax (02) 9955 8144




Baxter Shepperson <baxshep at cox.net>
Sent by: samba-admin at lists.samba.org
19/11/2002 03:14 PM

 
        To:     samba at lists.samba.org
        cc: 
        Subject:        [Samba] Should be easy-printing problem rest of Samba works


  Hi list.  I've just got Samba up and running as a fileserver just 
fine.  Now I'm trying to use it as a printserver using CUPS.  I can see 
said printer via Network Neighborhood on XP boxes and add it in Windows 
but no print jobs complete.  No errors in Windows yet no printing start 
on the printer.  Would this be a question of spool permissions?  Right 
now I'm using spool permissions of 1777 on /var/spool/cups.  I am 
posting my printers sections below in hopes of this being (probably) an 
easy fix from one of my fellow list members.  Thanks in advance!


[printers]
    path = /var/spool/cups
    use client driver = Yes
    guest ok = Yes
    comment = All Printers
    printable = yes
    create mask = 0700

[Laserjet]
    path = /var/spool/cups
    writable = yes
    use client driver = Yes
    guest ok = Yes
    oplocks = No
    printable = yes
    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