Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 19 -
Mobile Printer
Windows SDK API Reference Guide
3-11 DirectIO
This function can send and read data defined by the user.
Long DirectIO (
PCHAR Data,
UINT uiWrite,
PCHAR pRequet,
UINT uiRead
);
[Parameters]
* PCHAR Data,
[in] Data to be sent to the printer, data is ANSI code
* UINT uiWrite
[in] Size of data to be sent to the printer
* PCHAR pRequet
[in, out] Sets the values read from the buffered defined by the caller
* UINT uiRead
[in, out] Converts the size of data to be read by the caller to the actual size of read data
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
101
Unable to open communication port
BXL_STATUS_ERROR
103
Error occurred during status check
BXL_WRITE_ERROR
300
Failure to transmit data
BXL_READ_ERROR
301
Error in received value or reception failure