02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LAYOUT, cont.<br />

Chapter —Program Instructions<br />

To improve the performance, it is strongly recommended to create<br />

the layout and logotype name files in the printer’s temporary memory<br />

("tmp:"). Once they have been created in "tmp:", they could be copied to<br />

the printer’s permanent memory to avoid losing them at power off.<br />

Do not confuse this statement with the statements LAYOUT INPUT,<br />

LAYOUT END, and LAYOUT RUN.<br />

Example Note that the 10 characters available to define a font in the LAYOUT<br />

statement in most cases cannot accommodate modern outline font names.<br />

Instead, use font aliases as described in Chapter 6. In the example below,<br />

the font aliases are indicated by lowercase italic typing (lines 90–120, 150).<br />

10 DIM QERR%(10)<br />

20 LAYDATA$(0)="01DAY"<br />

30 LAYDATA$(1)="04123456789012"<br />

40 QERR%(0)=0<br />

50 OPEN "tmp:LOGNAME.DAT" FOR OUTPUT AS 19<br />

60 PRINT# 19,"DIAMONDS.1";<br />

70 CLOSE 19<br />

80 OPEN "tmp:LAYOUT.DAT" FOR OUTPUT AS 6<br />

90 PRINT# 6,"01C11100 10 font alias 00I 11 ";<br />

100 PRINT# 6,"01C11100 40 font alias 00 22 ";<br />

110 PRINT# 6,"01C11100 100 font aliasWEDNES 06I 11 ";<br />

120 PRINT# 6,"01C11100 130 font aliasSATURNUS 05I 11 ";<br />

130 PRINT# 6,"02L11300 70 1 33 ";<br />

140 PRINT# 6,"03S11100 210 300 3 ";<br />

150 PRINT# 6,"04H1 font alias ";<br />

160 PRINT# 6,"04B14100 300 EAN13 0 312 100";<br />

170 CLOSE 6<br />

180 LAYOUT "tmp:LAYOUT.DAT","tmp:LOGNAME.DAT",LAYDATA$,QERR%<br />

190 IF QERR% (1) = 0 THEN GOTO 260<br />

200 PRINT "-ERROR- LAYOUT 1"<br />

210 I%=0<br />

220 IF QERR%(I%)=0 THEN GOTO 260<br />

230 PRINT " ERROR ";QERR%(I%+1);" in record ";QERR%(I%)<br />

240 I%=I%+2<br />

250 GOTO 220<br />

260 PRINTFEED<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!