void printPDF(string filePath, string printerName = null)

Prints a PDF file

Security

Trust Level Required: Full Trust

Parameters

Name Description
filePath string
The path to the PDF file on the filesystem
printerName (Optional) string
The name of the printer to print to. Set to null to use the default printer.

Return

Nothing returned

Examples


KioUtils.printPDF('/home/kiosk/MyDocument.pdf', 'Office Printer');

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.