UNPKG

webzlp

Version:

A small library using WebUSB to print labels on label printers.

27 lines 1.05 kB
/** Command languages a printer could support. One printer may support multiple. */ export declare enum PrinterCommandLanguage { /** Error condition indicating autodetect failed. */ none = 0, /** Printer can be set to Eltron Printer Language. */ epl = 1, /** Printer can be set to Zebra Printer Language. */ zpl = 2, /** Printer can be set to Comtec Printer Command Language. */ cpcl = 4, /** Printer can be set to Intermec Printer Language. */ ipl = 8, /** Printer can be set to Datamax Printer Language. */ dpl = 16, /** Printer is capable of switching between EPL and ZPL. */ zplEmulateEpl = 3, /** Printer is CPCL native and can emulate EPL and ZPL. */ cpclEmulateBoth = 7 } /** Types that can be used for comm channels to printers. */ export type MessageArrayLike = string | Uint8Array; export type MessageArrayLikeType = "string" | "Uint8Array"; export interface MessageArrayLikeMap { "string": string; "Uint8Array": Uint8Array; } //# sourceMappingURL=Languages.d.ts.map