app/models/extface/driver/daisy/commands_fx1200.rb in extface-0.1.7 vs app/models/extface/driver/daisy/commands_fx1200.rb in extface-0.1.8
- old
+ new
@@ -1,7 +1,16 @@
module Extface
module Driver::Daisy::CommandsFx1200
+
+ STX = 0x01
+ PA1 = 0x05
+ PA2 = 0x04
+ ETX = 0x03
+
+ NAK = 0x15
+ SYN = 0x16
+
module Init
DATE_TIME = 0x3d
PRINT_OPTIONS = 0x2b
PRINT_LOGO = 0x2b
PROG_TAX_RATES = 0x60
@@ -79,11 +88,11 @@
PRINT_DIAGNOSTIC = 0x47
READ_EKL = 0xb1
end
module Printer
- CUT = 0x2c
- MOVE = 0x2d
+ MOVE = 0x2c
+ CUT = 0x2d
end
module Other
ADD_SUB_SUMS = 0x46
OPEN_DRAWER = 0x6a
\ No newline at end of file