setPaperWidth static method

Future<void> setPaperWidth(
  1. int width
)

Set paper width. Primarily used for printing 58mm paper on 80mm printer. width Paper width 58mm: 384 80mm: 384/576 PrinterService >= v2.0.5

Implementation

static Future<void> setPaperWidth(int width) {
  return NyxPrinterPlatform.instance.setPaperWidth(width);
}