16
16
16cab Produkttechnik GmbH & Co KG
Simple programming lesson
Target:
Learn how easy it is to teach your printer to do what you want.
Understand the language structure of JScript by testing the following sample.
Get the feeling what might go wrong if the syntax is not correct.
Modify this sample with other items of this manual.
Create your first label:
1. Connect your printer to the PC, select „Country United Kingdom“ on the printer´s control panel.
The handling is explained in the operator´s manual (the language changes to „English“ and the
measurements to „millimeters“ - as the label is designed in millimeters)
2. Start your preferred plain texteditor (we will use Notepad for this example)
3. Key in following data and don´t forget to press the ENTER key on your keyboard after the „A 1“ in
the last line is keyed in.
m m
J
H 100
S l1;0,0,68,70,100
O R
T 10,10,0,5,pt20;sample
B 10,20,0,EAN-13,SC2;401234512345
G 8,4,0;R:30,9,0.3,0.3
A 1
Explanation of this example
(Details are described in the respective sections of this manual)
J Job start
H 100 Heat (Speed) setting (100mm/sec)
S l1;0,0,68,70,100 Size of the Label (68 x100mm, gap 2mm)
O R Orientation Rotated by 180°
T 10,10,0,5,pt20;sample Text line- font:Swiss bold, 20 pt
B 10,20,0,EAN-13,SC2;401234512345 Barcode EAN 13, size SC 2
G 8,3.5,0;R:30,9,0.3,0.3 Graphic, Rectangle 30x9mm, 0.3mm
A 1 Amount of labels (in this sample 1)
4. Save that file now with the name „sample1.txt“ in your root directory of Harddrive C:
Example: