Having trouble printing to my HP OJ Pro 8600 all-in-one

Gary Aitken freebsd at dreamchaser.org
Thu Nov 24 04:50:17 UTC 2016

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:
    will force install of:
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.

More information about the freebsd-questions mailing list