Code Monkey home page Code Monkey logo

Comments (7)

michaelrsweet avatar michaelrsweet commented on June 13, 2024

Regarding the first issue, look for errors from pdftoppm (from Poppler or Xpdf) - there are some known compatibility issues.

Regarding the PCL output, "ESC*r0B" is correct and PCL Paraphernalia is wrong - PCL 3 and 4 had an argument for the end raster graphics command while PCL 5 does not. For maximum compatibility, we need to keep the "0" argument in there.

from ippsample.

AFischer4 avatar AFischer4 commented on June 13, 2024

No it’s not pdftoppm alone. I tried different pdf files from different producers and calling pdftoppm from the command line is sending valid grafic data.
And you won’t notice the error, until you try to use ipptransform as man-in-the-middle to directly stream the result from pdftoppm to the upper level ippserver via stdout.

I think the unidirectional pipe of popen() is overwriting the opposite direction.
To call pdftoppm all the arguments are passed by command line or environment, and the result is received via stdin. The opposite direction stdout is during this time overwritten with /dev/null?
That is the main reason, why ippserver only received 4 bytes of data.

Regarding the PCL output, ESC*r0B:
I started with PCL5 and didn’t know about differences in previous versions.
Besides PCL Paraphernalia another website didn’t mention the existence of differences to earlier versions.
Sorry for the noise.

from ippsample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.