scriptorius
Well-Known Member
Hallo,
ich versuche nun schon seit einer Woche, meinen neuen Drucker (HP Laserjet 1022) unter OpenBSD 3.9 zu installieren - bisher ohne Erfolg.
Kann mir vielleicht jemand einen hilfreichen Tipp geben oder hat vielleicht zufällig jemand genau diesen Drucker?
Was ich bisher gemacht habe:
(1) Wie hier beschrieben:
http://www.linuxprinting.org/lpd-doc.html
/etc/printcap angelegt
für LPD:
hp|printer: \
:lp=/dev/usb/lp0: \
:af=/home/dirk/HP-Laserjet_1022-hpijs.ppd: \
:if=/usr/bin/foomatic-rip: \
:sd=/var/spool/lpd/hp: \
:mx#0:sh
bzw. für LPRrng (damit habe ich es ebenfalls probiert):
hp|printer:\
:lp=/dev/lp0:\
:force_localhost:\
:if=/usr/bin/foomatic-rip: \
: ppd=/home/dirk/HP-Laserjet_1022-hpijs.ppd:\
:sd=/var/spool/lpd/hp:\
:mx#0:sh
(2a)
In /etc/rc.conf
lpd_flags="-l"
eingetragen für LPD,
(2b) bzw.
in /etc/rc.local
if [ -x /usr/local/sbin/lpd ]; then
echo -n ' LPRng'; /usr/local/sbin/lpd
fi
für lprng (hierbei habe ich natürlich vorher in der /etc/rc.conf lpd_flags=NO gesetzt und LPRng installiert)
dies steht ebenfalls so hier:
http://www.linuxprinting.org/lpd-doc.html
(3) *.ppd und foomatic-rip habe ich - wie auf linuxprinting.org beschrieben runtergeladen und den Pfad in die printcap (s.o.) eingetragen.
(4) Folgende Programme installiert:
LPRng
apsfilter (damit habe ich auch probiert den Drucker einzurichten, aber ohne Erfolg)
ghostscript
ImageMagick
teTeX
hpijs
psutils
a2ps
(5)
dmesg | grep lpt
lpt0 at isa0 port 0x378/4 irq 7
ulpt0 at uhub2 port 6 configuration 1 interface 0
ulpt0: Hewlett-Packard HP LaserJet 1022, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Wenn ich den Drucker im Kontrollzentrum unter KDE einrichte und versuche, eine Testseite zu drucken, kommt folgende Meldung:
/usr/local/bin/lpr -P 'hp' '-#1' '/usr/local/share/apps/kdeprint/testprint.ps' : execution failed with message:
Status Information, attempt 1 of 3: sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Waiting 10 seconds before retry Status Information, attempt 2 of 3: sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Waiting 10 seconds before retry sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol
... damit weiß ich wenig anzufangen
... und keine Ahnung mehr, was jetzt noch zu tun ist.
Danke
ich versuche nun schon seit einer Woche, meinen neuen Drucker (HP Laserjet 1022) unter OpenBSD 3.9 zu installieren - bisher ohne Erfolg.
Kann mir vielleicht jemand einen hilfreichen Tipp geben oder hat vielleicht zufällig jemand genau diesen Drucker?
Was ich bisher gemacht habe:
(1) Wie hier beschrieben:
http://www.linuxprinting.org/lpd-doc.html
/etc/printcap angelegt
für LPD:
hp|printer: \
:lp=/dev/usb/lp0: \
:af=/home/dirk/HP-Laserjet_1022-hpijs.ppd: \
:if=/usr/bin/foomatic-rip: \
:sd=/var/spool/lpd/hp: \
:mx#0:sh
bzw. für LPRrng (damit habe ich es ebenfalls probiert):
hp|printer:\
:lp=/dev/lp0:\
:force_localhost:\
:if=/usr/bin/foomatic-rip: \
: ppd=/home/dirk/HP-Laserjet_1022-hpijs.ppd:\
:sd=/var/spool/lpd/hp:\
:mx#0:sh
(2a)
In /etc/rc.conf
lpd_flags="-l"
eingetragen für LPD,
(2b) bzw.
in /etc/rc.local
if [ -x /usr/local/sbin/lpd ]; then
echo -n ' LPRng'; /usr/local/sbin/lpd
fi
für lprng (hierbei habe ich natürlich vorher in der /etc/rc.conf lpd_flags=NO gesetzt und LPRng installiert)
dies steht ebenfalls so hier:
http://www.linuxprinting.org/lpd-doc.html
(3) *.ppd und foomatic-rip habe ich - wie auf linuxprinting.org beschrieben runtergeladen und den Pfad in die printcap (s.o.) eingetragen.
(4) Folgende Programme installiert:
LPRng
apsfilter (damit habe ich auch probiert den Drucker einzurichten, aber ohne Erfolg)
ghostscript
ImageMagick
teTeX
hpijs
psutils
a2ps
(5)
dmesg | grep lpt
lpt0 at isa0 port 0x378/4 irq 7
ulpt0 at uhub2 port 6 configuration 1 interface 0
ulpt0: Hewlett-Packard HP LaserJet 1022, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Wenn ich den Drucker im Kontrollzentrum unter KDE einrichte und versuche, eine Testseite zu drucken, kommt folgende Meldung:
/usr/local/bin/lpr -P 'hp' '-#1' '/usr/local/share/apps/kdeprint/testprint.ps' : execution failed with message:
Status Information, attempt 1 of 3: sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Waiting 10 seconds before retry Status Information, attempt 2 of 3: sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Waiting 10 seconds before retry sending job 'dirk@dirk+305' to hp@localhost connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol
... damit weiß ich wenig anzufangen
... und keine Ahnung mehr, was jetzt noch zu tun ist.
Danke