I am wondering if anyone has printed to an Epson TM-60ii Printer. I have tried with the Epos version of the printer and can print simple strings via the ethernet comm handle but can not Change font via the printer control codes or enable the printer cutter. The printer will also do xml printing and have tried an app that will send xml code to it. it works on the app but when i use same code and tx it via comm handle it only prints the XML code.
Was Trying this Function from the Epos manual with escape codes
I am looking at setting up an easy xml webserver to be able to print via groov to the webserver and then it will transmit to printer. I found out you cannot xml directly to printer. But would rather print directly to Printer
<Function B> ASCII GS V m n
Hex 1D 56 m n
Decimal 29 86 m n
[Range] m, n: different depending on the printers
[Default] None
[Description] Executes paper cutting specified by m, as follows:
Feeds paper and cuts the paper 65 Full cut
66 Partial cut
Have you tried building the string to transmit, and then call transmit string one time? If I recall correctly, I have found that TransmitChar on IP will transmit immediately and not buffer.
sorry for the old thread revival here.
I am trying to achieve some printing to a thermal epson via PAC.
Would I be able to build the command via opto script in a similar fashion?
I would think so.
Look up the manual for the Epson and find out the ‘special’ characters it needs.
Then use @philips example code to create those characters and you should be in the ballpark.