View on GitHub

receipts

Receiptline examples

receipts

list

export

$ npm install receiptline
$ chmod +x rltosvg
$ ./rltosvg <cpl int> <encoding> <import filepath> <export filepath>
<cpl>:
  characters per line

<encoding>:
  cp437: United States
  cp852: Central European
  cp858: Western European
  cp860: Portuguese
  cp863: French Canadian
  cp865: Nordic
  cp866: Cyrillic
  cp932: Japanese
  cp1252: Western European

<import filepath>:
  receipt line code filepath

<export filepath>:
  export svg filepath

example

# japanese
$ ./rltosvg 48 cp932 code.rl out.svg