-
Notifications
You must be signed in to change notification settings - Fork 2
/
notes
154 lines (104 loc) · 1.7 KB
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
------------------------------------------------
new labels are 101mm x 101mm
------------------------------------------------
# 57 x 19 mm
# actually 2-1/4 x 3/4 inch
SIZE 57 mm, 19 mm
# SIZE 2.25 0.75
GAP 3 mm,0
SPEED 2
DENSITY 7
DIRECTION 1
# XXX
REFERENCE 10,10
COUNTRY 044
CODEPAGE BRI
# 8 BIT MODE, MULTILINGUAL
CODEPAGE 850
HOME
SIZE 60 mm, 20 mm
CLS
SET COUNTER @1 1
@1="0001"
CLS
TEXT 10,10,"3",0,1,1,@1
PRINT 3
----------------
BAR 20,20,300,20
PRINT 1
CUT
CLS
BARCODE 10,10,"128M",48,1,0,2,2,"!104!096ABCD!101EFGH"
CLS
DMATRIX 10,10,400,400,"LONDON HACKSPACE"
PRINT 2
CLS
HOME
QRCODE 5,5,M,4,M,0,M2,S7,"ALondon Hackspace HS000000 Hello"
PRINT 1
CUT
CLS
# JIS 0201
BLLLL
QRCODE 5,5,M,4,M,0,M2,S7,"B0031London Hackspace HS000000 Hello"
init:
# starts at 9600 8 n 1
# 56k
#SET COM1 56,N,8,1
SET CUTTER BATCH
SET GAP 16
SIZE 57 mm, 19 mm
GAP 3 mm,0
SPEED 2
DENSITY 7
DIRECTION 1
# XXX
REFERENCE 10,10
COUNTRY 044
CODEPAGE BRI
# 8 BIT MODE, MULTILINGUAL
CODEPAGE 850
HOME
CLS
# font 8 is sexy
# XXX CP850 text!
#
TEXT 10,10,"ROMAN.TTF",0,1,12,"Hello £& :// @"
PUTBMP 10,10,"BW64.BMP",1,80
PUTBMP 10,10,"ABCDEFGH.BMP"
PUTBMP 100,100,"BW64.BMP"
CIRCLE 10,10,100,4
~!C
SET PEEL OFF
PRINT 1
OUT "DPI = ";GETSETTING$("SYSTEM","INFORMATION","DPI")
@LABEL
TEXT 10,10,"3",0,1,1,"Model: " + _MODEL$
TEXT 10,60,"3",0,1,1,"Serial No.: " + _SERIAL$
TEXT 10,110,"3",0,1,1,"F/W Version: " + _VERSION$
FORMFEED
~!F
FILES
co-ords:
the manual says:
200dpi = 1mm = 8 dots, so 8 dots per mm?
or:
300 dpi : 1mm = 12 dots
a B0007HS00088 qr code is 11mm, so 88 dots.
len mm
8 11
12 11
16 13
20 13
24 13
28 15
32 15
36 15
40 15
44 17
48 17
52 17
56 17
60 17
64 19 <-- too long
60 is ok, 64 is too long