Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 221
Chapter 2 Program Instructions
RENDER ON/OFF
Field of Application
Statement for enabling/disabling rendering of text, bar code, image,
box, and line fi elds.
Syntax RENDER ON|OFF
ON enables rendering (default).
OFF disables rendering.
Remarks
These statements are intended to get information regarding size and position
of a fi eld without actually rendering it, that is the fi eld will not be printed
when the program is executed. The information on the fi eld is retrieved
using PRSTAT functions.
RENDER OFF disables the rendering, which means that PRTXT, PRBAR,
PRIMAGE, PRLINE, and PRBOX statements will not give any result when
a PRINTFEED statement is executed. Any other statements than PRPOS
will not update the insertion point. Field numbers (see FIELDNO) will
not be updated. Statement such as CLIP ON/OFF, XORMODE ON/OFF,
or BARSET will retain their usual meanings. PRBUF will render a fi eld
regardless of RENDER ON/OFF.
RENDER ON enables fi eld rendering after a RENDER OFF statement.
Duplicate statement have no effect, that is if a RENDER OFF statement
has been executed, another RENDER OFF statement will be ignored. The
same applies to RENDER ON.
Example
This examples retrieves information on the size of a text fi eld which
was not rendered. (The actual result may vary depending on font, font
size, and printer type.)
10 RENDER OFF
20 PRTXT "Render off"
30 PRINT "Width:",PRSTAT(5),"Height:",PRSTAT(6)
40 RENDER ON
50 PRINTFEED
RUN
yields for example:
Width: 153 Height: 46
No fi eld to print in line 50
Ok