[cups] Can't detect file type / Not a PDF file

Henrik Morsing henrik at morsing.cc
Thu May 2 07:20:11 PDT 2019


On Thu, May 02, 2019 at 04:10:44PM +0200, Helge Blischke wrote:
>
>I’d file a bug at openprinting.org for the gstoraster (and possibly other) filter(s)
>and suggest as a possible solution to read the environment variable
>CONTENT_TYPE
>instead
>and check the contents for
>application/postscript
>of
>application/pdf
>
>It is not necessary to strip the HP control statements, as Ghostscript’s PS interpreter
>defines these as no ops.
>

Hi,

Thanks for suggesting that and thanks to everyone trying to sort this out.

I think my first step will be to upgrade from Stretch to Buster (testing) and see if the filter upgrade fixes it, if not, I will go to OpenPrinting.

Thanks
Henrik


More information about the cups mailing list