Article View: comp.os.linux.networking
Article #868Re: Samba cannot print
From: Fulton B. Gonzalez
Date: Thu, 03 Jun 1999 00:00
Date: Thu, 03 Jun 1999 00:00
43 lines
2575 bytes
2575 bytes
On Tue, 01 Jun 1999, �˼��H wrote: >I setup samba 2.0.4 in Redhat 6.0. A HP 6P is connected to it. I can print >ascii and postcript(using ghostscript) in the linux box. However, I cannot >print from Windows client though I can mount the home directory and other >shares. The print job sent to the queue and disappears afterward but the LED >in my printer do not blink!!! I find nothing in /var/spoold/samba. My >smb.conf is as follows. Can anyone help? > ># Global parameters >[global] > workgroup = NEWBRIGHT.COM > netbios name = NBMAIL > server string = Samba Server > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = /etc/printcap > local master = No > dns proxy = No > wins server = 202.232.1.254 > >[homes] > comment = Home Directories > read only = No > browseable = No > >[printers] > comment = All Printers > path = /var/spool/samba > print ok = Yes > browseable = No > >[_source] > path = /_source > write list = fred, bill I solved this problem by un-commenting "printing=bsd" is the global parameters section of smb.conf; and adding the line (this is from memory) "print command = lpr -P %p %s" to the printers section. Fulton B. Gonzalez Department of Mathematics Tufts University
Technical Details
Message-ID:
<928417644.2031292365@news2.tufts.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7j21be$1cl1@news.hk.linkage.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f798d,21a0abe9187673d5 X-Google-Attributes: gidf798d,public X-Google-Thread: 102b32,21a0abe9187673d5 X-Google-Attributes: gid102b32,public X-Google-Thread: 103fcc,21a0abe9187673d5 X-Google-Attributes: gid103fcc,public X-Google-Thread: 100df9,21a0abe9187673d5 X-Google-Attributes: gid100df9,public X-Google-Thread: 10669a,21a0abe9187673d5 X-Google-Attributes: gid10669a,public X-Google-Thread: f9b51,21a0abe9187673d5 X-Google-Attributes: gidf9b51,public From: Fulton B. Gonzalez <fgonzale@emerald.tufts.edu> Subject: Re: Samba cannot print Date: 1999/06/03 Message-ID: <928417644.2031292365@news2.tufts.edu> X-Deja-AN: 485260831 Content-Transfer-Encoding: 8bit References: <7j21be$1cl1@news.hk.linkage.net> Followup-To: comp.os.linux.networking,comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.setup,hk.comp.os.linux,tw.bbs.comp.linux Content-Type: text/plain; charset="us-ascii" X-Complaints-To: news@news.tufts.edu X-Trace: news3.tufts.edu 928417624 22143 (None) 130.64.11.12 Organization: Tufts University Mime-Version: 1.0 Newsgroups: comp.os.linux.networking,comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.setup,hk.comp.os.linux,tw.bbs.comp.linux