Bematech LB-1000 Programming Manual

Category
Label printers
Type
Programming Manual
Programming Manual LB-1000
Part number: 501012560 - Revision 1.0
August/2012
Copyright © Bematech S. A.
All rights reserved.
No part of this publication may be copied, reproduced, adapted or translated without the prior written
permission of Bematech S.A., except when allowed by patent rights.
Information in this publication is purely informative, subjected to change without notice and no liability
is assumed with respect to its use.
However as product improvements become available, Bematech S.A. will make every effort to provide
updated information for the products described in this publication. The latest version of this manual
can be obtained through Bematech S.A. website:
www.bematech.com
Notwithstanding the other exceptions contained in this Manual, the consequences and responsibility
are assumed by the Purchaser of this product or third parties as a result of: (a) intentional use for any
improper, unintended or unauthorized applications of this product, including any particular purpose;
(b) unauthorized modifications, repairs, or alterations to this product; (c) use of the product without
complying with Bematech S.A. operating and maintenance instructions; (d) use of the product as
component in systems or other applications in which the failure of this could create a situation where
personal injury or material damages may occur. In the events described above, Bematech S.A. and its
officers, administrators, employees, subsidiaries, affiliates and dealers shall not be held responsible or
respond by any claim, costs, damages, losses, expenses and any other direct or indirect injury, as
well as claims which alleges that Bematech S.A. was negligent regarding the design or manufacture
of the product.
Bematech S.A. shall not be liable against any damages or problems arising from the use of any
options or any consumable products other than those designated as original Bematech S.A. products
or approved products by Bematech S.A.
Any product names or its logotypes mentioned in this publication may be trademarks of its respective
owners and shall be here recognized.
Product warranties are only the ones expressly mentioned in the User's Manual. Bematech S.A.
disclaims any and all implied warranties for the product, including but not limited to implied warranties
of merchantability or fitness for a particular purpose. In addition, Bematech S.A. shall not be
responsible or liable for a special, incidental or consequential damages or lost profits or savings
arising from the use of the product by the Purchaser, the User or third parties

