Kroy K4350 Owner's manual

KROY
PROGRAMMING
MANUAL
KROY –K4350 / K4350C Thermal Transfer Printer Series

kroy
Kroy LLC / Kroy (Europe) Ltd
i
CONTENT
DOCUMENT CONVENTIONS...........................................................................................................1
SETUP AND SYSTEM COMMANDS.................................................................................................2
SIZE..................................................................................................................................................2
GAP ..................................................................................................................................................4
BLINE................................................................................................................................................7
OFFSET............................................................................................................................................8
SPEED............................................................................................................................................10
DENSITY.........................................................................................................................................11
DIRECTION.....................................................................................................................................12
REFERENCE ..................................................................................................................................13
COUNTRY.......................................................................................................................................14
CODEPAGE....................................................................................................................................16
CLS.................................................................................................................................................18
FEED ..............................................................................................................................................19
FORMFEED....................................................................................................................................20
HOME .............................................................................................................................................21
PRINT .............................................................................................................................................22
SOUND...........................................................................................................................................23
CUT.................................................................................................................................................24
LIMITFEED .....................................................................................................................................25
LABEL FORMATTING COMMANDS...............................................................................................26
BAR.................................................................................................................................................26
BARCODE.......................................................................................................................................27
BITMAP...........................................................................................................................................32
BOX ................................................................................................................................................33
ERASE............................................................................................................................................34
DMATRIX........................................................................................................................................35

kroy
Kroy LLC / Kroy (Europe) Ltd
ii
MAXICODE.....................................................................................................................................36
PDF417...........................................................................................................................................40
PUTPCX..........................................................................................................................................42
REVERSE.......................................................................................................................................43
TEXT...............................................................................................................................................44
STATUS POLLING COMMANDS (RS-232).....................................................................................46
<ESC>!? .........................................................................................................................................46
<ESC>!R.........................................................................................................................................47
~!A..................................................................................................................................................48
~!T ..................................................................................................................................................49
~!C..................................................................................................................................................50
~!I....................................................................................................................................................51
~!F ..................................................................................................................................................52
~!@.................................................................................................................................................53
MESSAGE TRANSLATION PROTOCOLS......................................................................................54
<ESC>! ...........................................................................................................................................54
<ESC>&..........................................................................................................................................54
~#....................................................................................................................................................55
COMMANDS FOR WINDOWS DRIVER .........................................................................................56
!B ....................................................................................................................................................56
!J.....................................................................................................................................................57
!N....................................................................................................................................................58
FILE MANAGEMENT COMMANDS.................................................................................................59
DOWNLOAD...................................................................................................................................59
REDRAW........................................................................................................................................68
EOP ................................................................................................................................................69
FILES..............................................................................................................................................70
KILL.................................................................................................................................................71
MOVE .............................................................................................................................................72
UPDATBIOS....................................................................................................................................73

kroy
Kroy LLC / Kroy (Europe) Ltd
iii
BASIC COMMANDS AND FUNCTIONS..........................................................................................74
ABS( ) .............................................................................................................................................74
ASC( ) .............................................................................................................................................75
CHR$( )...........................................................................................................................................76
END ................................................................................................................................................77
EOF( ).............................................................................................................................................78
OPEN..............................................................................................................................................80
READ..............................................................................................................................................82
SEEK ..............................................................................................................................................84
LOF( )..............................................................................................................................................86
FREAD$( ).......................................................................................................................................87
FOR…NEXT......................................................................................................................................88
IF…THEN…ELSE...............................................................................................................................90
GOSUB…RETURN...........................................................................................................................92
GOTO .............................................................................................................................................94
INP$( ).............................................................................................................................................96
INPUT .............................................................................................................................................97
REM................................................................................................................................................99
OUT ..............................................................................................................................................100
GETKEY( ).................................................................................................................................... 101
INT( )............................................................................................................................................. 102
LEFT$( )........................................................................................................................................103
LEN( )............................................................................................................................................104
MID$( )..........................................................................................................................................105
RIGHT$( )...................................................................................................................................... 106
STR$( )..........................................................................................................................................107
VAL( )............................................................................................................................................108
BEEP ............................................................................................................................................109
DEVICE RECONFIGURATION COMMANDS................................................................................ 110
SET COUNTER.............................................................................................................................110

