Schemas for the print Superservice
Prev | Chapter 6. Schemas Reference | Next

## Schemas for the print Superservice

### DLF Schema for Print service

Schema ID: `print`

Timestamp Field: `time`

Each record in a the print schema contains the information about one print job.

Fields in the Schema

`time`

  Type: timestamp

  Defaults: 0

  The time at which the print job started printing.

`duration`

  Type: timestamp

  Defaults: 0

  The time the print job took to print.

`client_host`

  Type: hostname

  Defaults: -

  The client hostname (or ip address) that requested the print job.

`user`

  Type: string

  Defaults: -

  The name of the user who requested the print job.

`job-id`

  Type: string

  Defaults: -

  The identifier assigned to the job by the printing system. No uniqueness constraint are placed on this field. For example, it is possible for a printing system to reset the job identifiers after each restart of the system.

`printer`

  Type: string

  Defaults: -

  The printer's name on which the job was printed.

`num_copies`

  Type: int

  Defaults: 1

  The number of copies of the job that were printed.

`num_pages`

  Type: int

  Defaults: 0

  The number of pages contained in the requested print job not counting the copies, i.e. the number of pages in one copies of the print job.

`size`

  Type: bytes

  Defaults: -

  The size of requested print job.

`billing`

  Type: string

  Defaults: -

  An identifier used to relate the job to an billing account.

### Extended Schemas for the print Superservice

#### Sheet Count Extended Schema for Print service

Schema ID: `print-sheets`

Base Schema: `print`

Module: `Lire::Extensions::Print::PrintSchema`

Required Fields: num_pages

This is an extended schema for the Print service which adds a field that gives the number of physical sheets printed for a job.

Fields in the Schema

`num_sheets`

  Type: int

  Defaults: 1

  The total number of pages printed in the print job. That is the `num_copies` times `num_pages`.

Prev | Up | Next
Schemas for the msgstore Superservice | Home | Schemas for the proxy Superservice