SIISLP800PrinterManager¶
public class SIISLP800PrinterManager
List
Constructor
| Name | Description |
|---|---|
| SIISLP800PrinterManager(Context context) | Initializes a new instance of the SIISLP800PrinterManager class. |
Method
| Name | Description |
|---|---|
| void connect(SIISLP800Printer printer) throws SIISLP800PrinterException | Starts a connection to the printer using the specified printer information. |
| void connect(String address) throws SIISLP800PrinterException | Starts a connection to the printer using the specified address. |
| void connect(String address, boolean secure) throws SIISLP800PrinterException | Starts a connection to the printer using the specified address, with an option for secure mode. |
| void setPrinterStatusListener(SIISLP800PPrinterStatusListener listener) | Registers or unregisters the listener for printer status change notifications. |
| void disconnect(int timeout) throws SIISLP800PrinterException | Terminates the connection with the printer. |
| void printSmartLabelImageData(SIISLP800SmartLabelManager labelManager) throws SIISLP800PrinterException | Converts a Smart Label file into printer‑ready data and sends it to the printer. |
| void feedPosition() throws SIISLP800PrinterException | Feeds the marked paper forward and aligns it to the next mark position on the printer. |
| void sendBinary(byte[] data) throws SIISLP800PrinterException | Sends binary data to the printer without any conversion. |
| void printImageData(Bitmap image, SIISLP800PrinterBinarization binarization) throws SIISLP800PrinterException | Converts an image into printer‑ready data and sends it to the printer. |
| int getStatus() throws SIISLP800PrinterException | Gets the current printer status. |
| void resetPrinter() throws SIISLP800PrinterException | Performs a hardware reset of the printer. |
| String getVersion() | Gets the SDK version as a character string. |
| boolean isConnect() | Gets the connection state with the printer. |
| int getSendTimeout() | Gets the send timeout period in milliseconds. |
| void setSendTimeout(int timeout) | Sets the send timeout period in milliseconds. |
| int getReceiveTimeout() | Gets the receive timeout period in milliseconds. |
| void setReceiveTimeout(int timeout) | Sets the receive timeout period in milliseconds. |
| int getPrintSmartLabelMode() | Gets the paper type used when printing a label file. |
| void setPrintSmartLabelMode(int mode) | Sets the paper type used when printing a label file. |
| int getPrinterModel() | Gets the model of the connected printer. |
| int getPortType() | Gets the port type used to connect to the printer. |