Skip to content

Error while parsing actual/custom escpos command file  #3

@abhayjb

Description

@abhayjb

Hi TaoYuan,

Was trying to parse an actual esc/pos command sniffed from usb to the parser.js;

  1. I get the following error
    screen shot 2017-12-07 at 5 52 13 pm
  2. 5.js is the space sorted file attached for your reference.
  3. 4.js is the actual esc/pos command sniffed from usb interface, converted to .js format but not fully space sorted(gets formatting related errors)
    https://drive.google.com/drive/folders/1P2VMgDpCs9qhwr8AFaKWq51M5X84E0OI?usp=sharing
    I sent the command to TSP100 star printer and able to get a thermal receipt printed successfully.

Any hints if its the latest esc/pos command library thingy which is not supported by the parser?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions