@opuu/cat-printer
Version:
SDK to interact with chinese non standard thermal printers (cat printers) over bluetooth
27 lines (26 loc) • 435 B
TypeScript
/**
* @module Enums
*/
/**
* Enumeration of printer commands.
*/
export declare enum Command {
ApplyEnergy = 190,
GetDeviceState = 163,
GetDeviceInfo = 168,
UpdateDevice = 169,
SetDpi = 164,
Lattice = 166,
Retract = 160,
Feed = 161,
Speed = 189,
Energy = 175,
Bitmap = 162
}
/**
* Enumeration of command types.
*/
export declare enum CommandType {
Transfer = 0,
Response = 1
}