Module: siteKiosk.printing


Classes

PrintJob

Members

<static> state :number

Print job states.
Type:
  • number
Properties:
Name Type Default Description
created number 1
queued number 2
started number 3
blocked number 4
completed number 5
failed number 6
canceled number 7

Methods

<static> getPrintJobById() → {siteKiosk.printing~PrintJob}

Gets a print job by id.
Returns:
The print jobs
Type
siteKiosk.printing~PrintJob

<static> getPrintJobs() → {Array.<siteKiosk.printing~PrintJob>}

Gets all print jobs.
Returns:
An array containing all print jobs
Type
Array.<siteKiosk.printing~PrintJob>

Type Definitions

Margins

Margins.
Type:
  • Object
Properties:
Name Type Description
leftMils number
topMils number
rightMils number
bottomMils number

MediaSize

Media size.
Type:
  • Object
Properties:
Name Type Description
id string
label string
widthMils number
heightMils number

PageRange

Page range.
Type:
  • Object
Properties:
Name Type Description
start number
end number

PrintAttributes

Print attributes.
Type:
  • Object
Properties:
Name Type Description
colorMode number
mediaSize siteKiosk.printing~MediaSize
minMargins siteKiosk.printing~Margins
resolution siteKiosk.printing~Resolution

PrintJobInfo

Print job info.
Type:
  • Object
Properties:
Name Type Description
copies number
creationTime number
label string
pages Array.<siteKiosk.printing~PageRange>
state number
localPrinterId string
attributes siteKiosk.printing~PrintAttributes

Resolution

Resolution.
Type:
  • Object
Properties:
Name Type Description
id string
label string
horizontalDpi number
verticalDpi number