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