@opuu/cat-printer
Version:
SDK to interact with chinese non standard thermal printers (cat printers) over bluetooth
36 lines (35 loc) • 744 B
TypeScript
/**
* @module Constants
*/
/**
* Advertisement service UUID for Cat Printers.
*/
export declare const CAT_ADV_SRV = 44848;
/**
* Print service UUID for Cat Printers.
*/
export declare const CAT_PRINT_SRV = 44592;
/**
* TX characteristic UUID for print data.
*/
export declare const CAT_PRINT_TX_CHAR = 44545;
/**
* RX characteristic UUID for printer responses.
*/
export declare const CAT_PRINT_RX_CHAR = 44546;
/**
* Default canvas width for text rendering.
*/
export declare const DEF_CANVAS_WIDTH = 384;
/**
* Default print speed.
*/
export declare const DEF_SPEED = 32;
/**
* Default print energy.
*/
export declare const DEF_ENERGY = 24000;
/**
* Default finish feed lines.
*/
export declare const DEF_FINISH_FEED = 100;