I have a win98 box that needs to print to my local printer.  I tried setting 
it up under samba to use the cups printers, but couldn't get it to work.  
Then Stephen Kuhn told me to load the windows printer driver onto the box, 
print nothing until it had finished all its rebooting schemozzle, then print 
a test page (having swapped the driver line in smb.conf).  It worked fine.

I don't need to use the printer very often from that box, but now it seems 
that it simply isn't working any more.  Today I uninstalled it, re-installed 
it, but still I get 'Windows was unable to print this page.  Do you want to 
start the troubleshooted?"

It worked once, so why not now?

Relevant part of smb.conf follows:

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
# to allow user 'guest account' to print.
        guest ok = yes
        writable = no
        printable = yes
        create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
        print command = lpr-cups -P %p -o raw %s -r
#       using client side printer drivers.
;   print command = lpr-cups -P %p %s # using cups own drivers (use generic
# PostScript on clients).
# The following two commands are the samba defaults for printing=cups
# change them only if you need different options:
;   lpq command = lpq -P %p
;   lprm command = cancel %p-%j

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

Any ideas, please?

Anne
-- 
Registered Linux User No.293302


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to