toCommandString method
Converts the command object to its string representation for the printer.
Implementation
@override
String toCommandString() {
// Content must be enclosed in quotes
return 'TEXT $x,$y,"$font",$rotation,$xMultiplier,$yMultiplier,"${content.replaceAll('"', '""')}"';
}