From owner-freebsd-questions@freebsd.org Fri Nov 25 21:50:15 2016 Return-Path: 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 BC78CC555FB for ; Fri, 25 Nov 2016 21:50:15 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (23-24-207-145-static.hfc.comcastbusiness.net [23.24.207.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C48F2E7 for ; Fri, 25 Nov 2016 21:50:14 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from Cone-of-Silence.local (localhost [127.0.0.1]) by ns.mahan.org (8.14.9/8.14.9) with ESMTP id uAQ0siIg083615; Fri, 25 Nov 2016 16:54:45 -0800 (PST) (envelope-from mahan@mahan.org) Subject: Re: Having trouble printing to my HP OJ Pro 8600 all-in-one To: Ben Woods References: <4c557a01-6267-bb61-3a2e-62d5b9408b77@mahan.org> Cc: FreeBSD Mailing List From: Patrick Mahan Message-ID: Date: Fri, 25 Nov 2016 13:50:07 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2016 21:50:15 -0000 On 11/23/16 8:02 AM, Ben Woods wrote: > On 23 November 2016 at 14:58, Patrick Mahan > wrote: > > On 11/22/16 9:06 PM, Ben Woods wrote: > >> On 23 November 2016 at 12:22, Patrick Mahan > > >> >> wrote: > >> > >> All, > >> > >> System info: > >> > >> CPU: Intel I7 w/8 cpus @ 3.20 GHz > >> MEM: 12 Gbytes > >> HDD: 1 TB Seagate Barracuda (FreeBSD is on a 500G partition) > >> OS: FreeBSD 9.3-RELEASE-p21 > >> > >> I just update my binary packages (after much much pain) since they were > >> so out of date. One of the items that seemed to drastically was CUPS. > >> I had CUPS-2.0.1 and now have CUPS-2.2.1, but it seems I have lost all > >> printing ability. I re-installed all available cups packages (except > client, > >> can't see where that exists) along with gutenprint and hplip. I see on > >> the ports page that there a secondary package called hplip-plugins but > >> pkg will not install it as it says it cannot find any package matching > >> that name. > >> > >> Cups sees the printer, it seems up, but when I attempt to print a test > >> page, I get the following error: > >> > >> Unable to print test page: > >> > >> Unsupported format "text/plain". > >> > >> Looking in /usr/local/etc/cups and I don't see any definition for > >> "text/plain". Also, the cups filter in the .ppd for the printer > >> is set to "application/vnd.cups-raster 0 hpcups", but I can find > >> no definition of vnd.cups-raster nor hpcups. > >> > >> Tried googling and most of the solutions are targeted for Linux > >> platforms and are packages that I no longer see in the ports tree. > >> > >> Any pointers, suggestions, how to's are appreciated. This has been > >> the main print server in my office and a couple of colleagues with > >> Apple devices (iPads, iPhones and Macbooks) depend on it for printing. > >> > >> Thanks, > >> > >> Patrick > >> > >> > >> > > > > On 22 November 2016, Ben Woods > wrote: > > What make/model of printer do you have? Is it supported with or without the > > plugin (check at link below): > > http://hplipopensource.com/hplip-web/supported_devices/index.html > > > > > Yep, it's supported. I forgot to mention it earlier, but it is a > HP OfficeJet Pro 8600 aio. > > > > > Have you tried removing the printer from the config, and re-adding it? > > > > I've been hesitant to do so as I also support the AirPrint via the avahi daemon > and I was hoping not to mess with any of that, but if I gotta, I gotta. > > > hplip-plugin is not available as a package because of license restrictions. It > > can be installed from ports (make sure the hplip-plugin ports version matches the > > hplip package version). > > http://www.freshports.org/print/hplip-plugin > > > http://hplipopensource.com/node/309 > > > > Don't follow the instructions on how to install the plugin from the hplip > > website, just install it from ports if required. > > > > Ah that explains it, maybe the description could be updated to include this > tidbit of information. I just update the ports tree, so I'll go build it > there. > > > Regards, > > Ben > > Thanks for the help, > > Patrick > > > Hi Patrick, > > According to that hplip website the OfficeJet pro 8600 doesn't require the plugin > to work: > "Driver plug-in: None See note^8 > ." > > The 8600 is one of the models of printer which used to come with a PPD driver in > the print/hplip package, however it no longer does. Instead the PPD driver is > dynamically generated at the time the printer is added (hence me recommending > removing and then re-adding the printer). > > See the details in the bug report below where another user has a similar problem > with the same printer: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214686 > > Regards, > Ben > > -- > From: Benjamin Woods > woodsb02@gmail.com > Ben, I did a delete of the printer then I added it back. I am still seeing the error "Unsupported format: text/plain" Thanks for the help. Patrick