Printdataasync Method - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

2.3.24. PrintDataAsync method

Syntax
Task<int> PrintDataAsync (byte[] data)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
data
Description
This method is used to send data bytes to the printer directly.
It is usually not necessary, please use if you want to send ESC commands directly to the printer.
If you want to use, please be careful so as not to affect the other methods.
Return value
Return CMP_SUCCESS (0) in success. Please refer to
Example
// Sound the buzzer (The printer must support buzzer.)
await printer.PrintDataAsync(new byte[]{0x1b, 0x1e});
[IN/OUT]
Meaning
[IN]
Send data
CITIZEN UWP POS Print SDK - Programming Manual
Setting range
"2.3.1. Return
56
value" for the error code except it.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents