Article View: ch.comp.os.linux
Article #21444Re: Mit NT 4.0 �ber SAMBA drucken
From: Urs Steiner
Date: Mon, 26 Jul 1999 00:00
Date: Mon, 26 Jul 1999 00:00
90 lines
3156 bytes
3156 bytes
Lo Reto
> Ich hab zwei Drucker im Netzwerk, auf welchen ich von Linux aus mit
> lpr -Php <file> bzw lpr -Plexmark <file> drucken kann.
> Nun m�chte ich diese beiden Drucker per Samba im Netz freigeben.
Leider
> erhalte ich wenn ich unter NT 4.0 eine Testseite drucken will immer
folgende
> Fehlermeldung :
> Testpage failed to print. Would you see the troubleshooter The
filename,
> directory name or volume label syntax is inncorrect.
> Das smb.conf sieht folgendermassen aus:
> # Global parameters
die waren alle unwichtig, wichtiger w�ren parameter nach dem motto
printing = bsd
printcap name = /etc/printcap
load printers = yes
print command = lpr -P%p %s;echo %s >>/tmp/printlog ;rm %s
lpq command = lpq -P%p -l
lprm command = lprm -P%p %j
;lppause command =
;lpresume command
;queuepause command
;queueresume command
(die musst du natuerlich an dein system anpassen)
> [hp]
> comment = hp
> path = /var/spool/lpd/hp
> guest ok = Yes
> print ok = Yes
> [lexmark]
> comment = lexmark
> path = /var/spool/lpd/lexmark
> guest ok = Yes
> print ok = Yes
> postscript = Yes
ich hab nur einen printer share:
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = Alle Drucker aus /etc/printcap
printing = bsd
browseable = no
;load printers = yes
read only = yes
printable = yes
path = /tmp
public = yes
create mode = 0700
guest ok = yes
(und das kommt von nem anderen versuch)
; comment = All Printers
; print command = cp %s /tmp/tmp.print
; ;print command = lpr -b -P%p %s
; path = /var/spool/lpd/lp
; browseable = no
# Set public = yes to allow user 'guest account' to print
;guest ok = no
; writable = no
; printable = yes
(ein versuch den ich mal mit expliziten printern machte)
; path = /var/spool/lpd/lp
; printer name = lp
; writable = yes
; public = yes
; printable = yes
; print command = cp %s /tmp/tmp.print
(letzte zeile zum testen!)
ansonsten wird mit samba ein Printing.txt mitgeliefert ...
Urs
--
mail: urs [dot] steiner [at] switzerland [dot] org
http://www.vis.ethz.ch/~urs/
phone: 01/261 57 26
Seattle is so wet that people protect their property with
watch-ducks.
Technical Details
Message-ID:
<7nh7lh$a98$1@nerys.maximilianeum.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7n9oll$4h6$1@news.eunet.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f4b73,985186bf378ed59e X-Google-Attributes: gidf4b73,public From: "Urs Steiner" <urs.steiner@maximilianeum.ch> Subject: Re: Mit NT 4.0 �ber SAMBA drucken Date: 1999/07/26 Message-ID: <7nh7lh$a98$1@nerys.maximilianeum.ch> X-Deja-AN: 505671372 Content-Transfer-Encoding: 8bit References: <7n9oll$4h6$1@news.eunet.ch> X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: usenet@nerys.maximilianeum.ch X-Trace: nerys.maximilianeum.ch 932979185 10536 192.168.0.3 (26 Jul 1999 08:53:05 GMT) Organization: Maximilianeum X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 26 Jul 1999 08:53:05 GMT Newsgroups: ch.comp.os.linux