Class: Printing

Printing()

new Printing()

Class offers printing related functionality to ALARMiator core
Source:

Methods

getAvailablePrinters(callback)

Returns list of availbale printers
Parameters:
Name Type Description
callback function success (true/false)
Source:

getAvailablePrinters(callback)

Returns list of availbale printers
Parameters:
Name Type Description
callback function success (true/false)
Source:

getDefaultPrinter(callback)

gets the default printer from os and sets the printer to be used
Parameters:
Name Type Description
callback function success (true/false)
Source:

getDefaultPrinter(callback)

gets the default printer from os and sets the printer to be used
Parameters:
Name Type Description
callback function success (true/false)
Source:

printPDFToDefaultPrinter(pdfPath, callback)

Sends a PDF Document to default printer
Parameters:
Name Type Description
pdfPath string path to pdf file to be printed
callback function success (true/false)
Source:

printPDFToDefaultPrinter(pdfPath, callback)

Sends a PDF Document to default printer
Parameters:
Name Type Description
pdfPath string path to pdf file to be printed
callback function success (true/false)
Source: