A helper class that generates various types of packets.

Constructors

Methods

  • B1 behavior: when totalPages > 1 after pageEnd paper stops at printhead position and waits for next page. When last page (totalPages) printed paper moved further.

    D110 behavior: ordinary.

    Parameters

    • totalPages: number

      Declare how many pages will be printed

    • pageColor: number = 0

    Returns NiimbotPacket