Iprinterdevice Reference; Overview; Properties; Isopen - SATO PV3 Manual

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

Advertisement

5. IPrinterDevice Reference

5-1 Overview

• "IPrinterDevice" interface provides common member methods with regards to the
device, and the properties and methods can be used in all the classes implementing this
interface.

5-2 Properties

5-2-1 IsOpen

The device in the usable status or not.

5-2-2 InterfaceType

Communication Interfacetype (Bluetooth, Wi-Fi).

5-3 Methods

5-3-1 selectInterface

Sets the communication interface type and address of the device(printer) to connect.
This method must be used before calling the "openService" method.
Note
[Syntax]
int selectInterface(int interfaceType, string address);
[Parameters]
• int interface type: communication type to connect the device.
InterfaceType Enumeration
WI-FI
BLUETOOTH
• string address:
In case of TCP (Wi-Fi) communication, it should be used in the form of "IP address [: port
number]". Port number is 9100 by default and can be omitted. In case of Bluetooth
communication, it should be entered as the value described in the table below according to
platform.
Platform
iOS
Android
Windows
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.
Ver. 1.01
Value
1
Wi-Fi.
4
Bluetooth.
Address value
Bluetooth Serial Number
Bluetooth MAC Address
Bluetooth MAC Address
- 11 -
Xamarin SDK
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pv4

Table of Contents