kroy
Kroy LLC / Kroy (Europe) Ltd
iv
SET CUTTER................................................................................................................................ 111
SET KEY1..................................................................................................................................... 113
SET KEY2..................................................................................................................................... 113
SET LED1, LED2, LED3................................................................................................................115
SET PEEL..................................................................................................................................... 116
SET DEBUG..................................................................................................................................117
SET GAP.......................................................................................................................................118
SET RIBBON.................................................................................................................................119
SET COM1....................................................................................................................................120
@LABEL .......................................................................................................................................122
PEEL.............................................................................................................................................123
LED1, LED2, LED3........................................................................................................................ 124
KEY1, KEY2..................................................................................................................................125
YEAR ............................................................................................................................................126
MONTH.........................................................................................................................................128
DATE ............................................................................................................................................130
WEEK ...........................................................................................................................................132
HOUR............................................................................................................................................134
MINUTE ........................................................................................................................................136
SECOND.......................................................................................................................................138

kroy
Kroy LLC / Kroy (Europe) Ltd
v
INDEX
!B......................................................................56
!J ......................................................................57
!N......................................................................58
@LABEL ........................................................122
~!@...................................................................53
~!A....................................................................48
~!C....................................................................50
~!F....................................................................52
~!I .....................................................................51
~!T....................................................................49
~#......................................................................55
<ESC>!.............................................................54
<ESC>!? ..........................................................46
<ESC>!R..........................................................47
<ESC>&............................................................54
ABS( )...............................................................74
ASC( )...............................................................75
BAR..................................................................26
BARCODE.......................................................27
BEEP..............................................................109
BITMAP............................................................32
BLINE.................................................................7
BOX..................................................................33
CHR$( )............................................................76
CLS...................................................................18
CODEPAGE ....................................................16
COUNTRY.......................................................14
CUT..................................................................24
DATE..............................................................130
DENSITY..........................................................11
DIRECTION.....................................................12
DMATRIX.........................................................35
DOWNLOAD ...................................................59
END..................................................................77
EOF( )..............................................................78
EOP..................................................................69
ERASE.............................................................34
FEED................................................................19
FILES...............................................................70
FOR…NEXT......................................................88
FORMFEED ....................................................20
FREAD$( ).......................................................87
GAP....................................................................4
GETKEY( ).....................................................101
GOSUB…RETURN ..........................................92
GOTO ..............................................................94
HOME ..............................................................21
HOUR.............................................................134
IF…THEN…ELSE...............................................90
INP$( )..............................................................96
INPUT ..............................................................97
INT( )..............................................................102
KEY1, KEY2..................................................125
KILL..................................................................71
LED1, LED2, LED3.......................................124
LEFT$( ).........................................................103
LEN( ).............................................................104
LIMITFEED......................................................25
LOF( )...............................................................86
MAXICODE......................................................36
MID$( )...........................................................105
MINUTE.........................................................136
MONTH..........................................................128
MOVE...............................................................72
OFFSET.............................................................8
OPEN...............................................................80

kroy
Kroy LLC / Kroy (Europe) Ltd
vi
OUT................................................................100
PDF417............................................................40
PEEL ..............................................................123
PRINT...............................................................22
PUTPCX...........................................................42
READ................................................................82
REDRAW.........................................................68
REFERENCE...................................................13
REM..................................................................99
REVERSE........................................................43
RIGHT$( ) ......................................................106
SECOND........................................................138
SEEK................................................................84
SET COM1.....................................................120
SET COUNTER.............................................110
SET CUTTER................................................111
SET DEBUG..................................................117
SET GAP.......................................................118
SET KEY1......................................................113
SET KEY2......................................................113
SET LED1, LDE2, LED3...............................115
SET PEEL......................................................116
SET RIBBON.................................................119
SIZE...................................................................2
SOUND............................................................23
SPEED.............................................................10
STR$( ) ..........................................................107
TEXT................................................................44
UpdatBios ........................................................73
VAL( ).............................................................108
WEEK ............................................................132
YEAR .............................................................126

kroy
Kroy LLC / Kroy (Europe) Ltd
1
Document Conventions
This manual uses the following typographic conventions.
Convention Description
[expression list] Items inside square brackets are optional.
<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.
Note: 200 DPI: 1 mm = 8 dots Arial font in bold and italic type is used for
300 DPI: 1 mm = 12 dots notes.
DOWNLOAD “TEST.BAS” The courier font is used for program code.
SET COUNTER @1 1
@1=”0001”
TEXT 10,10,”3”,0,1,1,@1
PRINT 3,2
EOP

