This message specifies which resources are queried.
The current implementation supports Media and UsageCounters resources. If no ResourceQuParams are specified or if ./ResourceQuParams/@Classes contains ‘Consumable’, the media catalogue and the supported UsageCounters are returned in the response to QueryResource.
The supported UsageCounters depend on the Accounting License and on the number of ink/toner colours.
If ./ResourceQuParams/@ResourceName = ‘Media’, then only the media catalogue is returned. If ./ResourceQuParams/ @ResourceName = ‘UsageCounter’, then only the supported usage counters are returned.
If @Scope=’Present’, then the returned media catalogue only contains media that are assigned to a tray. If @Scope=’Allowed’ or not defined, then all media in the catalogue are returned.
Syntax
XPath: /JMF/Command[@Type=”QueryResource”]/ResourceQuParams
<JMF xmlns="http://www.CIP4.org/JDFSchema_1_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Query Type="Resource" xsi:type="QueryResource">
<ResourceQuParams Classes="Consumable Handling"/>
</Query>
</JMF>
<JMF xmlns="http://www.CIP4.org/JDFSchema_1_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Query Type="Resource" xsi:type="QueryResource">
<ResourceQuParams Classes="Consumable Handling" ResourceName="Media" Scope="Present"/>
</Query>
</JMF>
Click https://supportfiles.oce.com/trm/TRM-Examples-Mk6.2.zip to download these examples.