Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 13:26:58 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Bill Tillman <btillman99@yahoo.com>
Cc:        freebsd-questions@freebsd.org, Robert Bonomi <bonomi@mail.r-bonomi.com>
Subject:   Re: RESOLVED: Printing via USB Port
Message-ID:  <alpine.BSF.2.00.1002271312100.18726@wonkity.com>
In-Reply-To: <198039.64951.qm@web36507.mail.mud.yahoo.com>
References:  <198039.64951.qm@web36507.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-1798935620-1267301608=:18726
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <alpine.BSF.2.00.1002271313411.18726@wonkity.com>

On Sat, 27 Feb 2010, Bill Tillman wrote:
> Okay guys this is finally working. I found the answer here:
>  
> http://forums.freebsd.org/showthread.php?p=64508
>  
> This didn't come up in my other searches.
>
> This morning I put in "freebsd hl2040 usb" into my yahoo search and 
> this came up.

Didn't you get my last message yesterday?  It had that very link.
   
> Seems this guy got it to work by using unlpt0 not ulpt0. I had tried 
> this before and was using the ifhp filter but that didn't work.

The printer is not HP or even PCL, so ifhp is likely not the right 
filter.

> So I did this with /etc/printcap:
> 
> lp|HL2040|Brother HL-2040:\
>         :lp=/dev/unlpt0:\
>         :af=/home/bill/hl1250.ppd:\
>         :if=/usr/local/bin/foomatic-rip:\
>         :lf=/var/log/lpd/hl2040.log:\
>         :sh:sd=/var/spool/lpd/laser:

It was probably the unlpt0 device that cured it.  Could you verify 
whether the plain lpd entry with the unlpt0 device works?

lp:\
      :lp=/dev/unlpt0:\
      :sh:\
      :mx#0:\
      :sd=/var/spool/lpd/lp:\
      :if=/usr/local/libexec/ps2hl1250: \
      :lf=/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
---902635197-1798935620-1267301608=:18726--



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