void PrintPDF(string filePath, string printerName = null)

Prints a PDF from the filesystem.

Parameters

Name Description
filePath string
Full path to the PDF file. Substitution variables are supported.
printerName (Optional) string
Optional printer name of the printer to print to. If not specified, the default printer will be chosen.

Security

Trust Level Required: Full Trust

Example


KioUtils.PrintPDF('$$'+'KIO_USERDATA$$\\PDF.pdf', 'My Non-Default Printer');

Requirements

KioWare for Windows version 8.28 or greater.