Intermec PB32 Fingerprint Developer's Guide (old) - Page 132

Customizing the PD42 Display

Page 132 highlights

Chapter 7 - Controlling the Printer This example clears all text from the display: 10 OPEN "console:" FOR OUTPUT AS 1 20 PRINT#1, CHR$(155) + "2J"; This example selects the underscore-type cursor: 10 OPEN "console:" FOR OUTPUT AS 1 20 PRINT#1, CHR$(155) + "4p"; For more examples, see PRINT# in the Fingerprint Command Reference Manual. Customizing the PD42 Display Note: This section applies to the PD42 only. Several different icons appear in the state area of the PD42 display depending on the current printer state. You can add a custom icon to display when the printer is running your application. Use a DISPLAY STATE statement to show the icon in the state area. The graphic for the icon should be in monochrome .bmp format and no larger than 48 x 48 pixels. Filename for the bitmap should be Sn.bmp, where n is the state image number. Place the .bmp in the /c/ADMIN/DISPLAY directory. When certain errors occur, the PD42 display shows a graphic that makes it easy to interpret the error. You can add a custom graphic to display when a specific error condition occurs by using a DISPLAY IMAGE statement. The graphic should be in monochrome .bmp format and no larger than 240 x 79 pixels. Filename for the .bmp should be in the form n.bmp, where n is the image number. Place the image in the /c/ADMIN/DISPLAY directory. Depending on the current state of the printer, the soft key area of the PD42 display shows pictograms corresponding to the current use for each of the five soft keys. You can add custom pictographs to display when your application is running by using a DISPLAY KEY statement. The graphic for the pictograph should be in monochrome .bmp format and no larger than 47 pixels wide by 32 pixels high. Filename for the image should be Kn.bmp, where n is the pictogram number. Place the image in the /c/ADMIN/ DISPLAY directory. 116 Intermec Fingerprint Developer's Guide

  • 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
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

Chapter 7 — Controlling the Printer
116
Intermec Fingerprint Developer’s Guide
This example clears all text from the display:
10
OPEN “console:” FOR OUTPUT AS 1
20
PRINT#1, CHR$(155) + “2J”;
This example selects the underscore-type cursor:
10
OPEN “console:” FOR OUTPUT AS 1
20
PRINT#1, CHR$(155) + “4p”;
For more examples, see PRINT# in the
Fingerprint Command Reference Manual.
Customizing the PD42 Display
Several different icons appear in the state area of the PD42 display depending on the
current printer state. You can add a custom icon to display when the printer is
running your application. Use a DISPLAY STATE statement to show the icon in the
state area.
The graphic for the icon should be in monochrome .bmp format and no larger than
48 x 48 pixels. Filename for the bitmap should be S
n
.bmp, where
n
is the state image
number. Place the .bmp in the /c/ADMIN/DISPLAY directory.
When certain errors occur, the PD42 display shows a graphic that makes it easy to
interpret the error. You can add a custom graphic to display when a specific error
condition occurs by using a DISPLAY IMAGE statement.
The graphic should be in monochrome .bmp format and no larger than 240 x 79
pixels. Filename for the .bmp should be in the form
n
.bmp, where
n
is the image
number. Place the image in the /c/ADMIN/DISPLAY directory.
Depending on the current state of the printer, the soft key area of the PD42 display
shows pictograms corresponding to the current use for each of the five soft keys.
You can add custom pictographs to display when your application is running by
using a DISPLAY KEY statement.
The graphic for the pictograph should be in monochrome .bmp format and no
larger than 47 pixels wide by 32 pixels high. Filename for the image should be
K
n
.bmp, where
n
is the pictogram number. Place the image in the /c/ADMIN/
DISPLAY directory.
Note:
This section applies to the PD42 only.