Menu

Legal Paper sized PDF

Help
2011-11-25
2013-04-29
  • Larry Meader

    Larry Meader - 2011-11-25

    This is a great library, but I'm running into a snag.  I have some postscript files that are legal size (8 1/2 x 14). When I use the PDFConverter it chops off the top 3 inches or so (down to letter size paper).  Is there a way to set the Paper size for the PDF? I ran into this problem with ghostscripts command line, and it was as easy as adding '-sPAPERSIZE#legal' to the ps2pdf.bat command …. is there a way to do that programmatically using this library?

    Thanks!

     
  • zippy1978

    zippy1978 - 2011-11-26

    Hi,

    I juste released version 0.4.4 of the library.

    You can now use setPaperSize("legal") with PDFConverter and PSConverter.

    Regards

     
  • Larry Meader

    Larry Meader - 2011-11-28

    That worked great! Thanks!

     
  • zippy1978

    zippy1978 - 2011-11-28

    You're welcome :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.