Loading

Accounting – Media usage

ResourcePool/Media

Syntax

XPath: /JDF/ResourcePool/Media

Supported attributes

See topic QueryResource

Description

See topic QueryResource

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

Syntax

XPath: /JDF/AuditPool/ResourceAudit/MediaLink

Supported attributes

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

@Usage = "Input"

@ActualAmount

Description

@ActualAmount is the total number of sheets of referenced media used for this job.

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

Per media, a /JDF/AuditPool/ResourceAudit and /JDF/AuditPool/ResourceAudit/MediaLink is added; so only one MediaLink 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">

<MediaLink rRef="Media_170705172010.281_0" ActualAmount="11" 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">

<MediaLink rRef="Media_170705172010.281_1" ActualAmount="18" Usage="Input"/>

</ResourceAudit>

</AuditPool>

ResourceLinkPool/MediaLink

Syntax

XPath: /JDF/ResourceLinkPool/MediaLink

Supported attributes

See /JDF/AuditPool/ResourceAudit/MediaLink

Description

@ActualAmount is the total number of sheets of referenced media used for this job.

/JDF/AuditPool/ResourceLinkPool/MediaLink is added or 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 used media, a /JDF/AuditPool/ResourceLinkPool/MediaLink is added to the same /JDF/AuditPool/ResourceLinkPool.

Example

<ResourceLinkPool>

<MediaLink rRef="Media_170705172010.281_0" ActualAmount="11" Usage="Input"/>

<MediaLink rRef="Media_170705172010.281_1" ActualAmount="18" Usage="Input"/>

</ResourceLinkPool>

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

Syntax

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

Supported attributes

See /JDF/AuditPool/ResourceAudit/MediaLink

Description

@ActualAmount is the number of sheets of referenced media used 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"]/MediaLink is added. So, for each record in the account log file.

Per counter, a /JDF/AuditPool/PhaseTime/MediaLink 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">

<MediaLink rRef="Media_170705172010.281_0" ActualAmount="11" Usage="Input"/>

<MediaLink rRef="Media_170705172010.281_1" ActualAmount="18" Usage="Input"/>

</PhaseTime>

</AuditPool>