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

    Interface BarcodeOpts

    Options for barcode fields on the label.

    This interface defines the configuration options for adding a barcode to a label:

    • at: Specifies the x and y coordinates for the barcode position.
    • type: The type of barcode to print.
    • data: The data string to encode in the barcode.
    • height: Optional height of the barcode.
    • module: Optional module width for the barcode.
    • ratio: Optional module width ratio for the ^BY command.
    • rotate: Optional orientation of the barcode (N, R, I, B).

    QR Code specific options (only used when type is QRCode):

    • qrErrorCorrection: Error correction level for QR codes.
    • qrMask: Mask pattern for QR codes (0-7).
    • qrModel: QR model (1 or 2).
    interface BarcodeOpts {
        at: Position;
        data: string;
        height?: number;
        module?: number;
        qrErrorCorrection?: QRErrorCorrection;
        qrMask?: number;
        qrModel?: 1 | 2;
        ratio?: number;
        rotate?: Orientation;
        type: Barcode;
    }
    Index

    Properties

    data: string
    height?: number
    module?: number
    qrErrorCorrection?: QRErrorCorrection

    QR Code error correction level (only for QRCode type)

    qrMask?: number

    QR Code mask pattern 0-7 (only for QRCode type)

    qrModel?: 1 | 2

    QR Code model 1 or 2 (only for QRCode type)

    ratio?: number
    rotate?: Orientation
    type: Barcode