From owner-freebsd-questions@FreeBSD.ORG Fri Feb 26 23:38:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B156B1065673 for ; Fri, 26 Feb 2010 23:38:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 682B78FC17 for ; Fri, 26 Feb 2010 23:38:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1QNcl5E014673; Fri, 26 Feb 2010 16:38:47 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1QNcl2T014670; Fri, 26 Feb 2010 16:38:47 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Feb 2010 16:38:47 -0700 (MST) From: Warren Block To: Bill Tillman In-Reply-To: <487138.6770.qm@web36502.mail.mud.yahoo.com> Message-ID: References: <487138.6770.qm@web36502.mail.mud.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-271806145-1267227527=:14611" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 26 Feb 2010 16:38:47 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Printing via USB Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2010 23:38:48 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-271806145-1267227527=:14611 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Fri, 26 Feb 2010, Bill Tillman wrote: >   > Thanks again for your valuable input. I have set up lpd printing on my > old FreeBSD server at least a dozen times and it became a simple > routine to do with apsfilter. Let me see if I can place all my cards > in one place and perhaps we can find the bug. I think I found it. The HL-2040 is a GDI printer, aka winprinter (aka "oh no, one of those", aka "I guess I didn't really want to print that after all"). It won't respond to PCL, unlike the one I looked up first, the HL-2060. Based on http://beej.us/hl2040/: % cd /usr/local/libexec % cp ps2pcl ps2hl1250 Change the line in ps2hl1250 to: /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- - ^^^^^^ And change the if= line in the printcap to refer to ps2hl1250. (And remember, buying winprinters just encourages them to make more.) -Warren Block * Rapid City, South Dakota USA ---902635197-271806145-1267227527=:14611--