Loading

Accounting - Impressions / number of printed sides

ResourcePool/UsageCounter

Syntax

XPath: /JDF/ResourcePool/UsageCounter

Supported attributes

@Class

@CounterTypes

@Scope

@Status

@ID

Description

See QueryResource for the description of these attributes.

Impressions (UsageCounters) are only added to the AuditPool if the original ticket contains a (skeleton) UsageCounter. A skeleton UsageCounter can have any value for @CounterTypes.

AuditPool/ResourceAudit

Syntax

XPath: /JDF/AuditPool/ResourceAudit

Supported attributes

@QueueEntryID = "<queue entry ID of job>"

@TimeStamp

@AgentName = "PRISMAsync"

@AgentVersion = "V.R.L.P" (Version of main software of the printer)

@Reason = "ProcessResult"

AuditPool/ResourceAudit/UsageCounterLink

Syntax

XPath: /JDF/AuditPool/ResourceAudit/UsageCounterLink

Supported attributes

@rRef = "</JDF/ResourcePool/UsageCounter/@ID>"

@Usage = "Input"

@ActualAmount = "<see column 'Account Log' of the table of message 'Usage Counter ID' in topic QueryResource>"

@oce:ActualAmountA4Color = "<see nofprinteda4c>"

@oce:ActualAmountA4MICR = "<see nofprinteda4micr>"

@oce:ActualAmountA3BW = "<see nofprinteda3bw>"

@oce:ActualAmountXLBW = "<see nofprintedxlbw>"

@oce:ActualAmountA3Color = "<see nofprinteda3c>"

@oce:ActualAmountXLColor = "<see nofprintedxlc>"

@oce:ActualAmountA3MICR = "<see nofprinteda3micr>"

@oce:ActualAmountXLMICR = "<see nofprintedxlmicr>"

Description

ActualAmounts are the total number of printed impressions for this job. Meaning, the sum of all values of the specific nofprinted… field(s) of all records for this job in the account log file. The specific nofprinted… are defined in the table of message 'Usage Counter ID' in topic QueryResource.

/JDF/AuditPool/ResourceAudit/UsageCounterLink is added if the job is Completed or Aborted (record.result = 'Done' or 'Abrt').

Per counter, a /JDF/AuditPool/ResourceAudit and /JDF/AuditPool/ResourceAudit/UsageCounterLink is added; so there's only one UsageCounterLink per ResourceAudit.

Example

<AuditPool>

<ResourceAudit QueueEntryID="b81995b3-a24e-4d0b-a7fc-7bd8398772c9" TimeStamp="2017-07-05T17:20:10Z" AgentName="PRISMAsync" AgentVersion="2.2.0.0" Reason="ProcessResult">

<UsageCounterLink rRef="Counter_LargeBlack_170705172010.281" ActualAmount="9" oce:ActualAmountA3BW="9" oce:ActualAmountXLBW="0" Usage="Input"/>

</ResourceAudit>

<ResourceAudit QueueEntryID="b81995b3-a24e-4d0b-a7fc-7bd8398772c9" TimeStamp="2017-07-05T17:20:10Z" AgentName="PRISMAsync" AgentVersion="2.2.0.0" Reason="ProcessResult">

<UsageCounterLink rRef="Counter_ OneSided _170705172010.281" ActualAmount="14" Usage="Input"/>

</ResourceAudit>

</AuditPool>

ResourceLinkPool/UsageCounterLink

Syntax

XPath: /JDF/ResourceLinkPool/UsageCounterLink

Supported range

See /JDF/AuditPool/ResourceAudit/UsageCounterLink

Description

ActualAmounts are the total number of printed impressions for this job until this moment. Meaning, the sum of all values of the specific nofprinted… field(s) of all records for this job in the account log file.

/JDF/AuditPool/ResourceLinkPool/UsageCounterLink is added / updated if the job is Completed or Aborted (record.result = 'Done' or 'Abrt') or if the job is stopped and moved to WaitingRoom (record.result = Stop).

Per counter, a /JDF/AuditPool/ResourceLinkPool/UsageCounterLink is added to the same /JDF/AuditPool/ResourceLinkPool.

Example

<ResourceLinkPool>

<UsageCounterLink rRef="Counter_NormalBlack_170705172010.281" ActualAmount="11" Usage="Input"/>

<UsageCounterLink rRef="Counter_LargeBlack_170705172010.281" ActualAmount="9" oce:ActualAmountA3BW="9" oce:ActualAmountXLBW="0" Usage="Input"/>

<UsageCounterLink rRef="Counter_OneSided_170705172010.281" ActualAmount="14" Usage="Input"/>

<UsageCounterLink rRef="Counter_TwoSided_170705172010.2810" ActualAmount="18" Usage="Input"/>

</ResourceLinkPool>

AuditPool/PhaseTime[@Status="InProgress"]/UsageCounterLink

Syntax

XPath: /JDF/AuditPool/PhaseTime[@Status="InProgress"]/UsageCounterLink

Supported attributes

See /JDF/AuditPool/ResourceAudit/UsageCounterLink

Description

ActualAmounts are the number of printed impressions for this job during a certain print run. A job can be printed in multiple print runs (print, stop, move to WaitingRoom). For each print run a /JDF/AuditPool/PhaseTime[@Status="InProgress"]/UsageCounterLink is added. Meaning, for each record in the account log file.

Per counter, a /JDF/AuditPool/PhaseTime/UsageCounterLink is added to the same /JDF/AuditPool/PhaseTime

Example

<AuditPool>

<PhaseTime QueueEntryID="b81995b3-a24e-4d0b-a7fc-7bd8398772c9" TimeStamp="2017-07-05T17:20:10Z" AgentName="PRISMAsync" AgentVersion="2.2.0.0" Start="2017-07-05T17:19:47Z" End="2017-07-05T17:19:49Z" Status="InProgress">

<UsageCounterLink rRef="Counter_NormalBlack_170705172010.281" ActualAmount="11" Usage="Input"/>

<UsageCounterLink rRef="Counter_LargeBlack_170705172010.281" ActualAmount="9" oce:ActualAmountA3BW="9" oce:ActualAmountXLBW="0" Usage="Input"/>

<UsageCounterLink rRef="Counter_OneSided_170705172010.281" ActualAmount="14" Usage="Input"/>

<UsageCounterLink rRef="Counter_TwoSided_170705172010.2810" ActualAmount="18" Usage="Input"/>

</PhaseTime>

</AuditPool>