Bematech LB-1000 Manuel du propriétaire


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)

$
Series
Models
LB
-
1000
1.
BASIC
2. ADVANCED
Autres manuels pour LB-1000
1
Table des matières
Autres manuels Bematech Étiqueteuse


















