react-native-esc-pos-printer
Version:
An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
19 lines (18 loc) • 1 kB
JavaScript
;
import { EscPosPrinter } from "../../../specs/index.js";
const EscPosPrinterConstants = EscPosPrinter.getConstants();
export let FontType = function (FontType) {
FontType[FontType["FONT_A"] = EscPosPrinterConstants.FONT_A] = "FONT_A";
FontType[FontType["FONT_B"] = EscPosPrinterConstants.FONT_B] = "FONT_B";
FontType[FontType["FONT_C"] = EscPosPrinterConstants.FONT_C] = "FONT_C";
FontType[FontType["FONT_D"] = EscPosPrinterConstants.FONT_D] = "FONT_D";
FontType[FontType["FONT_E"] = EscPosPrinterConstants.FONT_E] = "FONT_E";
return FontType;
}({});
export let TextAlignType = function (TextAlignType) {
TextAlignType[TextAlignType["ALIGN_LEFT"] = EscPosPrinterConstants.ALIGN_LEFT] = "ALIGN_LEFT";
TextAlignType[TextAlignType["ALIGN_CENTER"] = EscPosPrinterConstants.ALIGN_CENTER] = "ALIGN_CENTER";
TextAlignType[TextAlignType["ALIGN_RIGHT"] = EscPosPrinterConstants.ALIGN_RIGHT] = "ALIGN_RIGHT";
return TextAlignType;
}({});
//# sourceMappingURL=textStyle.js.map