From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: community@altlinux.ru From: Andrei Lomov Date: Sat, 28 May 2005 22:14:51 +0700 Message-ID: References: <4292FAA3.7080705@mtu-net.ru> <20050526175112.GJ15617@osdn.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gt-fm.academ.org User-Agent: KNode/0.8.2 Sender: news Subject: [Comm] Re: Samba printer X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2005 15:18:05 -0000 Archived-At: List-Archive: List-Post: 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 = @ ; š 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]$ -- ÷ÓÅÇÏ ÄÏÂÒÏÇÏ, á.ì.