From owner-freebsd-usb@FreeBSD.ORG Sat Jun 21 19:54:31 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99197ACE for ; Sat, 21 Jun 2014 19:54:31 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 45D292E69 for ; Sat, 21 Jun 2014 19:54:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s5LJsT6E078895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Jun 2014 13:54:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s5LJsQre078892; Sat, 21 Jun 2014 13:54:27 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 21 Jun 2014 13:54:26 -0600 (MDT) From: Warren Block To: Matthias Apitz Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL In-Reply-To: <20140621111341.GA2044@La-Habana> Message-ID: References: <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org> <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org> <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org> <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org> <20140617065534.GA1634@La-Habana> <539FE8C4.9090606@selasky.org> <20140621111341.GA2044@La-Habana> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 21 Jun 2014 13:54:30 -0600 (MDT) Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2014 19:54:31 -0000 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.