From owner-freebsd-questions@freebsd.org  Sun Jul 26 15:20:28 2015
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6105E9AAA81
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Sun, 26 Jul 2015 15:20:28 +0000 (UTC)
 (envelope-from wblock@wonkity.com)
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 0FA25971
 for <freebsd-questions@freebsd.org>; Sun, 26 Jul 2015 15:20:27 +0000 (UTC)
 (envelope-from wblock@wonkity.com)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.15.2/8.15.2) with ESMTPS id t6QFKJbP006958
 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Sun, 26 Jul 2015 09:20:19 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t6QFKJBp006955;
 Sun, 26 Jul 2015 09:20:19 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Sun, 26 Jul 2015 09:20:19 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: Bernt Hansson <bah@bananmonarki.se>
cc: Thomas Mueller <mueller6724@bellsouth.net>, freebsd-questions@freebsd.org
Subject: Re: Ulpt problems.
In-Reply-To: <55B217F6.1000603@bananmonarki.se>
Message-ID: <alpine.BSF.2.20.1507260916120.4628@wonkity.com>
References: <55B0BE81.70208@bananmonarki.se>
 <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com>
 <55B1A2D3.9040707@bananmonarki.se>
 <alpine.BSF.2.20.1507232131490.46367@wonkity.com>
 <55B217F6.1000603@bananmonarki.se>
User-Agent: Alpine 2.20 (BSF 67 2015-01-07)
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]); Sun, 26 Jul 2015 09:20:20 -0600 (MDT)
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Jul 2015 15:20:28 -0000

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