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

Clearing the Print Buffer With CLL and FIELDNO, Maintaining Print Speed With OPTIMIZE “BATCH”

Page 120 highlights

Chapter 7 - Controlling the Printer Should the printer stop between labels, lower the print speed somewhat. Usually, the overall time to produce a certain number of labels is more important than the actual print speed. For more information on adjusting the print speed, see the printer user's guide. Clearing the Print Buffer With CLL and FIELDNO The image buffer stores the bitmap pattern of the label layout between processing and printing. The image buffer can be cleared completely by a CLL statement, or partially by using a CLL statement and the FIELDNO function: • Complete clearing is obtained by a CLL statement without any reference to a field, and is useful to avoid printing a faulty label after certain errors have occurred. • Partial clearing is used in connection with print repetition when only part of the label should be modified between the copies. In this case, the CLL statement must include a reference to a field, specified by a FIELDNO function. When a CLL statement is executed, the image buffer is cleared from the specified field to the end of the program. In this example, the text "Month" is kept in the image buffer, and the names of the months are cleared from the image buffer as soon as they are printed: 10 FONT "Univers Bold",18 20 PRPOS 100,300 30 PRTXT "MONTH:" 40 PRPOS 100,200 50 A%=FIELDNO 60 PRTXT "JANUARY":PRINTFEED 70 CLL A% 80 FONT "Univers Bold",18 90 PRPOS 100,200 100 PRTXT "FEBRUARY":PRINTFEED 110 CLL A% 120 FONT "Univers Bold",18 130 PRPOS 100,200 140 PRTXT "MARCH":PRINTFEED 150 CLL A% RUN Maintaining Print Speed With OPTIMIZE "BATCH" ON Normally, after the first image buffer is emptied and printing is completed, the printer processes the next bitmap pattern and stores it in the second image buffer. Use an OPTIMIZE "BATCH" ON statement to enable processing and storage of the next label image while the first label is still being printed. Thus, by switching between the two image buffers, the printer can maintain a high print speed. The default setting is OPTIMIZE "BATCH" OFF. However, OPTIMIZE "BATCH" ON is automatically invoked if: • a value >1 is entered for the PRINTFEED statement."Using Conditional Instructions" on page 16. • the label taken sensor is disabled (LTS& OFF). This is the default. • the paper cutter is disabled (CUT OFF). This is the default. OPTIMIZE "BATCH" ON revokes OPTIMIZE "BATCH" OFF. 108 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

Chapter 7 — Controlling the Printer
108
Fingerprint Developer’s Guide
Should the printer stop between labels, lower the print speed somewhat. Usually,
the overall time to produce a certain number of labels is more important than the
actual print speed. For more information on adjusting the print speed, see the
printer user’s guide.
Clearing the Print Buffer With CLL and FIELDNO
The image buffer stores the bitmap pattern of the label layout between processing
and printing. The image buffer can be cleared completely by a CLL statement, or
partially by using a CLL statement and the FIELDNO function:
Complete clearing is obtained by a CLL statement without any reference to a
field, and is useful to avoid printing a faulty label after certain errors have
occurred.
Partial clearing is used in connection with print repetition when only part of the
label should be modified between the copies. In this case, the CLL statement
must include a reference to a field, specified by a FIELDNO function. When a
CLL statement is executed, the image buffer is cleared from the specified field to
the end of the program.
In this example, the text “Month” is kept in the image buffer, and the names of the
months are cleared from the image buffer as soon as they are printed:
10
FONT “Univers Bold”,18
20
PRPOS 100,300
30
PRTXT “MONTH:”
40
PRPOS 100,200
50
A%=FIELDNO
60
PRTXT “JANUARY”:PRINTFEED
70
CLL A%
80
FONT “Univers Bold”,18
90
PRPOS 100,200
100
PRTXT “FEBRUARY”:PRINTFEED
110
CLL A%
120
FONT “Univers Bold”,18
130
PRPOS 100,200
140
PRTXT “MARCH”:PRINTFEED
150
CLL A%
RUN
Maintaining Print Speed With OPTIMIZE “BATCH” ON
Normally, after the first image buffer is emptied and printing is completed, the
printer processes the next bitmap pattern and stores it in the second image buffer.
Use an OPTIMIZE “BATCH” ON statement to enable processing and storage of the
next label image while the first label is still being printed. Thus, by switching
between the two image buffers, the printer can maintain a high print speed.
The default setting is OPTIMIZE “BATCH” OFF. However, OPTIMIZE “BATCH”
ON is automatically invoked if:
a value >1 is entered for the PRINTFEED statement.
“Using Conditional
Instructions” on page 16
.
the label taken sensor is disabled (LTS& OFF). This is the default.
the paper cutter is disabled (CUT OFF). This is the default.
OPTIMIZE “BATCH” ON revokes OPTIMIZE “BATCH” OFF.