Skip to content

Commit e486bdc

Browse files
authored
refactoring (closes #5 #6) (#7)
* refactoring (closes #5 #6) * fix charset tests * update spec * move more commands * fix tests * move barcode * move commands to parser * fix tests
1 parent 264de35 commit e486bdc

File tree

10 files changed

+276
-429
lines changed

10 files changed

+276
-429
lines changed

README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ specification directly.
1919
Maybe you've found an ESC/POS library for your favorite language out there
2020
and you're wondering why you should use Ticketfiles instead?
2121

22-
Even though they're inspired by ESC/POS specification, Ticketfiles are readable
22+
Even though they're inspired by ESC/POS specification, Ticketfiles are human-readable
2323
([here is a Ticketfile](tests/functional/fixtures/Ticketfile) and its [ESC/POS equivalent](tests/functional/fixtures/Ticketfile.expected)) and **manufacturer agnostic**.
2424
In the future if a new standard emerges we'll do our best to support it without changing the spec in a breaking way.
2525

@@ -31,37 +31,6 @@ For instance, in the future our Golang library will provide an HTML converter so
3131

3232
## Ticketfile specification
3333

34-
Before going into the specification, here is a first impression of how a Ticketfile might look like :
35-
36-
INIT
37-
38-
ALIGN CENTER
39-
PRINTRAW
40-
My Shop
41-
Fifth Avenue
42-
New York, NY 10020
43-
>>>
44-
45-
ALIGN LEFT
46-
FONT B
47-
PRINTLF Invoice n. 456
48-
PRINTLF John Smith
49-
FONT A
50-
51-
ALIGN RIGHT
52-
PRINTRAW
53-
8.00
54-
15.90
55-
===
56-
23.90
57-
>>>
58-
59-
LF
60-
61-
ALIGN CENTER
62-
PRINTLF Thank you for your visit!
63-
CUT
64-
6534
Full specification are available [here](spec/spec.md).
6635

6736
## Golang library usage

commands.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)