UNPKG

webzlp

Version:

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

20 lines 1.95 kB
import * as Conf from '../../Configs/index.js'; import * as Cmds from '../../Commands/index.js'; export declare function getFieldOffsetCommand(formMetadata: Cmds.TranspiledDocumentState, additionalHorizontal?: number, additionalVertical?: number): string; export declare function addImageCommand(cmd: Cmds.AddImageCommand, outDoc: Cmds.TranspiledDocumentState): string; export declare function setPrintDirectionCommand(upsideDown: boolean): string; export declare function setBackfeedAfterTaken(mode: Conf.BackfeedAfterTaken): string; export declare function setDarknessCommand(cmd: Cmds.SetDarknessCommand, docState: Cmds.TranspiledDocumentState): string; export declare function setPrintSpeedCommand(cmd: Cmds.SetPrintSpeedCommand, docState: Cmds.TranspiledDocumentState): string; export declare function setLabelDimensionsCommand(cmd: Cmds.SetLabelDimensionsCommand): string; export declare function setLengthCommand(length: number): string; export declare function setLabelHomeCommand(cmd: Cmds.SetLabelHomeCommand): string; export declare function setLabelPrintOriginOffsetCommand(cmd: Cmds.SetLabelPrintOriginOffsetCommand): string; export declare function setLabelToContinuousMediaCommand(cmd: Cmds.SetMediaToContinuousMediaCommand): string; export declare function setLabelToWebGapMediaCommand(cmd: Cmds.SetMediaToWebGapMediaCommand): string; export declare function setLabelToMarkMediaCommand(cmd: Cmds.SetMediaToMarkMediaCommand): string; export declare function printCommand(cmd: Cmds.PrintCommand): string; export declare function addLineCommand(cmd: Cmds.AddLineCommand, outDoc: Cmds.TranspiledDocumentState): string; export declare function addBoxCommand(cmd: Cmds.AddBoxCommand, outDoc: Cmds.TranspiledDocumentState): string; export declare function lineOrBoxToCmd(outDoc: Cmds.TranspiledDocumentState, height: number, length: number, color: Cmds.DrawColor, thickness?: number): string; //# sourceMappingURL=BasicCommands.d.ts.map