Loading

Response to QueryResource for usage counters

ResourceInfo/UsageCounter

Syntax

XPath: /Response/ResourceInfo/UsageCounter/

Supported attributes

  • @Class

  • @Status

  • @Scope

  • @ID

  • @CounterTypes

Class

Syntax

XPath: /Response/ResourceInfo/UsageCounter/@Class

Type

Enumeration

Supported value

Consumable

Remark

Supported by all products.

Status

Syntax

XPath: /Response/ResourceInfo/UsageCounter/@Status

Type

Enumeration

Supported value

Available

Scope

Syntax

XPath: /Response/ResourceInfo/UsageCounter/@Scope

Type

Enumeration

Supported value

Job

ID

An ID of the usage counter as defined in the Device namespace. See the table below for the available counter IDs.

Syntax

XPath: /Response/ResourceInfo/UsageCounter/@ID

Type

String

Supported range

[0 .. 63] characters

The ID changes every time, but it includes the following fixed part: ‘Counter_<counter ID>_<timestamp>’. For the counter IDs, see the table below in section "Counter types".

Countertypes

Syntax

XPath: /Response/ResourceInfo/UsageCounter/@CounterTypes

Type

NMTOKENS

Supported values

For the counter types, see the table below:

Counter ID

CounterTypes

Account log

Units

Colorant

Sides

Size

NormalBlack

Impressions

Black

Blank

Insert

OneSided

TwoSided

NormalSize

nofprinteda4bw

NormalColor

Impressions

Color

OneSided

TwoSided

NormalSize

nofprinteda4c +

nofprinteda4micr

LargeBlack

Impressions

Black

Blank

Insert

OneSided

TwoSided

LargeSize

nofprinteda3bw +

nofprintedxlbw

LargeColor

Impressions

Color

OneSided

TwoSided

LargeSize

nofprinteda3c +

nofprintedxlc +

nofprinteda3micr +

nofprintedxlmicr

OneSided

Impressions

Black

Blank

Color

OneSided

sum of nofsimplex<mediaid>

TwoSided

Impressions

Black

Blank

Color

TwoSided

sum of nofduplex<mediaid>