0

Can I just get the page size with Ghostscript?

I am aware if this answer, but can it be done straight on the command line somewhat like this:

gs -dNODISPLAY -q -c "some postscript" input_file.pdf 

as I cannot guarantee that pdf_info.ps is available where the command is run.

Community
  • 1
  • 1
simone
  • 4,667
  • 4
  • 25
  • 47

0 Answers0