nativescript-intermec-printer
Version:
Plugin for integrating nativescript apps with intermec Pr3 Printer.
19 lines (18 loc) • 668 B
TypeScript
import { Common } from './IntermecPrinter.common';
export declare class IntermecPrinter extends Common {
cPCLPrinter: any;
ptrConn: any;
bluetoothAdapter: android.bluetooth.BluetoothAdapter;
bluetoothPermissions: BluetoothPermissions;
bluetoothDevice: android.bluetooth.BluetoothDevice;
hThread: any;
address: string;
constructor();
Toast(text: any, duration: any): any;
isConnected(): any;
connect(address: string): void;
disconnect(): void;
printTextFile(file: any): void;
printImg(bitmap: any, setExtraPaddingAfterPrint?: boolean, XResol?: number, YResol?: number, startX?: number, startY?: number): void;
print(text: string): void;
}