0

I am trying to write a series of functions to print different file formats to a file rather than directly, I am struggling with PDFs and was wondering if anyone knew of a way to convert or print a PDF to a file (PS, PCL etc.)

Papaya21
  • 45
  • 6
  • Check this out: http://stackoverflow.com/questions/18912469/convert-all-files-in-a-folder-from-pdf-to-pcl-with-ghostscript – Victor Zakharov Mar 17 '14 at 14:21
  • Thanks but ideally need to avoid external libraries – Papaya21 Mar 17 '14 at 14:35
  • Want to avoid external libraries? - no problem. Write your own PDF creator/post script writer and be done with that. :o)) – T.S. Mar 17 '14 at 15:02
  • @T.S. its not necessarily a big task if you dont need that many capabilities drawing lines and text is pretty trivial to do. But if you need to support the whole spec then yes its a bit of suicide. – joojaa Mar 18 '14 at 19:19
  • 1
    @joojaa I would better save my time to do something productive than reinvent the bicycle :o) – T.S. Mar 18 '14 at 21:46
  • 1
    @T.S. Well it could be useful if you needed to do pdf inside a browser javascript or some other program with limited toolset/scope. After all my python PDF code was only 100 lines long (windows batch version even shorter). By the way the guys sitting next room to me are actually writing a PHD on redesigning the bike ground up. Like i said its not necessarily that much work. – joojaa Mar 18 '14 at 21:53

0 Answers0