import { EscPos, EscPosOptions } from './escPosDriver'; /** * GPrinter Driver for GiaoBao (佳博) thermal printers * * 佳博打印机基于 ESC/POS 指令集,此驱动扩展了标准 EscPos * 添加了佳博特定的命令支持 * * @example * ```typescript * import { GPrinterDriver } from 'taro-bluetooth-print'; * * const driver = new GPrinterDriver(); * let commands = driver.init(); * commands = driver.text('Hello 佳博!', 'GBK'); * commands = driver.cut(); * ``` */ /** * GPrinter options (same as EscPosOptions) */ export type GPrinterOptions = EscPosOptions; export declare class GPrinterDriver extends EscPos { /** * 佳博打印机特定: 打印并走纸 * @param lines 走纸行数 */ printAndFeed(lines: number): Uint8Array[]; }