modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Function encodePDF417

    • Experimental

      Encodes a PDF417 symbol.

      Output is not ISO/IEC 15438 conformant and may not scan.

      Parameters

      • data: string

        Text to encode.

      • Optionaloptions: { columns?: number; ecLevel?: number }

        ecLevel: error-correction level 0-8 (default 2); columns: data columns 1-30 (default 4). Out-of-range numbers are truncated and clamped.

      Returns BarcodeMatrix

      The symbol matrix, each module row repeated three times, without quiet zone.

      If ecLevel or columns is not a finite number.

      PDF417: data too long if the codewords exceed 928 or the symbol would need more than 90 rows.