EasyManua.ls Logo

BIXOLON SPP-R210 - Battery Usage and Storage Cautions

BIXOLON SPP-R210
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer
Rev. 1.00
- 8 -
3. Method
The development environment is C#.
3-1 ConnectToPrinterAsync
This function sets the connection to enable communication with the printer.
async Task<Int32> ConnectToPrinterAsync(string inputAddr)
[Parameters]
* inputAddr
This is [in] string Data. When connecting via Bluetooth interface, the MAC address of a
device that is paired to a Windows phone is received while the IP address and port no.
are received for WiFi connection.
(Bluetooth: xx:xx:xx:xx:xx:xx, Wireless LAN: xxx.xxx.xxx.xxx:9100)
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns when the function succeeds.
BXL_NOT_OPENED
-101
The communication port cannot be opened.
BXL_CONNECT_ERROR
-105
The connection failed.
BXL_BAD_ARGUMENT
-108
The specified argument is incorrect.
* Example
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
// serial or bluetooth
var ret = await bxlPrinter.ConnectToPrinterAsync(“xx:xx:xx:xx:xx:xx”);
……
// WLAN
var ret = await bxlPrinter.ConnectToPrinterAsync (“xxx.xxx.xxx.xxx:9100”);
……

Other manuals for BIXOLON SPP-R210

Related product manuals