@schie/fluent-zpl - v0.10.0
    Preparing search index...

    Interface LabelOptions

    Options for creating a label.

    This interface defines the configuration options for a label:

    • w: Width of the label (in units or dots)
    • h: Height of the label (in units or dots)
    • units: Units for width/height values. Default: 'dot'
    • dpi: Printer resolution. Default: 203
    • origin: Label home/origin (maps to ^LH)
    • orientation: Print orientation (maps to ^PO)
    interface LabelOptions {
        dpi?: DPI;
        h: number;
        orientation?: Orientation;
        origin?: { x: number; y: number };
        units?: Units;
        w: number;
    }
    Index

    Properties

    dpi?: DPI

    Printer resolution. Default: 203

    h: number

    Height of the label (in units or dots)

    orientation?: Orientation

    Print orientation (maps to ^PO)

    origin?: { x: number; y: number }

    Label home/origin (maps to ^LH)

    units?: Units

    Units for width/height values. Default: 'dot'

    w: number

    Width of the label (in units or dots)