EasyManuals Logo

BIXOLON SRP-270 Reference Guide

BIXOLON SRP-270
50 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 #48 background imageLoading...
Page #48 background image
POS/Mobile Printer
Rev. 1.00
- 48 -
3-36 ScrExchangeAPDU
Enable APDU/TPDU data communication. This function is only available on SPP-R210
SCR.
long ScrExchangeAPDU (const char *APDUCmd, unsigned int APDULen,
char *APDURsp, unsigned int *APDURspLen, char *pResponse);
[Parameters]
* const char *APDUCmd
[in] APDU data command
* unsigned int APDULen
[in] APDU command length
* char *APDURsp
[in, out] APDU data response
* unsigned int APDURspLen
[in, out] APDU response length
* char *pResponse
[in, out] Response to power up
[Return Values]
Constant
Value
Description
SUCCESS
0
The function is successful.
WRITE_ERROR
-105
Data transmission failed.
NOT_SUPPORT
-124
The function is not supported.
SCR_RESPONSE_ERROR
-126
The response data is incorrect.
* Example
int ret;
char response = 0xff;
char cmdAPDU[512] = {0x00, };
char rspAPDU[512] = {0x00, };
unsigned int cmdLen, rspLen;
ConnectToPrinter(………..);
……
scrData = ScrExchangeAPDU(cmdAPDU, cmdLen, rspAPDU, rspLen, &response);
if (0x00 != response)
return;
……

Other manuals for BIXOLON SRP-270

Questions and Answers:

Question and Answer IconNeed help?

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

BIXOLON SRP-270 Specifications

General IconGeneral
ColorNo
Maximum print size-
Media thickness76 mm
Print technologyDot matrix
Power requirements120-230VAC
Standard interfacesParallel, Serial

Related product manuals