Skip to content

Commit

Permalink
Fix hex examples (again)
Browse files Browse the repository at this point in the history
Use 48-char length segments
  • Loading branch information
tresf committed Jul 18, 2024
1 parent 7cca939 commit ebdf17e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -1905,18 +1905,19 @@ <h4 class="panel-title">Options</h4>
case 'ZPL':
printData = [
{ flavor: 'hex', data:
'5e58410d0a5e4346302c33300d0a5e464f35302c35305e4' +
'6445052494e544544205749544820515a20545241595e46' +
'530d0a5e464f35302c3130305e46445553494e472048455' +
'820434f4d4d414e44535e46530d0a5e585a'
'5e58410d0a5e4346302c33300d0a5e464f35302c35305e46' +
'445052494e544544205749544820515a20545241595e4653' +
'0d0a5e464f35302c3130305e46445553494e472048455820' +
'434f4d4d414e44535e46530d0a5e585a'
}
];
break;
case 'ESCPOS':
printData = [
{ flavor: 'hex', data:
'0d0a5052494e544544205749544820515a20545241590d0a0d0a' +
'5553494e472068657820434f4d4d414e44530d0a0d0a0d0a0d0a'
'0d0a5052494e544544205749544820515a20545241590d0a' +
'0d0a5553494e472068657820434f4d4d414e44530d0a0d0a' +
'0d0a0d0a'
}
];
break;
Expand Down

0 comments on commit ebdf17e

Please sign in to comment.