EasyManuals Logo

BIXOLON SPP-R300 Manual

BIXOLON SPP-R300
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
함수는 사용자 정의 데이터를 보내고 읽을 있습니다.
Long DirectIO (
PCHAR Data,
UINT uiWrite,
PCHAR pRequet,
UINT uiRead
);
[Parameters]
* PCHAR Data,
[int] 프린터로 전송할 데이터 입니다. Ansicode 데이터 입니다.
* UINT uiWrite
[in] 프린터로 전송할 데이터 크기입니다.
* PCHAR pRequet
[in,out] 호출자가 정의한 버퍼에 읽어온 값을 설정합니다.
* UINT uiRead
[in, out] 호출자가 읽어 들일 데이터 크기를 받아서 실제 읽은 데이터 크기를
반환합니다.
[Return Values]
상수명
BXL_SUCCESS
0
함수가 성공할 리턴됩니다.
BXL_NOT_OPENED
-101
PrinterOpen 실행해야 됩니다.
BXL_WRITE_ERROR
-300
데이터 전송이 실패하였습니다.
BXL_READ_ERROR
-301
데이터 수신이 실패하였습니다.
* 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-R300

Questions and Answers:

Question and Answer IconNeed help?

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

BIXOLON SPP-R300 Specifications

General IconGeneral
BrandBIXOLON
ModelSPP-R300
CategoryPrinter
LanguageEnglish

Related product manuals