I'm trying to get a better sense of how the "Print to File" option works on Linux Mint. Basically, when I open a PDF with Evince and print it to PDF, the output is different from the original, and typically quirks in the original file are cleaned up in the output. If I pipe the original file through Ghostscript instead, the output is closer to the original. How do I figure out how "Print to File" works differently from Ghostscript?

  • Strace would be one way -- unix.stackexchange.com/a/18872/117549 – Jeff Schaller Apr 9 '16 at 23:16
  • I played around with strace for a while but it looks like that shows low level system calls. I'm more interested in the various applications/processes that get triggered by a particular process. I've still got some to learn about it, though. Is there a way to get this information using strace? – lobati Apr 9 '16 at 23:21
  • Look for exec calls. Also, -f follow children processes. – Jeff Schaller Apr 9 '16 at 23:21
  • Hmm, no exec calls in the output. I tacked on a -f, too. A lot of read, write and random other system calls. – lobati Apr 9 '16 at 23:30
  • 1
    It may be that they are standalone, independent processes (and code bases) that simply do it differently. – Jeff Schaller Apr 9 '16 at 23:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.