archer-plus-usb-printer
v0.0.3
Published
The Plugin for printing to epson usb printer
Readme
archer-plus-usb-printer
The Plugin for printing to epson usb printer
Install
npm install archer-plus-usb-printer
npx cap syncAPI
getPrinterList()
getPrinterList() => Promise<{ printerList: EpsonUSBPrinterInfo[]; }>Returns: Promise<{ printerList: EpsonUSBPrinterInfo[]; }>
connectToPrinter(...)
connectToPrinter(options: { productId: number; }) => Promise<{ connected: boolean; }>| Param | Type |
| ------------- | ----------------------------------- |
| options | { productId: number; } |
Returns: Promise<{ connected: boolean; }>
print(...)
print(options: { printObject: string; lineFeed?: number; }) => Promise<void>| Param | Type |
| ------------- | -------------------------------------------------------- |
| options | { printObject: string; lineFeed?: number; } |
Interfaces
EpsonUSBPrinterInfo
| Prop | Type |
| ----------------- | -------------------- |
| productId | number |
| productName | string |
| connected | boolean |
