posPrintTextLn static method
打印文本文档 @param pszString 要打印的字符串 @param codepage 设置代码页(0--255) @param nWidthTimes 倍宽(0--4) @param nHeightTimes 倍高(0--4) @param nFontType 字体类型(只对Ascii码有效)(0,1 48,49)
Implementation
static Uint8List? posPrintTextLn(
String pszString, {
int nWidthTimes = 0,
int nHeightTimes = 0,
int codepage = 0,
int nFontType = 0,
PosAlign align = PosAlign.left,
}) {
return posPrintText(
'$pszString\n',
nFontType: nFontType,
nHeightTimes: nHeightTimes,
nWidthTimes: nWidthTimes,
codepage: codepage,
align: align,
);
}