Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2002 16:14:23 +0200 (CEST)
From:      David Delibasic <maddave@suxx.eu.org>
To:        <freebsd-questions@freebsd.org>
Subject:   USB HP Laserjet 1000
Message-ID:  <20020907160533.T27556-100000@spider.suxx.eu.org>

next in thread | raw e-mail | index | archive | help
Hi.

I've searched the archives and i didn't find any answers to my problem.
I have HP Laserjet 1000 hooked to USB port on one of my servers. After
some fun with kernel, server correctly recognized my printer. Output from
dmesg:

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 11
at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard hp LaserJet 1000, rev 1.10/1.20, addr 2, iclass 7/1

Now, when i try to echo something to ulpt0 or unlpt0 it works:

[SU-SAMBA: ~]# echo qqwwee > /dev/ulpt0
[SU-SAMBA: ~]#

But, when i try to cat binary file to printer (like .prn file) it doesn't
work:

[SU-SAMBA: /home/maddave]# file qq
qq: data
[SU-SAMBA: /home/maddave]# cat qq > /dev/ulpt0
cat: stdout: Input/output error
[SU-SAMBA: /home/maddave]#

Has anyone solved this problem ? I really need help on this one :)

Please CC me in any replies as i'm not subscribed to this list. Thanx!

Best regards,
D.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020907160533.T27556-100000>