print method
Implementation
void print({required String data}) {
if (!data.contains("^PON")) data = data.replaceAll("^XA", "^XA^PON");
if (isRotated) {
data = data.replaceAll("^PON", "^POI");
}
channel.invokeMethod("print", {"Data": data});
}