Intermec PB50 Fingerprint Developer's Guide (old) - Page 131

Controlling the Display Cursor on PF/PM/PX-Series Printers, Controlling the Printer

Page 131 highlights

Chapter 7 - Controlling the Printer 10 OPEN "console:" FOR OUTPUT AS 1 Next, clear previously displayed messages by sending two empty PRINT# or PRINTONE# statements: 20 PRINT#1:PRINT#1 Now you can send a string to each of the two lines. Note the appending semicolon on the second line: 30 PRINT#1, "Upper line" 40 PRINT#1, "Lower line"; RUN This displays the following message: Controlling the Display Cursor on PF/PM/PX-Series Printers Note: This section applies to the PF/PM/PX-series printers. The cursor is either a black line under a character position in the display, or a blinking block that intermittently blacks out the character position: Underline Cursor Blinking Block Cursor There are 16 character positions in each of the two lines in the display. You can use a PRINT# statement to control the cursor. The cursor control instructions can be used for four purposes: • To clear the display (instead of using a double PRINT# statement). • To select the cursor type (underscore or block). • To enable or disable the cursor. • To place the cursor at a specified position or to move it. Each cursor control command starts with the Control Sequence Introducer, ASCII 155 decimal, indicated by "CHR$(155)". For 7-bit communication, use the characters "ESC" + "[" (ASCII 27 + 91 decimal). Intermec Fingerprint Developer's Guide 115

  • 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
Intermec Fingerprint Developer’s Guide
115
10
OPEN “console:” FOR OUTPUT AS 1
Next, clear previously displayed messages by sending two empty PRINT# or
PRINTONE# statements:
20 PRINT#1:PRINT#1
Now you can send a string to each of the two lines. Note the appending semicolon
on the second line:
30
PRINT#1, “Upper line”
40
PRINT#1, “Lower line”;
RUN
This displays the following message:
Controlling the Display Cursor on PF/PM/PX-Series Printers
The cursor is either a black line under a character position in the display, or a
blinking block that intermittently blacks out the character position:
Underline Cursor
Blinking Block Cursor
There are 16 character positions in each of the two lines in the display.
You can use a PRINT# statement to control the cursor. The cursor control
instructions can be used for four purposes:
To clear the display (instead of using a double PRINT# statement).
To select the cursor type (underscore or block).
To enable or disable the cursor.
To place the cursor at a specified position or to move it.
Each cursor control command starts with the Control Sequence Introducer, ASCII
155 decimal, indicated by “CHR$(155)”.
For 7-bit communication, use the characters “ESC” + “[” (ASCII 27 + 91 decimal).
Note:
This section applies to the PF/PM/PX-series printers.