View Single Post
Old 05-04-2020, 09:42 AM   #5
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
Thanks. I'll use it if nothing else is available.

I'd rather a single EXE than solutions based on Java or Python.

I can't figure out if cpdf can crop/trim margins. This just copies the input file as-is, with no change:
Code:
cpdf -page-info input.pdf 72-75
Page 72:
Label: 45
MediaBox: 0.000000 0.000000 534.000000 750.000000
CropBox: 43.200000 61.200000 472.800020 706.799990
BleedBox:
TrimBox: 42.000000 60.000000 474.000000 708.000000
ArtBox:
Rotation: 0

cpdf -crop "0mm 0mm 534mm 750mm" input.pdf -o out.pdf 72-75

Last edited by Shohreh; 05-04-2020 at 09:46 AM.
Shohreh is offline   Reply With Quote