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 #9 background imageLoading...
Page #9 background image
Mobile Printer
Rev. 1.10
- 9 -
3. Methods
The functions disclosed in the provided module are declared in the ExportFunc.h file.
The development environment was based on C++.
3-1 PrinterOpen
In order to use the module, this function is enabled. For PDA types with different In/Out
ports, port settings for each are required. In general, two-way communication is possible
with just the strOutPortName setting.
long PrinterOpen(
LPCTSTR strOutPortName,
Long lTimeout
);
[Parameters]
* strOutPortName
[in] Unicode Data ending with null. The virtual Serial Port number and Baudrate of the
currently connected device is conveyed for printing. If strOutPortName is NULL,
strOutPortName sets to In/Out data processing.(Bluetooth & Serial ex : COM4:19200 or
BSP4:19200, WLAN ex : NETxxx.xxx.xxx.xxx:9100 or ETHxxx.xxx.xxx.xxx:9100)
* lTimeout
[in] Specifies the timeout, in milliseconds, used to calculate the total timeout period for
open operations.
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
-101
Unable to open communication port
BXL_CREATE_ERROR
-102
Failure to create communication target
BXL_CONNECT_ERROR
-105
Failure to process of connection
BXL_BAD_ARGUMENT
-108
Incorrect argument specified
BXL_WRITE_ERROR
-300
Failure to transmit data
BXL_READ_ERROR
-301
Error in received value or reception failure
* Example
long lResult;
// serial or bluetooth
lResult = PrinterOpen(COM4:19200, 1000);
……
// WLAN
lResult = PrinterOpen(ETHxxx.xxx.xxx.xxx:9100, 1000);
……

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