Automator: Print Plugins (PDF)
- Automator New Pdf Contact Sheet Template
- Automator New Pdf Contact Sheet Download
- Automator New Pdf Contact Sheet Free
- New Pdf Contact Sheet Automator
By default, Automator includes a workflow template for processing PDF files generated when the user selects a Print Plugin workflow from the PDF popup menu in the application Print dialog.
The following example details the creation of an Automator PDF Print Plugin that adds a new slide containing an image of the current map in the Maps app, to a new slide in a Keynote presentation.
Example: Export Map to Keynote as Image
Click on the toolbar and give the workflow a name, such as Contact Sheets, and move it to the Desktop. Click on PDFs in the Library and drag New PDF Contact Sheet into the main window. It's trivial, but convenient: create a quick and dirty 'contact sheet' of images using Quick Look, three simple keyboard shortcuts, and one mouse-click: Open the folder containing the set of image files. Press Command-A, Command-Option-Y, click the Index Sheet button, then press Command-Shift-3. Just that easily, and you've made a contact sheet.
This 3-action workflow renders an image from the PDF file generated using the PDF popup menu in the Maps print dialog. It includes an AppleScript script (provided here) that performs the task of creating a new slide in Keynote and importing the image rendered by the first workflow action. The workflow ends by “cleaning-up after itself” by deleting the generated image file after the import process has completed.
DOWNLOAD the example Print Plugin workflow file.
1 The Automator Print Plugin workflow document.
2 The input banner declares that the workflow receives PDF files from the macOS print system as the workflow input.
3 The Render PDF Pages as Images action will render the printed PDF pages to images of the indicated format and resolution. Each PDF page will be rendered to a single image file, which will be passed to the next action for processing.

4 The Run AppleScript action contains the AppleScript script shown below that creates a new image slide in the frontmost Keynote document for each of the rendered PDF pages. If no presentation is currently open, a new one will be created. References to the rendered images passed as input to this action will be passed through to the next action.
5 The Move Finder Items to the Trash action will delete the images files previously rendered into the user’s Temporary Items folder.
The AppleScript Script
The following AppleScript script is designed to process the rendered images passed to it as input. Each image file will be placed on a new slide in the frontmost Keynote document. To use in a workflow, add the Run AppleScript action to the workflow and replaces its default contents with this script.
| New Image Slide(s) | ||
| 01 | onrun {input, parameters} | |
| 02 | try | |
| 03 | if the class of input is not list then set input to input as list | |
| 04 | ||
| 05 | tell applicationid'com.apple.iWork.Keynote' | |
| 06 | activate | |
| 07 | ||
| 08 | if not (existsdocument 1) then | |
| 09 | makenewdocument | |
| 10 | end if | |
| 11 | ||
| 12 | tell the front document | |
| 13 | setdocWidth to its width | |
| 14 | setdocHeight to its height | |
| 15 | ||
| 16 | set the masterSlideNames to the name of every master slide | |
| 17 | ||
| 18 | repeat with i from 1 to the count of input | |
| 19 | setaImageFile to item i of input | |
| 20 | ||
| 21 | if 'Blank' is in the masterSlideNames then | |
| 22 | setaSlide to ¬ | |
| 23 | makenewslide with properties {base slide:master slide'Blank'} | |
| 24 | else | |
| 25 | setaSlide to makenewslide | |
| 26 | end if | |
| 27 | ||
| 28 | tell aSlide | |
| 29 | setaImage to makenewimage with properties {file:aImageFile} | |
| 30 | end tell | |
| 31 | ||
| 32 | tell aImage | |
| 33 | setimgWidth to its width | |
| 34 | setimgHeight to its height | |
| 35 | end tell | |
| 36 | ||
| 37 | -- image height based on setting new image width to slide width | |
| 38 | setnewImgHeight to (imgHeight * docWidth) / imgWidth | |
| 39 | -- is new image height greater than or equal to doc height? | |
| 40 | if newImgHeight is greater than or equal to docHeight then | |
| 41 | setnewImgWidth to docWidth | |
| 42 | -- center image vertically | |
| 43 | setvOffset to ((newImgHeight - docHeight) / 2) * -1 | |
| 44 | sethOffset to 0 | |
| 45 | else | |
| 46 | -- scale image height to match slide height | |
| 47 | setnewImgHeight to docHeight | |
| 48 | setnewImgWidth to (docHeight * imgWidth) / imgHeight | |
| 49 | -- center image horizontally | |
| 50 | setvOffset to 0 | |
| 51 | sethOffset to ((newImgWidth - docWidth) / 2) * -1 | |
| 52 | end if | |
| 53 | ||
| 54 | tell aImage | |
| 55 | set its width to newImgWidth | |
| 56 | set its height to newImgHeight | |
| 57 | set its position to {hOffset, vOffset} | |
| 58 | end tell | |
| 59 | ||
| 60 | end repeat | |
| 61 | end tell | |
| 62 | end tell | |
| 63 | on errorerrorMessage | |
| 64 | display dialogerrorMessage buttons {'Cancel'} default button 1 | |
| 65 | end try | |
| 66 | ||
| 67 | returninput | |
| 68 | end run | |
Using the Plugin
Automator New Pdf Contact Sheet Template
Using the Print Plugin is a simple process, outlined here:
1 The map document window. Although this example is shown in satellite view without sidebars and location pins, you can setup your maps as you like.
2 The print sheet appears over the document window after “Print…” is selected from the File menu.
3 This example optionally uses a user-created custom paper size that matches the dimensions of the target presentation. The map will automatically expand to fit the indicated size.
4 The PDF popup menu that list the PDF export options, one of which is the installed example Print Plugin workflow.
5 Select the Print Plugin workflow to begin PDF export and image conversion and placement into Keynote.
Starting with macOS Mojave (v10.14), workflows that contain Apple Event scripts targeting applications, will prompt the user for an initial approval of the workflow. This approval is only required once.
The rendered image file will be imported to a new slide added to the current Keynote document. If no presentation is open in Keynote, a new one using default settings will be created.

