Anonym
7. Februar 2000 um 23:40
1
… hi, ich habe vor einen Printserver aufzusetzen (486) und möchte dann mit linux-clients und win-clients damit drucken
(ich hab samba installiert, der client hat die ip 192.168.9.6 und ist bei jedem linux-client in /etc/hosts eingetragen)
Unter windows ist die Anbindung kein Problem, Samba sei dank … nur hab ich ein problem, wie kann ich nun linux-clients dazu bringen auf dem print-server zu drucken ?
mfG
Berni
Anonym
8. Februar 2000 um 00:36
2
wie kann ich nun
linux-clients dazu bringen auf dem
print-server zu drucken ?
Hallo Florian,
indem Du einen Eintrag in der /etc/printcap machst:
netprint|remote printer on :\
:sd=/var/spool/lpd/netprint:\
:rm=:\
:rp=:\
:bk:sh:mx#0:
wobei Du natuerlich fuer Deinen Printserver und fuer den Namen des Druckers auf dem Server einsetzen musst.
Eventuell kannst Du noch mit „if= …“ einen Filter (z.B. apsfilter) angeben. Siehe auch die manpage zu „printcap“.
Dann sollte das schon klappen, wenn Du mit lpr -Pnetprint etwas druckst …
Gruss
Jens
Anonym
8. Februar 2000 um 13:33
3
Ich bin mir nicht ganz sicher, ob ich den Printserver richtig konfiguriert habe … ich habe dort einen Netzwerkdrucker mit einem spooler reingetan … (neben den normalen drucker-einstellungen …)
Ich werd mal deinen Eintrag in die /etc/printcap des clients machen und mal schauen obs geht
merci
Copyright © 1983 Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms are permitted
provided that this notice is preserved and that due credit is given
to the University of California at Berkeley. The name of the University
may not be used to endorse or promote products derived from this
software without specific prior written permission. This software
is provided ``as is’’ without express or implied warranty.
@(#)etc.printcap 5.2 (Berkeley) 5/5/88
DecWriter over a tty line.
#lp|ap|arpa|ucbarpa|LA-180 DecWriter III:\
:br#1200:fs#06320:tr=\f:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs:
#lp:lp=/dev/lp0:sd=/usr/spool/lp0:of=/usr/lib/lpf: lf=/usr/adm/lpd-errs
Generic printer:
#lp:lp=/dev/lp1:sd=/usr/spool/lp1:sh
typical remote printer entry
#ucbvax|vax|vx|ucbvax line printer:\
:lp=:rm=ucbvax:sd=/usr/spool/vaxlpd:lf=/usr/adm/lpd-errs:
#varian|va|Benson Varian:\
:lp=/dev/va0:sd=/usr/spool/vad:mx#2000:stuck_out_tongue:l#58:stuck_out_tongue:x#2112:stuck_out_tongue:y#1700:tr=\f:\
:of=/usr/lib/vpf:if=/usr/lib/vpf:tf=/usr/lib/rvcat:cf=/usr/lib/vdmp:\
:gf=/usr/lib/vplotf:df=/usr/local/dvif:\
:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:
#versatec|vp|Versatec plotter:\
:lp=/dev/vp0:sd=/usr/spool/vpd:sb:sf:mx#0:stuck_out_tongue:w#106:stuck_out_tongue:l#86:stuck_out_tongue:x#7040:stuck_out_tongue:y#2400:\
:of=/usr/lib/vpfW:if=/usr/lib/vpsf:tf=/usr/lib/vcat:cf=/usr/lib/vdmp:\
:gf=/usr/lib/vplotf:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:\
:tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
#lp|panasonic:lp=/dev/lp1:sd=/usr/spool/lp/panasonic:lf=/usr/bin/mail:mc#1:\
ft=$$c$$p$$r$$f:hl#2:fl#3:ht=$$c$$n$$r$$t:sh:
HP Laser jet plus
#lp|hpj:\
:lp=/dev/lp1:\
:sd=/usr/spool/lp1:\
:mx#0:\
:of=/usr/spool/lp1/hpjlp:
:lf=/usr/spool/lp1/hp-log:
#lp|Generic dot-matrix printer entry:\
:lp=/dev/lp1:\
:sd=/var/spool/lp1/lp:sh:\
:if=/usr/bin/lpf:\
:df=/var/spool/lp1/filter.ps:\
:tf=/var/spool/lp1/filter.ps:\
:af=/var/spool/lp1/lp-acct:\
:lf=/var/spool/lp1/lp-err:
BEGIN apsfilter: ### PS_600dpi a4 mono 600
Warning: Configured for apsfilter, do not edit the labels!
apsfilter setup Mon Feb 7 22:19:36 CET 2000
ascii|lp1|PS_600dpi-a4-ascii-mono-600|PS_600dpi a4 ascii mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600:\
:lf=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600/log:\
:af=/var/spool/lpd/PS_600dpi-a4-ascii-mono-600/acct:\
:if=/var/lib/apsfilter/bin/PS_600dpi-a4-ascii-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
lp|lp2|PS_600dpi-a4-auto-mono-600|PS_600dpi a4 auto mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/PS_600dpi-a4-auto-mono-600:\
:lf=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/log:\
:af=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/acct:\
:if=/var/lib/apsfilter/bin/PS_600dpi-a4-auto-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
raw|lp3|PS_600dpi-a4-raw|PS_600dpi a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/PS_600dpi-a4-raw:\
:lf=/var/spool/lpd/PS_600dpi-a4-raw/log:\
:af=/var/spool/lpd/PS_600dpi-a4-raw/acct:\
:if=/var/lib/apsfilter/bin/PS_600dpi-a4-raw:\
:la@:mx#0:\
:tr=:cl:sh:sf:
END apsfilter: ### PS_600dpi a4 mono 600
lpremote|remote printer on matrix.alphacore.ch:\
:sd=/var/spool/lpd/lpremote:\
:rm=matrix.alphacore.ch:\
:rp=lp:\
:bk:sh:mx#0: