Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need help cropping pdf using Applescript

New Here ,
Dec 23, 2016 Dec 23, 2016

G'day

I've got a large App called Mail Manager, part of which prints out pdf using Acrobat DC, and add 4 text boxes, 2 with barcodes.

Sometimes our clients send large images, with a crop box, and images outside the crop box.

We only want to print what's in the crop box, but to fit the extra 4 text boxes on the image, I have to enlarge its boundaries.

This sometimes reveals (and prints) the extra image components that the sender has not cropped.

I need a way, using Xcode ASObjC, to crop the image before expanding it and adding the 4 text boxes.

The menus in Acrobat DC DO NOT respond to applescript commands, so I can't crop the image.

Is there any way, such as with Java, or ANYTHING, that will crop that darn image, please?

Regards

Santa

506
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 07, 2017 Jan 07, 2017
LATEST

I found that saving a cropped marked PDF AS A TIFF, then re-opening the TIFF in Acrobat, cropped the image to the crop marks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines