HP LaserJet 3P seriell betreiben
Hallo! Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell. Auch den Drucker habe ich auf seriell umgestellt. Ich habe in Cups (localhost:631) alles möglich probiert. Leider ohne Erfolg. Es passiert nichts. Unter "Serial Port" kann ich Baud-Raten und Paritätsbits einstellen, aber was genau ist denn nun richtig? Hat jemand diesen Drucker am laufen und kann mir helfen? Danke schonmal! Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Am Montag, 23. April 2007 schrieb Martin Ereth:
Hallo!
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Auch den Drucker habe ich auf seriell umgestellt. Dann musst du aber viel Geduld mitbringen - zumindest ist das meine Erfahrung mit Laserjet 4: bei größeren Dokumenten kann das schon mal recht quälend werden. Wäre es nicht sinnvoller, für ein paar Euro eine Schnittstellenkarte mit Parallelport nachzurüsten? Damit würde sich dann auch das Problem mit CUPS erübrigen...
Ich habe in Cups (localhost:631) alles möglich probiert. Leider ohne Erfolg. Es passiert nichts.
Unter "Serial Port" kann ich Baud-Raten und Paritätsbits einstellen, aber was genau ist denn nun richtig?
Hat jemand diesen Drucker am laufen und kann mir helfen?
Danke schonmal! Martin
-- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Am 23.04.07 schrieb Michael Eschweiler <michael.eschweiler@t-online.de>:
werden. Wäre es nicht sinnvoller, für ein paar Euro eine Schnittstellenkarte mit Parallelport nachzurüsten? Damit würde sich dann auch das Problem mit CUPS erübrigen...
Besser: Reichelt verkauft für 15€ einen Konverter USB/parallel. Wenn das mit Linux funktioniert... Gruß Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
On Mon, 23. April 2007 23:53:50 Martin Schröder wrote:
Am 23.04.07 schrieb Michael Eschweiler <michael.eschweiler@t-online.de>:
werden. Wäre es nicht sinnvoller, für ein paar Euro eine Schnittstellenkarte mit Parallelport nachzurüsten? Damit würde sich dann auch das Problem mit CUPS erübrigen...
Besser: Reichelt verkauft für 15€ einen Konverter USB/parallel. Wenn das mit Linux funktioniert... Oder gleich einen der kleinen Printserver Boxen, sind kaum grösser als eine Zigarettenschachtel. Für den Fall das auch noch andere Rechner mit versorgt werden sollen eine lohnenswerte Lösung. Gibt's übrigens auch bei Reichelt. :)
regards, thomas -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Hallo, On Apr 23 23:53 Martin Schröder wrote (shortened):
Reichelt verkauft für 15EUR einen Konverter USB/parallel. Wenn das mit Linux funktioniert...
Siehe dazu https://bugzilla.novell.com/show_bug.cgi?id=264219 Es sollte funktionieren, aber evtl. nicht "out of the box". Es kommt darauf an, ob der USB->Parallel Konverter den Parallelportdrucker erkennet und als einen USB-Drucker meldet, was er aus Sicht des Betriebssystems ist. Gruß Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex
Michael Eschweiler schrieb:
Am Montag, 23. April 2007 schrieb Martin Ereth:
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Auch den Drucker habe ich auf seriell umgestellt. Dann musst du aber viel Geduld mitbringen - zumindest ist das meine Erfahrung mit Laserjet 4: bei größeren Dokumenten kann das schon mal recht quälend werden. Wäre es nicht sinnvoller, für ein paar Euro eine Schnittstellenkarte mit Parallelport nachzurüsten? Damit würde sich dann auch das Problem mit CUPS erübrigen...
Ist denn das drucken über serielle Schnittstelle so viel langsamer gegenüber der parallelen Schnittstelle? Dann würde ich mir entweder so einen USB-Adapter oder eine PCI-Karte kaufen. Danke schonmal, Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Hallo, On Apr 23 21:52 Martin Ereth wrote (shortened):
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Evtl. hilft die CUPS 1.1 Dokumentation weiter: http://www.cups.org/doc-1.1/sam.html -------------------------------------------------------------------- The Basics ... You can see a complete list of supported devices by running the lpinfo(8) command: lpinfo -v ... serial serial:/dev/ttyS1?baud=115200 serial serial:/dev/ttyS2?baud=115200 ... Adding Your First Printer ... For a dot matrix printer connected to the serial port, this might look like: /usr/sbin/lpadmin -p DotMatrix -E -m epson9.ppd \ -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft Here you specify the serial port (e.g. S0,S1, d0, d1), baud rate (e.g. 9600, 19200, 38400, 115200, etc.), number of bits, parity, and flow control. If you do not need flow control, delete the "+flow=soft" portion. -------------------------------------------------------------------- Bzgl. "lpinfo -v" siehe auch http://de.opensuse.org/SDB:CUPS_in_aller_K%C3%BCrze "Die Backends" -------------------------------------------------------------------- Beim Starten ruft der cupsd alle Backends in /usr/lib/cups/backend/ nacheinander einmal auf. Dadurch ermittelt der cupsd welche Backends auf dem jeweiligen System einsatzfähig sind. Nur die einsatzfähigen Backends stehen für die Konfiguration von Warteschlangen zur Verfügung. Die einsatzfähigen Backends werden mit "lpinfo -v" angezeigt. -------------------------------------------------------------------- Vielleicht ist die serielle Schnittstelle im BIOS deaktiviert? In /var/log/boot.msg sollten sich normalerweise Meldungen zur seriellen Schnittstelle finden in der Art: -------------------------------------------------------------------- Serial: 8250/16550 driver ... -------------------------------------------------------------------- Und "cat /proc/devices" sollte serielle "Character devices" anzeigen in der Art "4 ttyS" und die pasdenden Gerätedateien sollten existieren: -------------------------------------------------------------------- crw-rw---- 1 root uucp 4, 64 ... /dev/ttyS0 crw-rw---- 1 root uucp 4, 65 ... /dev/ttyS1 -------------------------------------------------------------------- Evtl. sind hier die Zugriffsrechte passend einzustellen, so dass der Benutzer "lp" (under dem normalerweise die CUPS Backends laufen) darauf schreiben darf. Gruß Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex
Johannes Meixner schrieb:
On Apr 23 21:52 Martin Ereth wrote (shortened):
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Evtl. hilft die CUPS 1.1 Dokumentation weiter:
http://www.cups.org/doc-1.1/sam.html -------------------------------------------------------------------- The Basics ... You can see a complete list of supported devices by running the lpinfo(8) command: lpinfo -v ... serial serial:/dev/ttyS1?baud=115200 serial serial:/dev/ttyS2?baud=115200 ... Adding Your First Printer ... For a dot matrix printer connected to the serial port, this might look like: /usr/sbin/lpadmin -p DotMatrix -E -m epson9.ppd \ -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft Here you specify the serial port (e.g. S0,S1, d0, d1), baud rate (e.g. 9600, 19200, 38400, 115200, etc.), number of bits, parity, and flow control. If you do not need flow control, delete the "+flow=soft" portion. --------------------------------------------------------------------
Da kommt, auch wenn ich den richtigen Pfad zu der PPD angebe: martin martin # /usr/sbin/lpadmin -p HP_LaserJet_3P_test -E -m /usr/share/ppd/HP/HP-LaserJet_3P_w_PCL5-ljet4.ppd -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft lpadmin: Kann PPD Datei nicht kopieren! Was funktioniert: /usr/sbin/lpadmin -p HP_LaserJet_3P_test -E -m laserjet.ppd -v serial:/dev/ttyS0?baud=9600+size=8+parity=none+flow=soft
Bzgl. "lpinfo -v" siehe auch http://de.opensuse.org/SDB:CUPS_in_aller_K%C3%BCrze "Die Backends"
serial serial:/dev/ttyS0?baud=115200 warum da nicht 9600 steht... Kann man die Baudrate ändern?
-------------------------------------------------------------------- Beim Starten ruft der cupsd alle Backends in /usr/lib/cups/backend/ nacheinander einmal auf. Dadurch ermittelt der cupsd welche Backends auf dem jeweiligen System einsatzfähig sind. Nur die einsatzfähigen Backends stehen für die Konfiguration von Warteschlangen zur Verfügung. Die einsatzfähigen Backends werden mit "lpinfo -v" angezeigt. --------------------------------------------------------------------
Vielleicht ist die serielle Schnittstelle im BIOS deaktiviert? In /var/log/boot.msg sollten sich normalerweise Meldungen zur seriellen Schnittstelle finden in der Art: -------------------------------------------------------------------- Serial: 8250/16550 driver ...
Bei mir: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-------------------------------------------------------------------- Und "cat /proc/devices" sollte serielle "Character devices" anzeigen in der Art "4 ttyS" und die pasdenden Gerätedateien sollten existieren:
4 ttyS
-------------------------------------------------------------------- crw-rw---- 1 root uucp 4, 64 ... /dev/ttyS0 crw-rw---- 1 root uucp 4, 65 ... /dev/ttyS1
crw-rw---- 1 root uucp 4, 64 24. Apr 2007 /dev/ttyS0 (ich habe nur einen seriellen Port)
-------------------------------------------------------------------- Evtl. sind hier die Zugriffsrechte passend einzustellen, so dass der Benutzer "lp" (under dem normalerweise die CUPS Backends laufen) darauf schreiben darf.
dann werde ich mal die rechte auf a+rwx stellen, nach einem Neustart ist das ja eh wieder weg. Aber nach dem Hinzufügen des Druckers gibt lpinfo -v immer noch folgendes aus: serial serial:/dev/ttyS0?baud=115200 Aber ich will doch 9600 Baud haben! Wie bekomme ich das hin? Danke schonmal!, Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Martin Ereth schrieb:
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Ich habe in Cups (localhost:631) alles möglich probiert. Leider ohne Erfolg. Es passiert nichts.
Mittlerweile bin ich ein Stückchen weiter: Ich habe einen internen Parallel-Port gefunden und mit einem Slotblech den Parallelport nach draußen gebracht. Folglich: Der Drucker ist jetzt parallel angeschlossen. Ich habe ihn auch wieder auf parallelen Eingang gestellt. lpinfo -v bringt jetzt endlich zusätzlich: direct parallel:/dev/lp0 direct canon:/dev/lp0 direct epson:/dev/lp0 Und im CUPS-Frontend kann ich "LPT #1" auswählen, dann hab ich die Wahl der Qual. Ich weiß zwar, dass ich einen HP-Drucker habe (;-)), aber welche PPD muss ich auswählen? Die genaue Bezeichnung des Druckers ist "HP LaserJet IIIP with PCL-5". Dort kann ich diesen Drucker aber mit mehreren Treibern (?) ansprechen: gutenprint, gimp-print, ljet4, lj4dith und diversen ähnlichen. Welcher ist nun der richtige? Ich habe alle durchprobiert, bei manchen kommt: "Kann die ppd-Datei nicht kopieren.", bei ljet4 funktioniert das. Drücke ich dann auf "Testseite drucken", dann hat er innerhalb von kaum einer Sekunde die Seite verarbeitet und gibt auch im Log Erfolg aus. Leider rührt sich aber der Drucker nicht. Auch ein echo "test" > /dev/lp0 gibt zwar 0 zurück, aber auch hier rührt sich der Drucker nicht... :-( Weiß jemand Rat, einen Tipp oder eine sonstige geistige Stütze? Danke schonmal, Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Martin Ereth schrieb:
Martin Ereth schrieb:
Ich habe einen HP LaserJet 3P übereignet bekommen. Dieser Oldtimer (Firmware von 1990) kann entweder parallel oder seriell angeschlossen werden. Nachdem mein neuer PC keine parallele Schnittstelle mehr hat, bleibt nur seriell.
Mittlerweile bin ich ein Stückchen weiter:
Ich habe einen internen Parallel-Port gefunden und mit einem Slotblech den Parallelport nach draußen gebracht. Folglich: Der Drucker ist jetzt parallel angeschlossen. Ich habe ihn auch wieder auf parallelen Eingang gestellt.
Leider rührt sich aber der Drucker nicht. Auch ein echo "test" > /dev/lp0 gibt zwar 0 zurück, aber auch hier rührt sich der Drucker nicht... :-(
Mittlerweile bin ich ein großes Stückchen weiter. Nachdem der Drucker an einem anderen PC mit dem gleichen Parallelkabel druckt und nur an diesem PC nicht, habe ich spontan dieses Parallelanschluss-nach-draußen-führ-Slotblech ausgetauscht und siehe da: Jetzt geht er. Also war dieses Flachbandkabel defekt. Somit geht alles und ich bin glücklich. ;-) Danke allen Fleißigen! Martin -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
participants (5)
-
email.listen@googlemail.com
-
Johannes Meixner
-
Martin Ereth
-
Martin Schröder
-
Michael Eschweiler