UNPKG

aidia-zebra-browser-print

Version:
17 lines (16 loc) 538 B
import { Device } from './types'; export default class ZebraBrowserPrintWrapper { device: Device; getAvailablePrinters: () => Promise<any>; getDefaultPrinter: () => Promise<Device>; setPrinter: (device: Device) => void; getPrinter: () => Device; cleanUpString: (str: string) => string; checkPrinterStatus: () => Promise<{ isReadyToPrint: boolean; errors: string; }>; write: (data: string) => Promise<void>; read: () => Promise<string>; print: (text: string) => Promise<void>; }