Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2010 16:38:47 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Bill Tillman <btillman99@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Printing via USB Port
Message-ID:  <alpine.BSF.2.00.1002261626210.14611@wonkity.com>
In-Reply-To: <487138.6770.qm@web36502.mail.mud.yahoo.com>
References:  <487138.6770.qm@web36502.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1002261626210.14611>