escpos-ts API - v1.0.0
    Preparing search index...

    Function setFont

    • Build an ESC M n — Select Font command buffer.

      Parameters

      • n: Buffer

        Single-byte Buffer containing the font index (0x00 = Font A, 0x01 = Font B).

      Returns Buffer

      Buffer with the complete ESC M n sequence.

      1.0.0