From owner-freebsd-questions Sat Sep 7 7:11:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E8E37B400 for ; Sat, 7 Sep 2002 07:11:35 -0700 (PDT) Received: from alpha.kibernet.si (alpha.kibernet.si [213.161.12.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A35B043E42 for ; Sat, 7 Sep 2002 07:11:34 -0700 (PDT) (envelope-from maddave@suxx.eu.org) Received: from spider.suxx.eu.org (unknown [194.249.141.2]) by alpha.kibernet.si (Postfix) with ESMTP id 82D415D007 for ; Sat, 7 Sep 2002 16:25:35 +0200 (CEST) Received: by spider.suxx.eu.org (Postfix, from userid 1000) id 698E532627; Sat, 7 Sep 2002 16:14:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by spider.suxx.eu.org (Postfix) with ESMTP id 449D532623 for ; Sat, 7 Sep 2002 16:14:23 +0200 (CEST) Date: Sat, 7 Sep 2002 16:14:23 +0200 (CEST) From: David Delibasic To: Subject: USB HP Laserjet 1000 Message-ID: <20020907160533.T27556-100000@spider.suxx.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: port 0xe000-0xe01f irq 11 at device 7.2 on pci0 usb0: 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