EcLine EC-3150 Owner's manual

EC-3150
Barcode Thermal Printer
Programming Manual

EC-3150 THERMAL BARCODE PRINTER i
CONTENTS
Setup and System Commands............................................................................................................................................1
1. SIZE ........................................................................................................................................................................1
2. GAP.........................................................................................................................................................................2
3. BLINE.....................................................................................................................................................................2
4. OFFSET ..................................................................................................................................................................4
5. SPEED ....................................................................................................................................................................5
6. DENSITY................................................................................................................................................................5
7. DIRECTION and Mirror Image..............................................................................................................................6
8. REFERENCE..........................................................................................................................................................6
9. SHIFT......................................................................................................................................................................8
10. CODEPAGE............................................................................................................................................................9
11. CLS .......................................................................................................................................................................10
12. FEED.....................................................................................................................................................................10
13. BACKFEED & BACKUP ....................................................................................................................................11
14. FORMFEED .........................................................................................................................................................12
15. HOME...................................................................................................................................................................13
16. PRINT ...................................................................................................................................................................14
17. SOUND.................................................................................................................................................................15
18. LIMITFEED..........................................................................................................................................................16
19. SELFTEST............................................................................................................................................................16
Label Formatting Commands ..........................................................................................................................................17
20. BAR ......................................................................................................................................................................17
21. BARCODE............................................................................................................................................................18
22. BITMAP................................................................................................................................................................22
23. BOX ......................................................................................................................................................................24
24. ERASE ..................................................................................................................................................................25
25. PUTBMP...............................................................................................................................................................26
26. PUTPCX ...............................................................................................................................................................27
27. QRCODE ..............................................................................................................................................................28
28. REVERSE.............................................................................................................................................................31
29. TEXT ....................................................................................................................................................................32
Status Polling Commands (RS-232)...............................................................................................................................33
30. <ESC>!?................................................................................................................................................................33
<ESC>!R...............................................................................................................................................................34
31. ~!@ .......................................................................................................................................................................35
32. ~!A ........................................................................................................................................................................35
~!C ........................................................................................................................................................................35
33. ~!D ........................................................................................................................................................................36
34. ~!F.........................................................................................................................................................................36
35. ~!I..........................................................................................................................................................................37
36. ~!T.........................................................................................................................................................................37
File Management Commands ..........................................................................................................................................38
37. DOWNLOAD .......................................................................................................................................................38
38. EOP .......................................................................................................................................................................40
39. FILES ....................................................................................................................................................................41
40. KILL......................................................................................................................................................................41
41. MOVE...................................................................................................................................................................43

EC-3150 THERMAL BARCODE PRINTER ii
42. RUN ......................................................................................................................................................................43
BASIC Commands and Functions..................................................................................................................................44
43. ABS( ) ...................................................................................................................................................................44
44. ASC( ) ...................................................................................................................................................................45
45. CHR$( ).................................................................................................................................................................46
46. END ......................................................................................................................................................................47
47. EOF( ) ...................................................................................................................................................................48
48. OPEN ....................................................................................................................................................................49
49. READ....................................................................................................................................................................51
50. SEEK.....................................................................................................................................................................52
51. LOF( ) ...................................................................................................................................................................54
52. FREAD$( )............................................................................................................................................................55
53. FOR…NEXT LOOP.............................................................................................................................................56
54. IF…THEN…ELSE…ENDIF LOOP ...................................................................................................................57
55. GOSUB…RETURN .............................................................................................................................................60
56. GOTO....................................................................................................................................................................61
57. REM ......................................................................................................................................................................62
58. INT() .....................................................................................................................................................................63
59. LEFT$() ................................................................................................................................................................64
60. LEN() ....................................................................................................................................................................65
61. MID$() ..................................................................................................................................................................66
62. RIGHT$()..............................................................................................................................................................67
63. STR$()...................................................................................................................................................................68
64. VAL() ....................................................................................................................................................................69
65. BEEP.....................................................................................................................................................................70
Device Reconfiguration Commands...............................................................................................................................71
66. SET COUNTER....................................................................................................................................................71
67. SET KEY1, SET KEY2 ........................................................................................................................................72
68. SET PEEL .............................................................................................................................................................73
69. SET TEAR & SET STRIPPER .............................................................................................................................74
70. SET HEAD............................................................................................................................................................75
71. SET RIBBON........................................................................................................................................................75
72. SET COM1............................................................................................................................................................76
73. SET PRINTKEY...................................................................................................................................................77
74. SET REPRINT ......................................................................................................................................................79
75. PEEL .....................................................................................................................................................................79
76. KEY1, KEY2 ........................................................................................................................................................80
Printer Global Variables ....................................................................................................................................................81
77. @LABEL ..............................................................................................................................................................81

EC-3150 THERMAL BARCODE PRINTER iii
Document Conventions
This manual uses the following typographic conventions.
Convention Description
[expression list] Items inside square brackets are optional, expression
maximum length 2*1024 bytes;
<ESC> ESCAPE (ASCII 27), control code of status
polling command, which returns the printer
status immediately, no matter the printer is
ready or not.
~ (ASCII 126), control code of status polling
command, which returns the printer status
only when the printer is ready.
Space (ASCII 32) characters will be ignored in the
command line.
“ (ASCII 34), beginning and ending of expression
CR, LF (ASCII 13), (ASCII 10) is placed at the
end of command line.
Note: 200 DPI: 1 mm = 8 dots Times New Roman font in bold and italic type
is used for note.

EC-3150 THERMAL BARCODE PRINTER 1
Setup and System Commands
1. SIZE
Description
This command defines the label width and length.
Syntax
(1) English system (inch)
SIZE m, n
(2) Metric system (mm)
SIZE m mm, n mm
Parameter Description
mLabel width (inch or mm)
nLabel length (inch or mm)
Note: 200 DPI: 1 mm = 8 dots
For metric system, there must be a space between parameter and “mm”.
Example
(1) English system (inch)
SIZE 3.5, 3.00
(2) Metric system (mm)
SIZE 100 mm, 100 mm
See Also
GAP, BLINE
Table of contents
Other EcLine Printer manuals

EcLine
EcLine EC-PM-530D Series User manual

EcLine
EcLine EC-3150D User manual

EcLine
EcLine EC-3150D-USB User manual

EcLine
EcLine EC-80340 User manual

EcLine
EcLine EC-80 Series Owner's manual

EcLine
EcLine GP-5850 Series User manual

EcLine
EcLine EC-PM-80320 User manual

EcLine
EcLine EC-PM-80340 User manual

EcLine
EcLine EC-5895X User manual

EcLine
EcLine EC-PM-530B Series User manual