cups problems on 10.3 release both Epson and HP

Tijl Coosemans tijl at
Mon Nov 7 20:14:38 UTC 2016

On Mon, 7 Nov 2016 11:56:14 -0700 Gary Aitken <freebsd at> wrote:
> I did have older driver versions, but no choice for the newer ones.
> I reinstalled all of my ports and now see the following:
>   Epson Stylus Pro 3880 - CUPS+Gutenprint v5.2.10
>   HP Officejet Pro 8500 a909g, hpcups 3.16.10
> The Epson seems to be working ok; I can now print a self-test and a test page.
> However, when I go to print a self-test page on the HP I get:
>   Unsupported document-format "application/vnd.cups-command"
> /usr/local/share/cups/mime/
>   # "$Id: mime.types 7670 2008-06-17 22:42:08Z mike $"
>     contains:
>       application/vnd.cups-command    string(0,'#CUPS-COMMAND')
>   cupsfilters.types contains only the following application* mime types:
>       application/vnd.adobe-reader-postscript
>       application/vnd.cups-pdf
>       application/vnd.cups-pdf-banner

But printing the CUPS test page works right?

Self-test is a special command that can be sent to the printer to make it
print its own internal test page.  The hplip drivers don't support such
commands.  You should still be able to print that page through the web
interface of the printer (http://ip-address-of-printer/).  Also, if you
installed hplip with X11 option on, you should have "HP Device Manager"
in the application menu of your desktop.  If you setup your printer via
this application (remove the printer in CUPS web interface first), then
you can perform some special commands, but it doesn't look like self-test
is one of them.
> I have the following ports installed:
> $ pkg info | awk '{ print $1 }' - | grep -E "cups|foo|guten|ghost|hp"
> cups-2.2.1                 
> cups-filters-1.11.4
> foomatic-db-20161105
> foomatic-db-hpijs-1.4
> ghostscript9-agpl-base-9.16_5
> gutenprint-base-5.2.10_2
> gutenprint-cups-5.2.10_3
> hplip-3.16.10
> hplip-plugin-3.16.10

You can remove foomatic-db, foomatic-db-hpijs and hplip-plugin.

> I'm guessing I need cups-pstoraster for the missing piece?
> If I try to add 
>   print/cups-pstoraster
> which also installs
>   print/cups-client
>   print/cups-image
> I can't because of conflicts:
>   pkg-static: cups-client-2.0.3_2 conflicts with cups-2.2.1
>     (installs files into the same place).
>     Problematic file: /usr/local/bin/cups-config
> It's unclear to me what gets installed from the print/cups port;
> I had thought it was a meta-port that would install cups-base and others
> depending on the options, but apparently not.  What is the difference 
> between print/cups-base and print/cups?

These ports no longer exist.  cups-pstoraster is now part of cups-filters
and cups-base, cups-client and cups-image are part of print/cups.  If
you still see these ports your ports tree isn't updating properly.

More information about the freebsd-questions mailing list