getPaper static method

Future<String?> getPaper()

Retrieves the paper size or type information from the Sunmi printer.

Returns a String describing the paper configuration, or null if unavailable.

Implementation

static Future<String?> getPaper() async {
  return await SunmiPrinterPlusPlatform.instance.getPaper();
}