The media decoded at job level is referred by //DigitalPrintingParams/MediaRef/@rRef. The media decoded at job level can also be referred by a MediaLink in the ResourceLinkPool node. At least one Media element must be present.
No attributes are mandatory.
If job level media is not required, then the job media definition can be left empty.
Page level media are specified using partitioning.
Syntax
XPath: /JDF/ResourcePool/DigitalPrintingParams/MediaRef/@rRef
When partitioned
/JDF/ResourcePool/DigitalPrintingParams[@PartIDKeys="RunIndex"]/DigitalPrintingParams[@RunIndex="…"]/ MediaRef/@rRef
<JDF>
<ResourcePool>
<DigitalPrintingParams ID="res_6">
<MediaRef rRef="media_job_default"/>
</DigitalPrintingParams>
<Media ID="media_job_default" Class="Consumable" Status="Available">
</Media>
</ResourcePool>
<ResourceLinkPool>
<DigitalPrintingParamsLink rRef="res_6" Usage="Input"/>
<MediaLink rRef="media_job_default" Usage="Input"/>
</ResourceLinkPool>
</JDF>
<JDF>
<ResourcePool>
<DigitalPrintingParams ID="res_6">
<DigitalPrintingParams RunIndex="0 ~ 3">
<MediaRef rRef="media_1"/>
</DigitalPrintingParams>
</DigitalPrintingParams>
<Media ID="media_1" Class="Consumable" Status="Available" DescriptiveName="" oce:CustomMediaType="Plain paper" MediaColorNameDetails="White" Weight="80" HoleCount="0" HoleType="Explicit" MediaSetCount="1">
</Media>
</ResourcePool>
<ResourceLinkPool>
<DigitalPrintingParamsLink rRef="res_6" Usage="Input"/>
<MediaLink rRef="media_1" Usage="Input"/>
</ResourceLinkPool>
</JDF>