Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 81

Reading System Counters, 6.6 Reading Sensors and Straps - ribbon sensor error

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Intermec Direct Protocol v.8.60—Programmer’s Reference Manual
73
Chapter 6—Reading the Printer’s Status
6.5 Reading System Counters
°ere are a number of counters in the printer’s system, that can be read
and returned to the host:
? SYSVAR (<parameter>)
<parameter> = 14
returns number of errors detected since last startup
<parameter> = 15
returns number of errors detected since the last executed SYSVAR(15)
<parameter> = 24
returns power-up status since the last executed SYSVAR(24):
0=No; 1=Yes
<parameter> = 32
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
°ere 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 (<parameter>)
<parameter> = 18
returns selected verbosity level (see 5.15)
<parameter> = 19
returns selected type of error message (see 5.16)
<parameter> = 20
returns printer’s paper type setup:
0= Direct thermal or 1= Thermal transfer
<parameter> = 23
returns status of the ribbon end sensors:
0=No ribbon or 1=Ribbon
<parameter> = 26
returns status of the ribbon low sensor:
0=Ribbon OK or 1=Ribbon low
<parameter> = 46
returns status of the paper low sensor:
0=Media OK or 1=Media low