EasyManuals Logo

BIXOLON SPP-R200 Reference Guide

BIXOLON SPP-R200
39 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
Mobile Printer
Rev. 1.10
- 18 -
3-9 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 date 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_WRITE_ERROR
-300
Failure to transmit data
BXL_READ_ERROR
-301
Error in received value or reception failure
* Example
long lResult;
lResult = PrinterOpen(portinfo…”, 1000);
……
char cmd[3] = {0x10, 0x04, 0x02};
char* readData;
UINT readLen = 0;
lResult = DirectIO(cmd, sizeof(cmd), readData, readLen);
……

Other manuals for BIXOLON SPP-R200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BIXOLON SPP-R200 and is the answer not in the manual?

BIXOLON SPP-R200 Specifications

General IconGeneral
BrandBIXOLON
ModelSPP-R200
CategoryPrinter
LanguageEnglish

Related product manuals