Sridhar G wrote:
> 
> Hi,
> 
> In LM 7.2 I am not able to print. When I send a test
> page from the client the data is spooled to
> /var/spool/samba dir but its not printing.
> I am sure it's a config problem but not sure what.
> 
> Cheers
> Sridhar
> 
There have been some changes to the Samba and cups print section. And
excellent article is available at http://www.mandrakeforum.com, Cups
server FAQ 1 and 2.

Basically within the /etc/smb.conf file section on printers you must
specify the print command as to how the Windows client sets their
printers.
---------------------------------------------------
# NOTE: If you have a CUPS print system there is no need to 
# specifically define each individual printer.
# You must configure the samba printers as "Generic PostScript Printer"
# on your Windows clients.
# If you wish to configure the printers directly on the Windows clients
# (i.e. use the windows drivers on the clients) you must swap the
# 'print command' line below with the commented one.
[printers]
   comment = All Printers
   path = /var/spool/samba
   browse able = yes
# 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 = /usr/bin/lpr-cups -P %p -o raw %s # using client side
printer drivers.
#   print command = lpr-cups -P %p %s # using cups own drivers (use
generic PostScript on clients).
   lpq command = /usr/bin/lpstat -o %p
   lprm command = /usr/bin/cancel %p-%j
----------------------------------------------------------
Hope this helps

Larry 

-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to