data-id=jdf-features
data-id=id1
JDF Features
The use of pdfmark in PostScript can include representations of Job Definition Format (JDF) features. JDF is an extensible XML-based job ticketing format designed for use by the printing industry. Information about JDF can be obtained from http://www.cip4.org.
In particular, pdfmark for JDF allows the PostScript file/stream to specify elements and attributes to be added to a JDF document being used for a job. Applications that support JDF pdfmark include Acrobat Distiller 6.0 and 7.0.
Note
Distiller 8.0 and later does not support JDF. Any JDF-related pdfmark commands in the PostScript stream are ignored.
data-id=syntax
data-id=id2
Syntax
/Attribute
string
/Value
string
/Subtype /CreateAttribute
/JDF pdfmark
The Attribute and Value keys are described in the following table.
Keys supported by JDF pdfmark
Expression ::= JDFRoot'/'Attribute | JDFRoot'/'Children'/'Attribute JDFRoot ::= '//JDF' Children ::= Element | Element'/'Children Element ::= element | element'['FilterExpression']' FilterExpression ::= Filter | Filter 'and' FilterExpression | Filter 'or' FilterExpression Filter ::= Attribute'='Value Attribute ::= '@'attributedata-id=xpath-examples
data-id=id3
XPath Examples
The following table presents examples of XPath expressions.
XPath expressions
JobID attribute in root JDF node.rRef attribute of the ComponentLink found in the ResourcePool in the root JDF node.Status attribute of the Trapping node that is a child of the root JDF node.ResourceLinkPool of the root JDF node. It then selects the rRef attribute of the ComponentLink with both a Usage attribute value “Output” and a ProcessUsage attribute with value “Good”.Note
In actual use, all XPath expressions should end with
@attribute because they must define the location of an attribute.
The JDF pdfmark commands shown in the following example cause supporting applications to modify the current JDF document, as illustrated in the following diagram.
- Using JDF pdfmark to set Trapping element and subelement attributes
[ /Attribute (//JDF/JDF[@Type="Trapping"]/@Type)
/Value (Trapping)
/Subtype /CreateAttribute /JDF pdfmark
[ /Attribute
(//JDF/JDF[@Type="Trapping"]/ResourceLinkPool/TrappingDetailsLink/@rRef)
/Value (TD1)
/Subtype /CreateAttribute /JDF pdfmark
[ /Attribute
(//JDF/JDF[@Type="Trapping"]/ResourceLinkPool/TrappingDetailsLink
[@rRef="TD1"]/@Usage)
/Value (Input)
/Subtype /CreateAttribute /JDF pdfmark
The following shows the JDF structure created through JDF pdfmark in the preceding example.
[jdfstructure.png]