Processing example

Example input jobticket

<?xml version="1.0"?>
<mtp-data>
	<document>/Volumes/MTP/Input/PR_AS_001_015.indd</document>
	<allpages>true</allpages>
	<print-set>PR_HS_Ran_13</print-set>
	<output-path>/Volumes/Production/Issue-13-3/</output-path>
	<parameter-overrides>
		<parameter group="PDF Export" name="cropMarks" value="true"/>
		<parameter group="PDF Export" name="colorBars" value="false"/>
		<parameter group="PDF Export" name="readerSpreads" value="true"/>
	</parameter-overrides>
	<extended>
		<xmetadata name="Name" value="ABC12_1103_Ad035"/>
		<xmetadata name="Modified" value="2013-03-03T10:34:12"/>
		<xmetadata name="Creator" value="axaio"/>
		<xmetadata name="Created" value="2012-02-24T22:56:23"/>
		<xmetadata name="Publication" value="axPub"/>
		<xmetadata name="Issue" value="03_2013"/>
		<xmetadata name="Section" value="Adverts"/>
		<xmetadata name="PageRange" value="1-15"/>
		<xmetadata name="Deadline" value="yesterday!"/>
		<xmetadata name="PageNumber" value="4"/>
	</extended>
</mtp-data>

Example result jobticket

<?xml version="1.0" encoding="UTF-8" ?>
<mtp>
	<type>ok</type>
	<contents>
		<status>ok</status>
	</contents>
	<OutputFiles>
		<OutputFile>/_toPDF/Projekt1_001.pdf</OutputFile>
		<OutputFile>/_toPDF/Projekt1_002.pdf</OutputFile>
		<preflight-report>/out/Projekt1_report.txt</preflight-report>
	</OutputFiles>
	<InputFiles>
		<InputFile>/in/Projekt1.indd</InputFile>
	</InputFiles>
    <mtp-settings>
    	<!-- will include the <mtp-data>-section of the original jobticket -->
	</mtp-settings>
	<mtp-info>
		<mtp-version>2.8.323</mtp-version>
		<app-name>Adobe InDesign</app-name>
		<app-version>13.1.1</app-version>
		<app-instance></app-instance>
		<os-name>Macintosh</os-name>
		<os-version>10.14.6</os-version>
		<machine-name>axaio</machine-name>
		<user-name>admin</user-name>
		<process-start>2021-03-10 16:42:36</process-start>
		<process-end>2021-03-10 16:42:39</process-end>
		<process-duration>3</process-duration>
	</mtp-info>
</mtp>

Order of Processing

  • finding Jobticket /in/jobticket.xml
    • running <preprocess-script> if provided
    • opening document provided in <document> //only if preprocess-script did not open a document
    • {document is opened}
    • running  <scripts-before> if provided
    • processing  <printjob> //only if scripts-before dir not return "error"
    • running  <scripts-after> if provided
    • running <preprocess-script> if provided
    • {document is closed} //only if not closed by postprocess-script
  • result is written to /out/jobticket.xml

0 Comments

Add your comment

E-Mail me when someone replies to this comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.