Ulpt problems.

Warren Block wblock at wonkity.com
Sun Jul 26 15:20:28 UTC 2015


On Fri, 24 Jul 2015, Bernt Hansson wrote:

> On 2015-07-24 05:37, Warren Block wrote:
>> On Fri, 24 Jul 2015, Bernt Hansson wrote:
>> 
>>> It seems that one needs ulpt, otherwise the printer isn't found.
>>> So I added to /boot/loader.conf ulpt_load="YES" then the printer is found 
>>> by cups and hplip.
>>> 
>>> But I do not want to use cups so I deinstalled it. Cups can't print a 
>>> testpage so I resorted to lpd.
>>> Which can't print anything, so back to cups that too can't print anything. 
>>> So I'm stuck.
>> 
>> The ulpt module is loaded by /etc/devd/usb.conf.  The file says "please do 
>> not edit", and I don't know how those modules are disabled.
>> 
>>> Printer is HP laserjet P2055d
>> 
>> That printer supports PostScript directly, so following the LPD setup in 
>> the Handbook is the easiest course.  Deinstall CUPS first, because it has 
>> not-quite-compatible commands with the same names as the real ones.
>> 
>> If the printer has a network interface, that is the preferred connection. 
>> But USB will work, too.
>> 
>> 
> Now that it finds the printer it's not printing anything with cups or lpd.
> I'm using apsfilter and lpd. Hplip is deinstalled so is cups. But no cigar.

Please start by testing without any filters.  Use the printcap file 
shown in

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-setup

and test with the small PostScript sample at the end of

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-filters-ps2pcl


More information about the freebsd-questions mailing list