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

Reprinting Labels After Interruptions, About Batch Printing

Page 119 highlights

Chapter 7 - Controlling the Printer The FUNCTEST$ function is similar to the FUNCTEST statement and is used for the same purpose. The next example shows how to use FUNCTEST$ on a PF4i: PRINT "HEADTEST:", FUNCTEST$ ("HEAD") The printer returns (for example): HEADTEST: HEAD OK,SIZE:832 DOTS Ok Reprinting Labels After Interruptions If an error occurs during batch printing, or if printing is otherwise interrupted, there are two ways to reprint lost or only partially printed labels without losing variable data, such as counter values. Instead of specifying the number of copies in a batch in a PRINTFEED statement, you can specify how many copies of the last printed label in a batch should be reprinted. The syntax is: PRINTFEED -1, For example, if a 100-label batch print job is interrupted by an out-of-ribbon condition during the printing of label #70, and you specified that 2 copies should be reprinted, label #70 will be printed twice when the error has been cleared. Note: You can only reprint the most recently printed label. The PRSTAT function can detect printing progress and report any print-related error conditions. This makes it possible to create an error-handling routine that automatically resumes interrupted print jobs and reprints lost labels. About Batch Printing Batch printing is the printing of many labels without stopping the media feed motor between the labels. The labels may be exact copies, or the labels may differ more or less in appearance. When a PRINTFEED is executed, the printer renders the program instructions into a bitmap pattern and stores the pattern in one of the two image buffers. The buffer compensates for differences between processing time and printing time. As the printer prints the label, it empties the image buffer. High print speeds empty the image buffer more quickly. After the buffer is emptied, the printer processes the next bitmap pattern and stores it in the second image buffer. These Fingerprint commands can facilitate batch printing: • FIELDNO - Divides the program into portions that can be cleared individually. • CLL - Clears part or all of the image buffer. • OPTIMIZE "BATCH" ON|OFF If there are only small differences between the labels, write your program to use the CLL and FIELDNO instructions to manage the buffers first, and process variable data last. Fingerprint Developer's Guide 107

  • 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
107
The FUNCTEST$ function is similar to the FUNCTEST statement and is used for
the same purpose. The next example shows how to use FUNCTEST$ on a PF4i:
PRINT “HEADTEST:”, FUNCTEST$ (“HEAD”)
The printer returns (for example):
HEADTEST: HEAD OK,SIZE:832 DOTS
Ok
Reprinting Labels After Interruptions
If an error occurs during batch printing, or if printing is otherwise interrupted, there
are two ways to reprint lost or only partially printed labels without losing variable
data, such as counter values.
Instead of specifying the number of copies in a batch in a PRINTFEED statement,
you can specify how many copies of the last printed label in a batch should be
reprinted. The syntax is:
PRINTFEED -1,<number of copies to reprint>
For example, if a 100-label batch print job is interrupted by an out-of-ribbon
condition during the printing of label #70, and you specified that 2 copies should be
reprinted, label #70 will be printed twice when the error has been cleared.
The PRSTAT function can detect printing progress and report any print-related
error conditions. This makes it possible to create an error-handling routine that
automatically resumes interrupted print jobs and reprints lost labels.
About Batch Printing
Batch printing is the printing of many labels without stopping the media feed
motor between the labels. The labels may be exact copies, or the labels may differ
more or less in appearance.
When a PRINTFEED is executed, the printer renders the program instructions into
a bitmap pattern and stores the pattern in one of the two image buffers. The buffer
compensates for differences between processing time and printing time.
As the printer prints the label, it empties the image buffer. High print speeds empty
the image buffer more quickly. After the buffer is emptied, the printer processes the
next bitmap pattern and stores it in the second image buffer.
These Fingerprint commands can facilitate batch printing:
FIELDNO - Divides the program into portions that can be cleared individually.
CLL - Clears part or all of the image buffer.
OPTIMIZE “BATCH” ON|OFF
If there are only small differences between the labels, write your program to use the
CLL and FIELDNO instructions to manage the buffers first, and process variable
data last.
Note:
You can only reprint the most recently printed label.