About the manual .................................................................................................................................................... V
Who should read this manual? ................................................................................................................................ V
Other Publications Related ..................................................................................................................................... V
Document Conventions .......................................................................................................................................... VI
Object Position Calculation ................................................................................................................................... VII
Printer Models List ................................................................................................................................................. IX
Setup and System Commands ............................................................................................................................... 1
SIZE .......................................................................................................................................................... 1
GAP .......................................................................................................................................................... 3
GAPDETECT ............................................................................................................................................ 5
BLINEDETECT ......................................................................................................................................... 6
AUTODETECT ......................................................................................................................................... 7
BLINE ....................................................................................................................................................... 8
OFFSET.................................................................................................................................................... 9
SPEED.................................................................................................................................................... 10
DENSITY ................................................................................................................................................ 11
DIRECTION
AND
M
IRROR
I
MAGE
............................................................................................................. 12
REFERENCE .......................................................................................................................................... 14
SHIFT ..................................................................................................................................................... 15
COUNTRY .............................................................................................................................................. 17
CODEPAGE ............................................................................................................................................ 18
CLS ......................................................................................................................................................... 20
FEED ...................................................................................................................................................... 21
BACKFEED
&
BACKUP .......................................................................................................................... 22
FORMFEED ............................................................................................................................................ 23
HOME ..................................................................................................................................................... 24
PRINT ..................................................................................................................................................... 25
SOUND ................................................................................................................................................... 26
CUT ........................................................................................................................................................ 27
LIMITFEED ............................................................................................................................................. 28
SELFTEST .............................................................................................................................................. 29
Label Formatting Commands ................................................................................................................................ 30
BAR ........................................................................................................................................................ 30
BARCODE .............................................................................................................................................. 31
BITMAP .................................................................................................................................................. 36
BOX ........................................................................................................................................................ 38
CIRCLE................................................................................................................................................... 39
DMATRIX ................................................................................................................................................ 40
ERASE.................................................................................................................................................... 41
MAXICODE ............................................................................................................................................. 42
PDF417................................................................................................................................................... 44
AZTEC .................................................................................................................................................... 48
PUTBMP ................................................................................................................................................. 50
PUTPCX ................................................................................................................................................. 51
QRCODE ................................................................................................................................................ 52
RSS ........................................................................................................................................................ 56
REVERSE ............................................................................................................................................... 59
TEXT....................................................................................................................................................... 60
Status Polling Commands (RS-232) ..................................................................................................................... 62
<ESC>!? ...................................................................................................................................................... 62
<ESC>!R ..................................................................................................................................................... 63
~!@ .............................................................................................................................................................. 64
~!A ............................................................................................................................................................... 65
~!C ............................................................................................................................................................... 66
~!D ............................................................................................................................................................... 67
~!F ............................................................................................................................................................... 68
~!I ................................................................................................................................................................ 69
~!T ............................................................................................................................................................... 70
Message Translation Protocols ............................................................................................................................. 71
~# ................................................................................................................................................................ 71
Commands for Windows Driver ............................................................................................................................ 72
!B ................................................................................................................................................................. 72
!J .................................................................................................................................................................. 73
!N ................................................................................................................................................................. 74
File Management Commands ............................................................................................................................... 75
DOWNLOAD ........................................................................................................................................... 75
EOP ........................................................................................................................................................ 78
FILES ...................................................................................................................................................... 79
KILL ........................................................................................................................................................ 80
MOVE ..................................................................................................................................................... 82
RUN ........................................................................................................................................................ 83
BASIC Commands and Functions ........................................................................................................................ 84
ABS(
) ..................................................................................................................................................... 84
ASC(
) ..................................................................................................................................................... 85
CHR$(
) ................................................................................................................................................... 86
END ........................................................................................................................................................ 87
EOF(
) ..................................................................................................................................................... 88
OPEN...................................................................................................................................................... 88
WRITE .................................................................................................................................................... 91
READ ...................................................................................................................................................... 92
SEEK ...................................................................................................................................................... 94
LOF(
)...................................................................................................................................................... 95
FREAD$(
) .............................................................................................................................................. 96
FOR…NEXT
LOOP ................................................................................................................................ 97
IF…THEN…ELSE…ENDIF
LOOP ....................................................................................................... 98
GOSUB…RETURN .............................................................................................................................. 102
GOTO ................................................................................................................................................... 103
INP$(
)................................................................................................................................................... 104
INPUT ................................................................................................................................................... 105
REM ...................................................................................................................................................... 106
OUT ...................................................................................................................................................... 107
GETKEY(
) ............................................................................................................................................ 108
INT(
) ..................................................................................................................................................... 109
LEFT$(
) ................................................................................................................................................ 110
LEN(
)..................................................................................................................................................... 111
MID$(
) .................................................................................................................................................. 112
RIGHT$(
) ............................................................................................................................................. 113
STR$(
) ................................................................................................................................................. 114
STRCOMP
(
) ........................................................................................................................................ 115
INSTR
(
) ............................................................................................................................................... 116
TRIM$(
) ................................................................................................................................................ 117
LTRIM$(
) .............................................................................................................................................. 118
RTRIM$(
) ............................................................................................................................................. 119
VAL(
) .................................................................................................................................................... 120
BEEP .................................................................................................................................................... 121
NOW$(
) ................................................................................................................................................ 122
FORMAT$(
) .......................................................................................................................................... 123
Device Reconfiguration Commands .................................................................................................................... 125
SET
COUNTER .................................................................................................................................... 125
SET
CUTTER ....................................................................................................................................... 126
SET
PARTIAL_CUTTER ....................................................................................................................... 127
SET
BACK ............................................................................................................................................ 129
SET
KEY1,
SET
KEY2,
SET
KEY3 ....................................................................................................... 130
SET
LED1,
SET
LED2,
SET
LED3 ........................................................................................................ 132
SET
PEEL ............................................................................................................................................. 134
SET
TEAR
&
SET
STRIPER ................................................................................................................. 135
SET
GAP .............................................................................................................................................. 136
SET
HEAD ............................................................................................................................................ 138
SET
RIBBON ........................................................................................................................................ 139
SET
COM1 ............................................................................................................................................ 140
SET
PRINTKEY .................................................................................................................................... 141
SET
REPRINT ...................................................................................................................................... 143
PEEL..................................................................................................................................................... 144
LED1,
LED2,
LED3 ............................................................................................................................... 145
KEY1,
KEY2,
KEY3 ............................................................................................................................... 146
Printer Global Variables ...................................................................................................................................... 147
@LABEL .................................................................................................................................................... 147
YEAR .................................................................................................................................................... 148
MONTH................................................................................................................................................. 149
DATE .................................................................................................................................................... 150
WEEK ................................................................................................................................................... 151
HOUR ................................................................................................................................................... 152
MINUTE ................................................................................................................................................ 153
SECOND .............................................................................................................................................. 154
@YEAR ..................................................................................................................................................... 155
@MONTH .................................................................................................................................................. 156
@DATE...................................................................................................................................................... 157
@DAY ........................................................................................................................................................ 158
@HOUR .................................................................................................................................................... 159
@MINUTE ................................................................................................................................................. 160
@SECOND ............................................................................................................................................... 161