kroy
Kroy LLC / Kroy (Europe) Ltd
2
Setup and System Commands
lSIZE
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*
300 DPI: 1 mm = 12 dots
Example
(1) English system (inch)
SIZE 3.5, 3.00
(2) Metric system (mm)
SIZE 100 mm, 100 mm
*As used in the printer jargon of dot matrix. Note that like inch or millimeter, it is almost always referred to in
this manual as a measurement unit.

kroy
Kroy LLC / Kroy (Europe) Ltd
3

kroy
Kroy LLC / Kroy (Europe) Ltd
4
lGAP
Description
Define the gap distance between two labels
Syntax
(1) English system (inch)
GAP m, n
(2) Metric system (mm)
GAP m mm, n mm
Parameter Description
mThe gap distance between two labels
0 ≤m ≤1 (inch), 0 ≤m ≤25.4 (mm)
nThe offset distance of the gap
[-]n ≤label length (inch or mm)
Note: 200 DPI : 1 mm = 8 dots
300 DPI : 1 mm = 12 dots
Example
Normal gap
(1) English system (inch)
GAP 0.12,0
(2) Metric system (mm)
GAP 3 mm,0

kroy
Kroy LLC / Kroy (Europe) Ltd
5

kroy
Kroy LLC / Kroy (Europe) Ltd
6
Special gap
(1) English system (inch)
GAP 0.30,-0.10
(2) Metric system (mm)
GAP 7.62 mm, -2.54 mm

kroy
Kroy LLC / Kroy (Europe) Ltd
7
lBLINE
Description
This command is used to set the height of the black line and the user-
defined extra label feeding length each form feed takes.
Syntax
(1) English system (inch)
BLINE m, n
(2) Metric system (mm)
BLINE m mm, n mm
Parameter Description
mThe height of black line either in inch or mm.
0.1 ≤m ≤1 (inch), 2.54 ≤m ≤25.4 (mm)
nThe extra label feeding length. 0 ≤n ≤label length
Example
(1) English system (inch)
BLINE 0.20,0.50
(2) Metric system (mm)
BLINE 5.08 mm,12.7 mm

kroy
Kroy LLC / Kroy (Europe) Ltd
8
lOFFSET
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
(1) English system (inch)
OFFSET m
(2) Metric system (mm)
OFFSET m mm
Parameter Description
mThe offset distance (inch or mm)
0 ≤m ≤1 (inch), 0 ≤m ≤25.4 (mm)
Example
(1) English system (inch)
OFFSET 0.5
(2) Metric system (mm)
OFFSET 12.7 mm

kroy
Kroy LLC / Kroy (Europe) Ltd
9

kroy
Kroy LLC / Kroy (Europe) Ltd
10
lSPEED
Description
This command defines the print speed.
Syntax
SPEED n
Parameter Description
n1.5 Set print speed at 1.5 inch/sec (B 442, 443)
2.0 Set print speed at 2.0 inch/sec (B 442, B-
443)
3.0 Set print speed at 3.0 inch/sec (B-443)
Example
SPEED 2.0

kroy
Kroy LLC / Kroy (Europe) Ltd
11
lDENSITY
Description
This command designates the level of darkness of printing.
Syntax
DENSITY n
Parameter Description
n 0,specifies the lightest level
15,specifies the darkest level
Example
DENSITY 7

kroy
Kroy LLC / Kroy (Europe) Ltd
12
lDIRECTION
Description
This command defines the print direction.
Syntax
DIRECTION n
Parameter Description
n0 or 1. Please refer to the illustrationsbelow:
Example
DIRECTION 0

kroy
Kroy LLC / Kroy (Europe) Ltd
13
lREFERENCE
Description
This command defines the reference point of the label. The reference
(origin)point varies with the print direction, as shown:
Syntax
REFERENCE x, y
Parameter Description
xHorizontal coordinate,with “dot”as the unit.
yVertical coordinate,with “dot”as the unit.
Example
REFERENCE 10,10
Other manuals for K4350
1
This manual suits for next models
1
Table of contents
Other Kroy Printer manuals