Article View: comp.os.linux.networking
Article #867Re: Samba cannot print
From: Mark Johnson
Date: Wed, 02 Jun 1999 00:00
Date: Wed, 02 Jun 1999 00:00
125 lines
4124 bytes
4124 bytes
Make sure your print spool path is accessible by the user printing the job. Also, the print, lpq and lprm command lines may be required. My smb.conf is: [global] workgroup = WORKGROUP deadtime = 5 os level = 40 domain master = yes local master = no allow hosts = 192.168.0.1, 192.168.0.2, 192.168.0.3, 127.0.0.1 preferred master = yes dns proxy = yes wins support = yes ; name resolve order = host wins bcast lmhosts encrypt passwords = no security = share ; smb passwd file = /etc/private/smbpasswd time server = yes socket options = TCP_NODELAY message command = csh -c 'xedit %s;rm %s' &i comment = linux share server string = Samba SMB Server interfaces = 192.168.0.2/24 127.0.0.1/24 bind interfaces only = yes printing = BSD printcap name = /etc/printcap load printers = yes guest account = smbuser log file = /var/log/samba-log.%m max log size = 50 read prediction = yes mangle case = no default case = LOWER short preserve case = no hide dot files = no lock directory = /var/lock/samba locking = yes oplocks = yes strict locking = no share modes = yes browseable = yes [public] comment = temporary storage path = /home/public read only = no create mask = 0664 directory mask = 0775 public = yes [data] comment = network data storage path = /home/samba/data read only = no create mask = 0660 directory mask = 0770 public = yes [homes] comment = your storage browseable = no writable = yes public = no [lp] comment = HP DeskJet 660C ; public = yes guest only = yes ; path = /var/spool/lpd/lp printable = yes writable = no create mode = 0700 printer driver = HP DeskJet 660C v11.0 print command = /usr/bin/lpr -r -P %p %s lpq command = /usr/bin/lpq -P %p lprm command = /usr/bin/lprm -P %p %j "�˼��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
Technical Details
Message-ID:
<37557EC8.A94EC3E8@gilanet.com>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: f9b51,21a0abe9187673d5 X-Google-Attributes: gidf9b51,public X-Google-Thread: 10669a,21a0abe9187673d5 X-Google-Attributes: gid10669a,public From: Mark Johnson <markj*no*spam*@gilanet.com> Subject: Re: Samba cannot print Date: 1999/06/02 Message-ID: <37557EC8.A94EC3E8@gilanet.com> X-Deja-AN: 484975396 Content-Transfer-Encoding: 8bit References: <7j21be$1cl1@news.hk.linkage.net> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Southwest Cyberport Mime-Version: 1.0 Reply-To: markj*no*spam*@gilanet.com 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