Intermec PM4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 81
Reading System Counters, 6.6 Reading Sensors and Straps - ribbon out
View all Intermec PM4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 81 highlights
Chapter 6-Reading the Printer's Status 6.5 Reading System Counters There are a number of counters in the printer's system, that can be read and returned to the host: ? SYSVAR () = 14 = 15 = 24 = 32 returns number of errors detected since last startup returns number of errors detected since the last executed SYSVAR(15) returns power-up status since the last executed SYSVAR(24): 0=No; 1=Yes returns the length of media feed. Resolution 10 meters. Note: SYSVAR(24) is important for the operation of the Intermec Direct Protocol, since essential functions, like counters, date and time formats, separators and error messages will be lost at power up and other functions will be reset to their default values. Save all such data in the host and retransmit them to the printer as soon as a power-up has been detected by a polling program taking advantage of SYSVAR(24). 6.6 Reading Sensors and Straps There are a number of sensors, hardware strap, and setup parameters in the printer that can be read and their status or value be returned to the host: ? SYSVAR () = 18 = 19 = 20 = 23 = 26 = 46 returns selected verbosity level (see 5.15) returns selected type of error message (see 5.16) returns printer's paper type setup: 0= Direct thermal or 1= Thermal transfer returns status of the ribbon end sensors: 0=No ribbon or 1=Ribbon returns status of the ribbon low sensor: 0=Ribbon OK or 1=Ribbon low returns status of the paper low sensor: 0=Media OK or 1=Media low Intermec Direct Protocol v.8.60-Programmer's Reference Manual 73