[Comm] Re: Samba printer

Andrei Lomov =?iso-8859-1?q?a=2Elomov_=CE=C1_mail=2Eru?=
Сб Май 28 19:14:51 MSD 2005


Michael Shigorin wrote:

> On Thu, May 26, 2005 at 08:32:39PM +0700, Andrei Lomov wrote:
>> К тому же, все шары на этой машине (smb://gymnasy/left)
>> видны, кроме принтеров. Может, в этом дело?
> 
> grep -i print /etc/samba/smb.conf
> ?
> 
[andrei на student03 andrei]$ grep -i print /etc/samba/smb.conf
# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# if you want to automatically load your printer list rather
   printcap name = cups
   load printers = yes
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
   printing = cups
# Samba 3.0 supports the Windows NT-style point-and-print feature. To
# use this, you need to be able to upload print drivers to the samba
# server. The printer admins (or root) may install drivers onto samba.
# Note that this feature uses the print$ share, so you will need to
# printer admin = @<group> <user>
;   printer admin = @adm
# NOTE: If you have a CUPS print system there is no need to
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to swap the 'print command' line below with the commented one.
;[printers]
;   comment = All Printers
# to allow user 'guest account' to print.
;   printable = yes
# 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
PostScri                                           pt on clients).
# The following two commands are the samba defaults for printing=cups
# This share is used for Windows NT-style point-and-print support.
# in the printer admin parameter above. Note that you also need write access
# For more information on this, please see the Printing Support Section of
;[print$]
;   path = /var/lib/samba/printers
# A private printer, usable only by Fred. Spool data will be placed in
Fred's
;   comment = Fred's Printer
;   printer = freds_printer
;   printable = yes
;   printable = no
;   printable = no
;   printable = no
[andrei на student03 andrei]$

-- 
Всего доброго,
А.Л.





Подробная информация о списке рассылки community