Intermec PC43d Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 131

Restarting the Printer, About Printer Memory, Permanent Memory

Page 131 highlights

Chapter 7 - Controlling the Printer Restarting the Printer Restarting the printer has the same consequences as switching the power off and then on. Use a REBOOT statement to restart the printer as part of the program execution. When the printer is restarted, a number of things happen: • The printer temporary memory ("tmp:") is erased, which means that programs not saved to "/c" or "usb1:" are lost, all buffers are emptied, all files are closed, all date- and time-related formats are lost, all arrays are lost, and all variables are set to zero. Fonts and images stored in the temporary memory are erased. • All parameters in the Fingerprint instructions are reset to default. • The printer performs a number of self-diagnostic tests, such as printhead resistance check and memory checksum calculations. • The printer checks for possible optional devices such as an interface board or cutter. • The printer memory is searched for possible startup programs. The first startup program found is executed. • The printer internal clock is reset to default, or updated from the real-time clock if one is installed. Restarting does not affect the printer setup, unless the printer hardware configuration has changed during the power-off period (for example, if the printhead has been replaced or an interface board has been installed or removed). About Printer Memory Note: To provide compatibility with earlier versions of Intermec Fingerprint, the device designations "ram:" and "c:" are interpreted as "/c" and "rom:" as "/rom". The printer memory consists of a number of parts, some with directories. Permanent Memory The permanent memory, "c:" or "/c" (also called /ram or "ram:" in some printer manuals) resides in a flash memory SIMM. Additional flash SIMMs are also included in the device "/c". You can also use a USB storage device ("usb1:") as permanent memory. At least one SIMM must always be present. It must have a boot sector and a number of sectors containing the so called "kernel." There is also a temporary area for media feed info and odometer values. Some of these sectors are read-only and are included in the device "/rom". The "/c" file system uses 1K blocks. Files smaller than 1K use 1K of space. File space always rounds up, so a 4.5K file uses 5K of file space. A directory takes 1K, regardless of how many files it contains. When there are no free blocks left in any sector and at power up, the memory is automatically reorganized to save space. This process takes some time and can make the flash memory comparatively slow. Fingerprint Developer's Guide 119

  • 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

Chapter 7 — Controlling the Printer
Fingerprint Developer’s Guide
119
Restarting the Printer
Restarting the printer has the same consequences as switching the power off and
then on. Use a REBOOT statement to restart the printer as part of the program
execution. When the printer is restarted, a number of things happen:
The printer temporary memory (“tmp:”) is erased, which means that programs
not saved to “/c” or “usb1:” are lost, all buffers are emptied, all files are closed, all
date- and time-related formats are lost, all arrays are lost, and all variables are set
to zero. Fonts and images stored in the temporary memory are erased.
All parameters in the Fingerprint instructions are reset to default.
The printer performs a number of self-diagnostic tests, such as printhead
resistance check and memory checksum calculations.
The printer checks for possible optional devices such as an interface board or
cutter.
The printer memory is searched for possible startup programs. The first startup
program found is executed.
The printer internal clock is reset to default, or updated from the real-time clock
if one is installed.
Restarting does not affect the printer setup, unless the printer hardware
configuration has changed during the power-off period (for example, if the
printhead has been replaced or an interface board has been installed or removed).
About Printer Memory
The printer memory consists of a number of parts, some with directories.
Permanent Memory
The permanent memory, “c:” or “/c” (also called /ram or “ram:” in some printer
manuals) resides in a flash memory SIMM. Additional flash SIMMs are also
included in the device “/c”.
You can also use a USB storage device (“usb1:”) as permanent memory.
At least one SIMM must always be present. It must have a boot sector and a number
of sectors containing the so called “kernel.” There is also a temporary area for media
feed info and odometer values. Some of these sectors are read-only and are included
in the device “/rom”.
The “/c” file system uses 1K blocks. Files smaller than 1K use 1K of space. File space
always rounds up, so a 4.5K file uses 5K of file space. A directory takes 1K, regardless
of how many files it contains. When there are no free blocks left in any sector and at
power up, the memory is automatically reorganized to save space. This process takes
some time and can make the flash memory comparatively slow.
Note:
To provide compatibility with earlier versions of Intermec Fingerprint, the
device designations “ram:” and “c:” are interpreted as “/c” and “rom:” as “/rom”.