How to output a clean TSPL file by Bartender

How to output a clean TSPL file by Bartender
1. Normally, to print a job in Barterder, if you check "Print to File", this page will be
save into a TSPL file.
2. The content of output file:
3. We can see many Tags like this: <xpml><page quantity='0' pitch='30.1 mm'>
these tags sent to printer do not affect the results, but if you want to add some
TSPL instruction in it, will be very troubled. How to clean these tags as follows.
Please into your printer setting, select "Ports" tab, and then uncheck the "Enable
bidirectional support".
4. Use Bartender to output file again, you will find all tags
disappeared.