@dmob This example is awesome, thank you!
Now with the printMG I was able to set up a simple little script that allows me to print receipts while on the go with an 80 mm mobile bluetooth printer. The only problem I can't seem to get a handle on is manipulating the output.
As with most line printers, there are ESC/POS commands that allow for typical events, like opening a cash drawer, print upside-down and the like.
In my case, I'd like to change the print mode, so I can print with double-height, double-width or both.
According to the printer reference, I need to send the following command: ESC ! n, where n = 16 for double-height, 32 for double-width, etc.
Seems easy enough, but I struggle with sending the command. I've tried the following examples with quotes, without quotes, all to no avail.
_PrintText( $Prn Chr( 27) & Chr( 33) & 16 )
_PrintText( $Prn {ESC} & {!} & 16 )
send( Chr( 27) & Chr( 33) & 16 )
I'd be utterly grateful for any possible help or hint.