This manual provides instructions on how to program Bematech’s LB-1000 Label Printer.

This manual was developed either for technical and common users, in order to provide instructions on how to
program the equipment.

User Manual
Service Manual (exclusive for Technical Assistance)

http://www.bematech.com.br
http://www.bematech.com

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 returns the printer status
immediately.
~ (ASCII 126), control code of status polling
command, 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) denotes end of command line.
NULL (ASCII 0) supported in the expression, except the 2D
bar code commands.
Note: 203 DPI: 1 mm = 8 dots Arial font in bold and italic type is used for note.
aper feed direction
DIRECTION 0
Label origin (0,0)



203 DPI, 1mm=8 dots
300 DPI, 1mm=12 dots
DIRECTION 0
TEXT 56,24,”3”,0,1,1,”ABC”
DIRECTION 1
TEXT 56,24,”3”,0,1,1,”ABC”
Paper feed direction
 !"#
Label origin (0,0)


$
Models
LB
-
1000
1.
BASIC
2. ADVANCED
%&%'
%&%'%&%'
%&%'
%(
Description
This command defines the label width and length.
Syntax
English system (inch)
SIZE m,n
Metric system (mm)
SIZE m mm,n mm
Dot measurement
SIZE m dot,n dot
This command is only supported in v6.27 and later firmware.
Parameter Description
m Label width (inch or mm)
n Label length (inch or mm)
Note :
200 DPI : 1 mm = 8 dots
300 DPI : 1mm = 12 dots
For metric and dot systems, there must be a space between parameter and
“mm” or “dot”.
Max. width
72mm
104mm
106mm
108mm
219.5mm
LB
-
1000
X
Example
(1) English system (inch)
SIZE 3.5, 3.00
(2) Metric system (mm)
SIZE 100 mm, 100 mm
See Also
GAP, BLINE
)
Description
This command sets the distance between two labels.
Syntax
English system (inch)
GAP m,n
Metric system (mm)
GAP m mm,n mm
Parameter Description
m The gap distance between two labels
0 m 1 (inch), 0 m 25.4 (mm)
n The offset distance of the gap n label length (inch or mm)
0,0 Continuous label.
Note: For metric system, there must be a space between parameter and “mm”.
When the sensor type is changed from “Black Mark” to “GAP”, please send the
“GAP” command to the printer first.
Ex: In DOS mode,
C:\>copy con lpt1 <Enter>
GAP 2 mm,0 <Enter>
<Ctrl>+<Z> <Enter>
Example
Normal gap
English system (inch)
GAP 0.12,0
Metric system (mm)
GAP 3 mm,0
Continuous label
GAP 0,0

