Openservice; Closeservice; Settransaction - SATO PV3 Manual

Xamarin sdk
Hide thumbs Also See for PV3:
Table of Contents

Advertisement

5-3-2 openService

Establishes a communication connection with the device.
[Syntax]
Task<int> openService(uint timeout = 3 );
[Parameters]
uint timeout: Timeout value for connecting a device.
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.

5-3-3 closeService

Disconnects the communication with the device.
[Syntax]
Task<int> closeService (int closeTimeout = 0);
[Parameters]
int closeTimeout: Timeout value for disconnecting a device.
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.

5-3-4 setTransaction

Enters or Leaves 'Transaction' mode, and then sends the data in the buffer.
It is recommended to use the Transaction mode when using output devices such
Note
as printers.
[Syntax]
Task<int> setTransaction(int mode);
[Parameters]
int mode: Configure the transaction mode
TransactionMode Enumeration
TRANSACTION_OUT
TRANSACTION_IN
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.
Ver. 1.01
Value
0
Cancel transaction mode after data transmission
1
Enter transaction mode
- 12 -
Xamarin SDK
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pv4

Table of Contents