Open gtbX opened 1 year ago
Implement support for page mode, via the XML element. XML attributes can adjust the page size and text orientation on the page.
Also added tests for new code via the jest framework.
jest
Issue: #27
Unit tests were written for the new code, as well as manual testing with an Epson TM-L90 printer.
This XML template produced the attached printout
<?xml version="1.0" encoding="UTF-8"?> <document> <page size="500:100" orientation="east"> <text-line>foobar</text-line> </page> <paper-cut /> </document>
Description
Implement support for page mode, via the XML element. XML attributes can adjust the page size and text orientation on the page.
Also added tests for new code via the
jest
framework.Related Issues
Issue: #27
How Has This Been Tested
Unit tests were written for the new code, as well as manual testing with an Epson TM-L90 printer.
Types of changes
Checklist
Screenshots (if appropriate)
This XML template produced the attached printout