Skip to content

Instantly share code, notes, and snippets.

@hiepxanh
Created June 28, 2020 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiepxanh/81be3169f02192c51d75cddcf1188176 to your computer and use it in GitHub Desktop.
Save hiepxanh/81be3169f02192c51d75cddcf1188176 to your computer and use it in GitHub Desktop.
EPSON RECEIPT PRINTER XML EXAMPLE
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
<page>
<feed line="1"/>
<line x1="0" y1="30" x2="575" y2="30" style="thin"/>
<text>Single: Thin&#10;</text>
<feed line="1"/>
<line x1="0" y1="90" x2="575" y2="90" style="medium"/>
<text>Single: Medium&#10;</text>
<feed line="1"/>
<line x1="0" y1="150" x2="575" y2="150" style="thick"/>
<text>Single: Thick&#10;</text>
<feed line="1"/>
<line x1="0" y1="210" x2="575" y2="210" style="thin_double"/>
<text>Double: Thin&#10;</text>
<feed line="1"/>
<line x1="0" y1="270" x2="575" y2="270" style="medium_double"/>
<text>Double: Medium&#10;</text>
<feed line="1"/>
<line x1="0" y1="320" x2="575" y2="320" style="thick_double"/>
<text>Double: Thick&#10;</text>
</page>
<cut type="feed"/>
</epos-print>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment