Loading

Response to QueryResource for media

ResourceInfo/Media

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

@Class

/JMF/Response/ResourceInfo/Media/@Class

@DescriptiveName

/JMF/Response/ResourceInfo/Media/@DescriptiveName

@Dimension

/JMF/Response/ResourceInfo/Media/@Dimension

@HoleCount

See Pre-punched media

/JMF/Response/ResourceInfo/Media/@HoleCount

@HoleType

See Pre-punched media

/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

@MediaColorName

/JMF/Response/ResourceInfo/Media/@MediaColorName

@MediaColorNameDetails

/JMF/Response/ResourceInfo/Media/@MediaColorNameDetails

@MediaType

/JMF/Response/ResourceInfo/Media/@MediaType

@MediaTypeDetails

/JMF/Response/ResourceInfo/Media/@MediaTypeDetails

@oce:CustomMediaType

/JMF/Response/ResourceInfo/Media/@oce:CustomMediaType

@MediaSetCount

/JMF/Response/ResourceInfo/Media/@MediaSetCount

@Status

/JMF/Response/ResourceInfo/Media/@Status

@Scope

@Thickness

/JMF/Response/ResourceInfo/Media/@Thickness

@Weight

/JMF/Response/ResourceInfo/Media/@Weight

ResourceInfo

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.

ResourceInfo/Media/GeneralID

Syntax

XPath: /JMF/Response/ResourceInfo/Media/GeneralID[@IDUsage="DeviceProductID"]/@IDValue

IDValue = the ID of the media.

Type

String

Supported range

[0 .. 63] characters

Example

<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>