Date: Sun, 26 Jul 2015 18:22:55 +0200 From: Bernt Hansson <bah@bananmonarki.se> Cc: Thomas Mueller <mueller6724@bellsouth.net>, freebsd-questions@freebsd.org Subject: Re: Ulpt problems. Message-ID: <55B5095F.7040403@bananmonarki.se> In-Reply-To: <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> <alpine.BSF.2.20.1507260916120.4628@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-07-26 17:20, Warren Block wrote: > 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 > > > That did work... Strange. But if I add a filter like this :if=/usr/local/libexec/enscript:\ from the handbook it stops working. Odd to say the least.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55B5095F.7040403>