Share via


IPosPrinterJob.Print(String) Method

Definition

Adds an instruction to the print job to print the specified text.

public:
 void Print(Platform::String ^ data);
void Print(winrt::hstring const& data);
public void Print(string data);
function print(data)
Public Sub Print (data As String)

Parameters

data
String

Platform::String

winrt::hstring

The text to print on the point-of-service printer.

Remarks

If ClaimedPosPrinter.IsCharacterSetMappingEnabled is true, the text is mapped to the font on the printer that ClaimedPosPrinter.CharacterSet specifies. If ClaimedPosPrinter.IsCharacterSetMappingEnabled is false, the driver or provider sends the low byte of each Unicode character to the printer verbatim.

Applies to