PDF crop even-odd pages with PHP + GhostScript

后端 未结 2 1686
遇见更好的自我
遇见更好的自我 2020-12-21 16:54

I am working in a routine for crop PDF\'s and import them into a PDF template. I am using GhostScript, invoked with exec() from a PHP script, and FPDI. All runn

2条回答
  •  自闭症患者
    2020-12-21 17:21

    You can't set a 'CropBox' in PostScript, because CropBox isn't part of the PostScript language, its PDF-specific.

    You need to send a /PAGE pdfmark with a /CropBox, as the first post you reference says. You don't set a /Install.

提交回复
热议问题