Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 21:50:03 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Patrick Mahan <mahan@mahan.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Having trouble printing to my HP OJ Pro 8600 all-in-one
Message-ID:  <31b7b3c7-326f-87e2-2986-f06280057c46@dreamchaser.org>
In-Reply-To: <b63c46fd-b586-bab9-f053-13fbc2e515cc@mahan.org>
References:  <b63c46fd-b586-bab9-f053-13fbc2e515cc@mahan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31b7b3c7-326f-87e2-2986-f06280057c46>