English system (inch)
GAP 0.30, 0.10
Metric system (mm)
GAP 7.62 mm, 2.54 mm
See Also
SIZE, BLINE
) ! !
Description
This command feeds the paper through the gap sensor in an effort to determine the paper and gap
sizes, respectively. This command references the user’s approximate measurements. If the
measurements conflict with the actual size, the GAPDETECT command will not work properly. This
calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
GAPDETECT [x, y]
Parameter Description
x Paper length (in dots)
y Gap length (in dots)
Note: If the x, y parameters are ignored then the printer will calibrate and
determine the paper length and gap size automatically.
See Also
GAP, SIZE, BLINEDETECT, AUTODETECT
*$" ! !
Description
This command feeds the paper through the black mark sensor in an effort to determine the paper and
black mark sizes, respectively. This command references the user’s approximate measurements. If the
measurements conflict with the actual size, the BLINEDETECT command will not work properly. This
calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
BLINEDETECT [x, y]
Parameter Description
x Paper length (in dots)
y Gap length (in dots)
Note: If the x, y parameters are ignored then the printer will calibrate and
determine the paper length and gap size automatically.
See Also
GAP, SIZE, GAPDETECT, AUTODETECT
+! ! !
Description
This command feeds the paper through the gap/black mark sensor in an effort to determine the paper
and gap/black mark sizes, respectively. This command references the user’s approximate
measurements. If the measurements conflict with the actual size, the AUTODETECT command will not
work properly. This calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
AUTODETECT [x, y]
Parameter Description
x Paper length (in dots)
y Gap length (in dots)
Note:
(1). If the x, y parameters are ignored then the printer will calibrate and
determine the paper length and gap/black mark size automatically.
(2). When using this command, the printer will detect the label by the proper
sensor type so please don’t set the command GAP or BLINE in your
program.
(3). It is supported in firmware V6.86EZ or later.
See Also
GAP, SIZE, GAPDETECT, BLINEDETECT
*$"
Description
This command sets the height of the black line and the user-defined extra label feeding length each
form feed takes.
Syntax
English system (inch)
BLINE m,n
Metric system (mm)
BLINE m mm,n mm
Parameter Description
m The height of black line either in inch or mm.
0 m 1 (inch), 0 m 25.4 (mm)
n The extra label feeding length. 0 n label length
0,0 Continuous label.
Note: For metric system, there must be a space between parameter and “mm”. When
the sensor type is changed from “GAP” to “Black Mark”, please send the
“BLINE” command to the printer first.
Ex : In DOS mode,
C :\>copy con lpt1 <Enter>
BLINE 2 mm,0 <Enter>
<Ctrl>+<Z> <Enter>
Example
English system (inch)
BLINE 0.20,0.50
Metric system (mm)
BLINE 5.08 mm,12.7 mm
See Also
SIZE, GAP
% !
Description
This command defines the selective, extra label feeding length each form feed takes, which, especially
in peel-off mode and cutter mode, is used to adjust label stop position, so as for label to register at
proper places for the intended purposes. The printer back tracks the extra feeding length before the
next run of printing.
Syntax
English system (inch)
OFFSET m
Metric system (mm)
OFFSET m mm
Parameter Description
m The offset distance (inch or mm). -1 m 1(inch)
CAUTION: Impropriety offset value may cause paper jam.
Example
English system (inch)
OFFSET 0.5
Metric system (mm)
OFFSET 12.7 mm
See Also
SIZE, GAP, SET PEEL, SET CUTTER
%
Description
This command defines the print speed.
Syntax
SPEED n
Parameter Description
n printing speed in inch per second
Model / IPS
1
1.5
2
2.5
3
3.5
4
5
6
8
10
12
LB
-
1000
x
x
x
Example
SPEED 10
See Also
DENSITY
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172

Bematech LB-1000 Programming Manual

Category
Label printers
Type
Programming Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI