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

Checking Free Memory, Providing More Free Memory, Formatting the Permanent Memory - hard reset

Page 142 highlights

Chapter 7 - Controlling the Printer 10 CHDIR "tmp:" ..... 90 CHDIR "/c" Checking Free Memory You can check the size of the memory in the current directory and see how much free space there is by issuing a FILES statement in Immediate Mode. Another way is to use the FRE function in a small instruction that returns the number of free bytes in a specified part of the printer memory. Example: PRINT FRE("tmp:") Results in (for example) 2382384 Providing More Free Memory In order to free up memory space in temporary memory, you can use a CLEAR statement to empty all strings, set all variables to zero, and reset all arrays to their default values. If even more memory is required, you will have to consider either to KILL some programs or files, or to use REMOVE IMAGE to delete images stored in "/c" and or "tmp:". If the printer is not equipped with the maximum amount of memory, you have the option to install additional or larger Flash or SDRAM SIMM packages. Note: Make backup copies on the host before you replace memory units or install additional memory in the printer. Formatting the Permanent Memory The printer permanent memory ("/c") can be formatted either partially or completely by using the FORMAT command as follows: FORMAT "/c",A erases all files in the "c:" device (hard formatting). FORMAT "/c" erases all files, except those starting with a period (.) character (soft formatting). All Fingerprint system filenames begin with a period character, for example ".profile". These system files are necessary for correct operation and are not erased when printer memory is erased with the FORMAT command. Using the Industrial Interface The optional Serial/Industrial Interface Board includes 8 digital IN ports, 8 digital OUT ports, and 4 OUT ports with relays. 126 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
126
Intermec Fingerprint Developer’s Guide
10
CHDIR “tmp:”
.....
90
CHDIR “/c”
Checking Free Memory
You can check the size of the memory in the current directory and see how much
free space there is by issuing a FILES statement in Immediate Mode.
Another way is to use the FRE function in a small instruction that returns the
number of free bytes in a specified part of the printer memory.
Example:
PRINT FRE(“tmp:”)
Results in (for example)
2382384
Providing More Free Memory
In order to free up memory space in temporary memory, you can use a CLEAR
statement to empty all strings, set all variables to zero, and reset all arrays to their
default values. If even more memory is required, you will have to consider either to
KILL some programs or files, or to use REMOVE IMAGE to delete images stored in
“/c” and or “tmp:”. If the printer is not equipped with the maximum amount of
memory, you have the option to install additional or larger Flash or SDRAM SIMM
packages.
Formatting the Permanent Memory
The printer permanent memory (“/c”) can be formatted either partially or
completely by using the FORMAT command as follows:
FORMAT “/c”,A
erases all files in the “c:” device (hard formatting).
FORMAT “/c”
erases all files, except those starting with a period (.) character (soft formatting). All
Fingerprint system filenames begin with a period character, for example “.profile”.
These system files are necessary for correct operation and are not erased when
printer memory is erased with the FORMAT command.
Using the Industrial Interface
The optional Serial/Industrial Interface Board includes 8 digital IN ports, 8 digital
OUT ports, and 4 OUT ports with relays.
Note:
Make backup copies on the host before you replace memory units or install
additional memory in the printer.