OpenPrinting / cups-filters

filters, backends, driverless utility, ... - Everything which CUPS 2.x needs to be used on non-Mac systems
Apache License 2.0
153 stars 124 forks source link

PDF format is not printing using CUPS (Yocto) #434

Open Suryaroa opened 2 years ago

Suryaroa commented 2 years ago

Hi

we are unable to print PDF file using CUPS libraries (in IMX6 Target) ,with same Libraries we are able to print .jpg ,.png and .txt format give us to support for adding PDF option in CUPS libraries.

this is my .bb file

https://layers.openembedded.org/layerindex/recipe/117934/

Thanks & Regards Satya

tillkamppeter commented 2 years ago

cups-filters supports PDF printing. To be able to render PDF (convert it to raster formats and/or display it on the screen) Ghostscript or Poppler (libpoppler library) is needed.

Your .bb file lists both Ghostscript and Poppler as a dependency. Does this cover also libpoppler? Is your package built with appropriate C header files installed (see also the build log of you packaging to see whether ./configure finds everything)? Are all files of Ghostscript (fonts, scripts, other resources, ...) installed?

danielkesler-htec commented 2 years ago

Hi,

I had the exact same issue while building with yocto (zeus). The error I was getting was same as mentioned in issue #449.

Turns out that qpdf 8.4.0 does not work even from command line. Once I switched qpdf to latest 10.6.2 everything started working.