beautypg.com

Compuprint 6314 CDL User Manual

Page 48

background image

CDL – Programmer Manual

48

103300000200140PRINT TEST
1X1100000180135L050015
225500002000040TEST
1A5205000500100ABC123
1C2205001500120123456
1Y1100000650250LOGO
sBETIC1

The following lines retrieve label ETIC1 and print it: since it has been saved in the flash memory, it
can be printed some time later even after the machine has been switched off.

L
rETIC1
E

The result shown in fig. 36 can also be achieved with the following Basic program.

OPEN "com1:9600,n,8,1" FOR OUTPUT AS #1

PRINT #1, CHR$(2); "L"
PRINT #1, "D11"
PRINT #1, "PC"
PRINT #1, "H15"

'box
PRINT #1, "1"; "X"; "11"; "000"; "0000"; "0010"; "B"; "390"; "230"; "002"; "004"

'line
PRINT #1, "1"; "X"; "11"; "000"; "0040"; "0014"; "L"; "382"; "004"

'alphanumerical field
PRINT #1, "1"; "0"; "33"; "000"; "0020"; "0140"; "PROVA DI STAMPA"

'line
PRINT #1, "1"; "X"; "11"; "000"; "0018"; "0135"; "L"; "050"; "015"

'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"

'saves the current label in flash (drive B) calling it ETIC1
PRINT #1, "sBETIC1"

'The following lines retrieve from flash (drive B) the label called
'ETIC1
'N. B.: you can retrieve the label at any time: if it has been
'saved in flash, even after the machine has been switched off

PRINT #1, CHR$(2); "L"
PRINT #1, "rETIC1"
PRINT #1, "E"

CLOSE #1

This manual is related to the following products: