Hi,
You should be able to to get the paper size by running pdf_info.ps.
Switches for GhostscriptProcessor:
You can get pdf_info.ps from here: http://git.ghostscript.com/?p=ghostpdl.git;a=blob;f=gs/toolbin/pdf_info.ps;h=f4728bdd8ae47f093462d02f0cee335cd1223aa1;hb=53cc9631a7725b0f6a20d815252c3a23b978d8ee
Cheers,
Josip
You should be able to to get the paper size by running pdf_info.ps.
Switches for GhostscriptProcessor:
-dNODISPLAY
-q
-sFile=c:\your.pdf
-dDumpMediaSizes
C:\path-to\pdf_info.ps
This will output paper size via StdOut.You can get pdf_info.ps from here: http://git.ghostscript.com/?p=ghostpdl.git;a=blob;f=gs/toolbin/pdf_info.ps;h=f4728bdd8ae47f093462d02f0cee335cd1223aa1;hb=53cc9631a7725b0f6a20d815252c3a23b978d8ee
Cheers,
Josip