Classes
Members
-
<static> state :number
-
Print job states.
Type:
- number
Properties:
Name Type Default Description creatednumber 1 queuednumber 2 startednumber 3 blockednumber 4 completednumber 5 failednumber 6 cancelednumber 7
Methods
-
<static> getPrintJobById() → {siteKiosk.printing~PrintJob}
-
Gets a print job by id.
Returns:
The print jobs -
<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 leftMilsnumber topMilsnumber rightMilsnumber bottomMilsnumber -
MediaSize
-
Media size.
Type:
- Object
Properties:
Name Type Description idstring labelstring widthMilsnumber heightMilsnumber -
PageRange
-
Page range.
Type:
- Object
Properties:
Name Type Description startnumber endnumber -
PrintAttributes
-
Print attributes.
Type:
- Object
Properties:
Name Type Description colorModenumber mediaSizesiteKiosk.printing~MediaSize minMarginssiteKiosk.printing~Margins resolutionsiteKiosk.printing~Resolution -
PrintJobInfo
-
Print job info.
Type:
- Object
Properties:
Name Type Description copiesnumber creationTimenumber labelstring pagesArray.<siteKiosk.printing~PageRange> statenumber localPrinterIdstring attributessiteKiosk.printing~PrintAttributes -
Resolution
-
Resolution.
Type:
- Object
Properties:
Name Type Description idstring labelstring horizontalDpinumber verticalDpinumber