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

    Interface QRCodeOpts

    Options for QR code fields (convenience method for QR codes).

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

    • at: Specifies the x and y coordinates for the QR code position.
    • text: The text data to encode in the QR code.
    • module: Optional module width for the QR code (1-100, maps to magnification).
    • magnification: Optional magnification factor (1-100). If provided, overrides module.
    • errorCorrection: Optional error correction level (L/M/Q/H, default Q).
    • mask: Optional mask pattern (0-7, default 7).
    • model: Optional QR model (1 or 2, default 2 - enhanced).
    • rotate: Optional orientation of the QR code (Note: ZPL ^BQ only supports N).
    interface QRCodeOpts {
        at: Position;
        errorCorrection?: QRErrorCorrection;
        magnification?: number;
        mask?: number;
        model?: 1 | 2;
        module?: number;
        rotate?: Orientation;
        text: string;
    }
    Index

    Properties

    errorCorrection?: QRErrorCorrection

    Error correction level (default: Q - high reliability)

    magnification?: number

    Magnification factor (1-100). If provided, overrides module parameter

    mask?: number

    Mask pattern (0-7, default: 7)

    model?: 1 | 2

    QR model (1=original, 2=enhanced, default: 2)

    module?: number

    Use magnification instead. Module width (1-100) - kept for backward compatibility

    rotate?: Orientation

    ZPL ^BQ only supports Normal orientation. Kept for API compatibility

    text: string