Intermec PM23c Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 128
Changing the Setup Using a Setup String, Saving the Setup, Using the SYSVAR System Variable
View all Intermec PM23c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 128 highlights
Chapter 7 - Controlling the Printer 10 SETUP WRITE "SETUP1.SYS" 20 OPEN "SETUPTEST.SYS" FOR OUTPUT AS #1 30 PRINT#1,"SER-COM,UART1,TRANS BUF,2000" 40 CLOSE #1 50 SETUP "SETUPTEST.SYS" RUN Changing the Setup Using a Setup String To change a single setup parameter without creating a file, use a SETUP statement with a string with the same syntax as the corresponding parameter. Do not use a leading PRINT# statement. This example changes the "uart1:" settings: SETUP "SER-COM,UART1,TRANS BUF,2000" Saving the Setup You can decide whether a change in the printer setup should be permanent or temporary using SYSVAR(35): • If SYSVAR(35) = 0 (default), the setup is saved as a file and remains effective after a reboot or power down. • If SYSVAR(35)=1, the setup is not saved, and the last saved setup values are effective after a reboot or power down. For more information, see the next section. Using the SYSVAR System Variable Some sensors and other conditions can be read or set using the SYSVAR system variable. You can use SYSVAR to return the current conditions of a variable, when can then affect your running program. For specific information on using SYSVAR, see the Fingerprint Command Reference Manual. The next table lists SYSVAR values and the information returned. SYSVAR Values and Descriptions Value 14 15 16 17 18 19 20 21 Description Returns the number of errors since last power on. Returns the number of errors since the previously executed SYSVAR(15) instruction. Returns the number of bytes received at the execution of a STORE INPUT statement. Returns the number of frames received at the execution of a STORE INPUT statement. Returns or sets the verbosity level. Returns or sets the type of error messages transmitted by the printer. Returns 0 if the printer is set up for direct thermal or 1 if set up for thermal transfer printing. Returns the printhead density in dots/mm. 116 Fingerprint Developer's Guide