17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

SETPFSVAR<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for registering variable to be saved at power failure.<br />

Syntax SETPFSVAR[,]<br />

is the name of a numeric or string variable<br />

is the size in bytes of a string variable (compulsory)<br />

Remarks When a program is loaded, it is copied to and executed in the printer's<br />

temporary memory ("tmp:"). Should an unexpected power failure occur, the<br />

printer tries to save as much data as possible in the short time available before<br />

all power is lost. To minimize the risk of lose important variable values at a<br />

power failure, you can register numeric and string variables to be saved.<br />

There is 2176 bytes (incl. overhead) available for this purpose.<br />

However, should the power failure occur while the printer is printing, there<br />

will not be any power left to save the current variables.<br />

When you register a string variable, you must also specify its size in bytes.<br />

Related instructions are GETPFSVAR, DELETEPFSVAR, and<br />

LISTPFSVAR.<br />

Examples Example with string variable:<br />

100 IF QA$="" THEN QA$="Hello":QA%=LEN(QA$)<br />

110 SETPFSVAR "QA$",QA%<br />

Example with numeric variable:<br />

200 SETPFSVAR"QCPS%)<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 204

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

Saved successfully!

Ooh no, something went wrong!