From owner-freebsd-questions@freebsd.org Thu Nov 24 04:50:17 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 29D17C5218D for ; Thu, 24 Nov 2016 04:50:17 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F41B1B09 for ; Thu, 24 Nov 2016 04:50:16 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [192.168.151.122]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id uAO4o3GN035223; Wed, 23 Nov 2016 21:50:03 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Subject: Re: Having trouble printing to my HP OJ Pro 8600 all-in-one To: Patrick Mahan , FreeBSD Mailing List References: From: Gary Aitken Reply-To: freebsd@dreamchaser.org Message-ID: <31b7b3c7-326f-87e2-2986-f06280057c46@dreamchaser.org> Date: Wed, 23 Nov 2016 21:50:03 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [192.168.151.101]); Wed, 23 Nov 2016 21:50:06 -0700 (MST) 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: Thu, 24 Nov 2016 04:50:17 -0000 On 11/22/16 21: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. I had a similar problem with my HP Officejet Pro 8500. All you should need to install is: print/gutenprint-cups will force install of: print/cups print/cups-filters print/ghostscript9-agpl-base print/gutenprint-base You do not want any of the other cups packages Installing gutenprint-cups should force installation of all of the following that I have installed except the two hplip packages, which I don't think are needed: $ pkg info | egrep "cups|ghost|guten|hplip|fooma" cups-2.2.1 Common UNIX Printing System cups-filters-1.11.4 Additional backends, filters and other software for CUPS foomatic-db-20161105 Database for integrating printer drivers with common spoolers foomatic-db-engine-4.0.12_1,2 Foomatic database engine foomatic-db-hpijs-1.4 Foomatic data for the HPIJS printer drivers ghostscript9-agpl-base-9.16_5 Ghostscript 9.x PostScript interpreter, base part gimp-gutenprint-5.2.10_3 GutenPrint Printer Driver gutenprint-5.2.10 The "meta-port" for GutenPrint gutenprint-base-5.2.10_2 GutenPrint Printer Driver gutenprint-cups-5.2.10_3 GutenPrint Printer Driver gutenprint-foomatic-5.2.10_2 GutenPrint Printer Driver hplip-3.16.10 Drivers and utilities for HP Printers and All-in-One devices hplip-plugin-3.16.10 Binary plugin for some HP Printers and All-in-One devices Note that it's hplip-plugin, not plugins However, I'm pretty sure hplip and hplip-plugin are not needed; I meant to remove them but haven't done it yet. Look in /var/log/cups/error_log and tell us what you see.