void Print(string, string, bool, string)

Prints a string of data

Security

Trust Level Required: Full Trust

Parameters

Name Description
deviceName string
The name of the device.
printData string
The data to print.
isFragment (Optional) bool
True if the data is a fragment. Defaults to false.
charEncoding (Optional) string
A valid C# character encoding to use when converting text to bytes. When null (default), each char is truncated to a byte.

Remarks

The data can be fragmented. The encoding can also be adjusted to handle most common encoding options.

Examples


const devName = 'rawwinprinter';
KioRawWinPrinter.Print(devName, 'test print');
    

Requirements

KioWare for Windows version 8.7 or greater.