Re: Fwd: USB to parallel for printer HP LaserJet 4mL

2014-06-21 Thread Matthias Apitz
El día Tuesday, June 17, 2014 a las 09:05:40AM +0200, Hans Petter Selasky 
escribió:

 I think the USB stack is trying to reset the ULPT device, because it 
 does not respond on the control endpoint any more. See TIMEOUT messages 
 in dmesg and usbdump. By setting no_cs_fail to non-zero this behaviour 
 is disabled.

Hi,

Thanks to Hans, the printing works now. But is terrible slow:

printing a 2.9 MByte Postscript file (containing a bit map, because it
was concerted from a PDF file) gives:

$ ls -l fra.ps
-rw-r--r--  1 guru  wheel  2951274 19 jun 17:44 fra.ps

$ date ; cat fra.ps  /dev/unlpt0 ; date ; cat fra.ps  /dev/ulpt0 ; date
Sat Jun 21 11:43:12 CEST 2014
Sat Jun 21 11:58:48 CEST 2014
Sat Jun 21 12:14:51 CEST 2014

i.e. takes around 15 minutes, regardeless of the used device, 3.2K per
second.

Just for the records

matthias

-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Fwd: USB to parallel for printer HP LaserJet 4mL

2014-06-21 Thread Warren Block

On Sat, 21 Jun 2014, Matthias Apitz wrote:


Thanks to Hans, the printing works now. But is terrible slow:

printing a 2.9 MByte Postscript file (containing a bit map, because it
was concerted from a PDF file) gives:

$ ls -l fra.ps
-rw-r--r--  1 guru  wheel  2951274 19 jun 17:44 fra.ps

$ date ; cat fra.ps  /dev/unlpt0 ; date ; cat fra.ps  /dev/ulpt0 ; date
Sat Jun 21 11:43:12 CEST 2014
Sat Jun 21 11:58:48 CEST 2014
Sat Jun 21 12:14:51 CEST 2014

i.e. takes around 15 minutes, regardeless of the used device, 3.2K per
second.


USB in the slow mode?  Also, that twenty-year-old printer is probably 
not that fast at rendering PostScript, and likely memory-limited 
besides.  Could be a combination of all three.


Converting the PostScript to PCL at the same resultion and sending that 
could help to compare.  If it's the same speed, blame the USB adapter 
for sending slowly.  If it's faster, blame the onboard PS interpreter 
for interpreting slowly.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org