Skip to content

Commit

Permalink
Rename ESCP to ESCPOS.
Browse files Browse the repository at this point in the history
Bring forward qzind#246 changes to 2.1
Related qzind#210
  • Loading branch information
tresf committed Jun 17, 2020
1 parent f9c38f2 commit e3c1014
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h3>Raw Printing</h3>
</label>
<br />
<label>
<input type="radio" name="pLanguage" id="pLangESCP" value="ESCP" />
<input type="radio" name="pLanguage" id="pLangESCPOS" value="ESCPOS" />
ESC/POS
</label>
<label>
Expand Down Expand Up @@ -1458,7 +1458,7 @@ <h4 class="panel-title">Options</h4>
'^XZ\n'
];
break;
case 'ESCP':
case 'ESCPOS':
printData = [
//defaults to 'type: raw', 'format: command', and 'flavor: plain'
{ data: '\nPRINTED WITH QZ ' + qzVersion + '.\n\n\n\n\n\n' }
Expand Down Expand Up @@ -1664,7 +1664,7 @@ <h4 class="panel-title">Options</h4>
{ flavor: 'hex', data: 'e44530d0a5e46530d0a5e585a' }
];
break;
case 'ESCP':
case 'ESCPOS':
printData = [
{ flavor: 'hex', data: '0d0a5052494e544544205749544820515a20545241590d0a0d0a' },
{ flavor: 'hex', data: '5553494e472068657820434f4d4d414e44530d0a0d0a0d0a0d0a' }
Expand Down Expand Up @@ -1699,7 +1699,7 @@ <h4 class="panel-title">Options</h4>
'^XZ\n'
];
break;
case 'ESCP':
case 'ESCPOS':
printData = [
//defaults to 'flavor: file'
{ type: 'raw', format: 'image', data: 'assets/img/image_sample_bw.png', options: opts },
Expand Down Expand Up @@ -1735,7 +1735,7 @@ <h4 class="panel-title">Options</h4>
'^XZ\n'
];
break;
case 'ESCP':
case 'ESCPOS':
printData = [
{ type: 'raw', format: 'pdf', flavor: 'file', data: 'assets/pdf_sample.pdf', options: opts }
];
Expand Down Expand Up @@ -1770,7 +1770,7 @@ <h4 class="panel-title">Options</h4>
'^XZ\n'
];
break;
case 'ESCP':
case 'ESCPOS':
printData = [
{ type: 'raw', format: 'html', flavor: 'file', data: 'https://qz.io/about/', options: opts }
];
Expand Down

0 comments on commit e3c1014

Please sign in to comment.