Custom Printer Paper Sizes
Automator New Pdf Contact Sheet Download
PRO TIP: use the Paper Size popup menu in the Print Setup dialog to create custom paper sizes that match the standard slide sizes you use for your presentations. The custom printer settings will work well with the example PDF Plugin to create images of the appropriate size for use in the Keynote presentations.
In this example, a custom printer paper size that matches 1920 x 1080 pixels was created and used.
TRADOC Forms (TFs)
Automator New Pdf Contact Sheet Free
TFs are prescribed by TRADOC administrative publications. Forms prescribed by TRADOC pamphlets are optional.
Note: Right-Click and select 'Save Target As' to download form to your desktop.
New Pdf Contact Sheet Automator
| TF Number | Date Published | TF Title |
| 5 | Dec 2014 | Transmittal, Action and Control PDF: TF5.pdf |
| 25-35 | May 2008 | Publication Review XFDL (IBM/Lotus/PureEdge): TF25-35-1.xfdl PDF: TF25-35-1.pdf |
| 25-36-1 | June 2015 | TRADOC Doctrine Publication Checklist PDF: TF25-36-1.pdf |
| 240-R | Jan 2004 | Ammunition Management Checklist XFDL (IBM/Lotus/PureEdge): TF240-R.xfdl PDF: TF240-R.pdf |
| 270 | Feb 2007 | Institutional Attendance Register XFDL (IBM/Lotus/PureEdge): TF270.xfdl PDF: TF270.pdf |
| 298 | Mar 2008 | Drill Sergeant of the Year Nominee XFDL (IBM/Lotus/PureEdge): TF298.xfdl PDF: TF298.pdf |
| 350-6-1 | Jul 2009 | Training Abuse Report XFDL (IBM/Lotus/PureEdge): TF350-6-1.xfdl PDF: TF350-6-1.pdf |
| 350-6-2 | Nov 2010 | Initial Military Training (IMT) Soldier Assessment Report XFDL (IBM/Lotus/PureEdge): TF350-6-2.xfdl PDF: TF350-6-2.pdf |
| 350-18-1 | Feb 2007 | TATS/RC3 Exportable Instructional Material Request XFDL (IBM/Lotus/PureEdge): TF350-18-1.xfdl PDF: TF350-18-1.pdf |
| 350-18-2 | Apr 2018 | Unit Pre-Execution Checklist PDF: TF350-18-2.pdf |
| 350-70-4-1 | Jul 2003 | Observation Worksheet XFDL (IBM/Lotus/PureEdge): TF350-70-4-1.xfdl PDF: TF350-70-4-1.pdf |
| 350-70-4-2 | Oct 2003 | Record for Evaluation of Accreditation Standards XFDL (IBM/Lotus/PureEdge): TF350-70-4-2.xfdl PDF: TF350-70-4-2.pdf |
| 350-70-10-1 | Jun 2003 | Validation Volunteer Background Data Sheet XFDL (IBM/Lotus/PureEdge): TF350-70-10-1.xfdl PDF: TF350-70-10-1.pdf |
| 350-70-12-1 | Aug 2003 | Catalog Form (CataForm) for the Reimer Digital Library (RDL) On-Line Card Catalog XFDL (IBM/Lotus/PureEdge): TF350-70-12-1.xfdl PDF: TF350-70-12-1.pdf |
| 559 | Sep 1990 | AIMS Student Evaluation PDF: TF559AIMS.pdf |
| 560 | Feb 1986 | AIMS Answer Sheet PDF: TF560AIMS.pdf |
| 600-11-1 | May 2008 | Equal Opportunity Action Goal XFDL (IBM/Lotus/PureEdge): TF600-11-1.xfdl PDF: TF600-11-1.pdf |
| 600-14-4 | Jan 2005 | Sergeant Audie Murphy Club Board Remarks Sheet XFDL (IBM/Lotus/PureEdge): TF600-14-4.xfdl PDF: TF600-14-4.pdf |
| 600-18-1 | Jul 2004 | TRADOC Telework Report XFDL (IBM/Lotus/PureEdge): TF600-18.xfdl PDF: TF600-18.pdf |
| 600-21-1 | Oct 2017 | Instructor Observation Rubric Due to copyright resitrctions, this form is only available on the TED-T website under Faculty and Staff resources. (CAC required) |
| 600-21-2 | Oct 2017 | Master Instructor Board Member Appraisal Worksheet PDF: TF600-21-2.pdf |
| 600-21-3 | Oct 2017 | Master Instructor Selection Board Recommendation PDF: TF600-21-3.pdf |
| 600-21-4 | Oct 2017 | Instructor Developmental Observation Worksheet PDF: TF600-21-4.pdf |
| 600-21-5 | Oct 2017 | Course/Lesson Design/Redesign Checklist PDF: TF600-21-5.pdf |
| 712 | Mar 2016 | Request for Official OCONUS Temporary Duty Travel PDF: TF712.pdf |
| 1018 | Jul 2020 | Certificate of Achievement PDF: TF1018.pdf (fillable) |
| 1019 | Jul 2020 | Certificate of Appreciation PDF: TF1019.pdf (fillable) |
| 1020 | Sep 2011 | Scroll of Appreciation PDF: TF1020.pdf |
| 1021 | Aug 2020 | Expert Soldier Badge (ESB) Validator Checklist PDF: TF1021.pdf |
| 1022 | Nov 2016 | E-ZPass® Transponder Tracking Log PDF: TF1022-E.pdf |
| LABELS | ||
| 1001 | Sep 1980 | Pouch Mailing Label PDF: TL1001.pdf |