UNPKG

react-native-thermal-pos-printer

Version:

React Native thermal printer package for POS systems supporting Xprinter and other popular brands

20 lines (19 loc) 539 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ESCPOSCommands = void 0; const ESCPOSCommands = exports.ESCPOSCommands = { INIT: [0x1B, 0x40], CUT_PAPER: [0x1D, 0x56, 0x00], ALIGN_LEFT: [0x1B, 0x61, 0x00], ALIGN_CENTER: [0x1B, 0x61, 0x01], ALIGN_RIGHT: [0x1B, 0x61, 0x02], BOLD_ON: [0x1B, 0x45, 0x01], BOLD_OFF: [0x1B, 0x45, 0x00], UNDERLINE_ON: [0x1B, 0x2D, 0x01], UNDERLINE_OFF: [0x1B, 0x2D, 0x00], LINE_FEED: [0x0A], FORM_FEED: [0x0C] }; //# sourceMappingURL=commands.js.map