beautypg.com

Dynamic fields, 5 dynamic, Fields – Compuprint 6314 CDL User Manual

Page 42: 5 dynamic fields

background image

CDL – Programmer Manual

42

'alphanumerical field
PRINT #1, "2"; "2"; "55"; "000"; "0200"; "0040"; "TEST"

'bar code
PRINT #1, "1"; "A"; "52"; "050"; "0050"; "0100"; "ABC123"

'bar code
PRINT #1, "1"; "C"; "22"; "050"; "0150"; "0120"; "123456"

'graphic image
PRINT #1, "1"; "Y"; "11"; "000"; "0065"; "0250"; "LOGO"
' 1 = rotation by 0 degrees
' Y = defines the object as a graphic image
' 11 = horizontal and vertical expansion
' 000 = compulsory for graphic images
' 0065 = line co-ordinate
' 0250 = column co-ordinate
' LOGO = name of the logo to be printed

PRINT #1, "E"

CLOSE #1

fig. 32 – Example of graphic images

2.3.5 Dynamic

fields

Fields are called dynamic when their contents cannot be determined a priori when the label is
defined but vary when it is printed: e.g. when the printed is fitted to scales and one of the fields is
the weight, it is reasonable to decide to build the label once and for all and update the variable fields
when the label is printed. By doing so printing is more efficient and faster.
To manage dynamic fields you need to:
- provide sufficient space so that the field can contain the maximum number of characters

possible. To do this it is useful to fill the field with substitute characters such as X;

- end the label definition mode with the command X (instead of E);

This manual is related to the following products: