Syntax
XPath: /Response/ResourceInfo/Media/
Supported attributes
@Class
@DescriptiveName
@Dimension
@HoleCount
@HoleType
@DeviceProductID
@ImagableSide
@MediaColorName
@MediaColorNameDetails
@MediaType
@MediaTypeDetails
@oce:CustomMediaType
@MediaSetCount
@Status
@Scope
@Thickness
@Weight
Description
Attribute |
XPath |
---|---|
/JMF/Response/ResourceInfo/Media/@Class |
|
/JMF/Response/ResourceInfo/Media/@DescriptiveName |
|
/JMF/Response/ResourceInfo/Media/@Dimension |
|
@HoleCount |
/JMF/Response/ResourceInfo/Media/@HoleCount |
@HoleType |
/JMF/Response/ResourceInfo/Media/@HoleType |
@DeviceProductID See Media ID |
The ID of the media as defined in the Device namespace. /JMF/Response/ResourceInfo/Media/GeneralID[@IDUsage="DeviceProductID"]/@IDValue |
@ImagableSide |
/JMF/Response/ResourceInfo/Media/@ImagableSide |
/JMF/Response/ResourceInfo/Media/@MediaColorName |
|
/JMF/Response/ResourceInfo/Media/@MediaColorNameDetails |
|
/JMF/Response/ResourceInfo/Media/@MediaType |
|
/JMF/Response/ResourceInfo/Media/@MediaTypeDetails |
|
/JMF/Response/ResourceInfo/Media/@oce:CustomMediaType |
|
/JMF/Response/ResourceInfo/Media/@MediaSetCount |
|
@Status |
/JMF/Response/ResourceInfo/Media/@Status |
@Scope |
|
@Thickness |
/JMF/Response/ResourceInfo/Media/@Thickness |
/JMF/Response/ResourceInfo/Media/@Weight |
Syntax
XPath: /Response/ResourceInfo/
Supported value
@Scope
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/Response/ResourceInfo/Media/GeneralID[@IDUsage="DeviceProductID"]/@IDValue
IDValue = the ID of the media.
Type
String
Supported range
[0 .. 63] characters
<JMF>
<Response Type="Resource" ReturnCode="0">
<ResourceInfo>
<Media Class="Consumable" DescriptiveName="Example" Dimension="612 792" Status="Available" Scope="Allowed" Weight="123" MediaColorNameDetails="RGB(253,237,184)" HoleType="R3-generic" MediaSetCount="4" MediaType="Paper" MediaTypeDetails="PreCutTabs" oce:CustomMediaType="Custom Type" ImagableSide="Neither" ID="Media_151117093659.127_0">
<GeneralID IDUsage="DeviceProductID" IDValue=".."/>
</Media>
</ResourceInfo>
<ResourceInfo>
<UsageCounter Class="Consumable" ID="Counter_NormalBlack_170705080509.695_1" Status="Available" Scope="Job" CounterTypes="Impressions Black Blank Insert OneSided TwoSided NormalSize">
</UsageCounter>
</ResourceInfo>
</Response>
</JMF>