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

Counting Data Blocks and Determining File Length With LOC and LOF ..59 - not printing

Page 5 highlights

Contents Choosing a Character Set with a NASC Statement 41 Converting Input Data 42 Generating Random Numbers 43 Calling the RANDOM Function 43 Using a RANDOMIZE Statement 43 Setting the Standard IN and OUT Channels 44 Input From a Host 44 Input From Sequential Files 45 Reading Data to a Variable With INPUT 45 Reading a Specific Data Length With INPUT 46 Reading a Line to a Variable With LINE INPUT 46 Close a File 47 Verify the End of a File With EOF 47 Counting Data Blocks with LOC 47 Determining File Length with LOF 47 Input From a Random File 48 Creating a Buffer with FIELD 48 Copying a Specific Field with GET 48 Closing a File 49 Finding the Last Field Read with LOC 49 Determining File Length with LOF 49 Input From the Printer Keypad 49 Controlling Communication 50 Using BUSY or READY Statements 50 Using an ON LINE | OFF LINE Statement 51 Controlling Printer Response with VERBON | VERBOFF 51 Managing Background Communication 51 Background Communication Example 52 Retrieving Buffer Status With LOC or LOF 54 Setting Up RS-422 Communication 55 Output to the Standard OUT Channel 56 Printing Expressions With PRINT 56 Printing Characters by ASCII Values With PRINTONE 57 Redirecting Output to a File 58 Output to Sequential Files 58 Using an OPEN Statement 58 Printing Expressions to a Sequential File With PRINT 59 Printing Characters by ASCII Values With PRINTONE 59 Using a CLOSE Statement 59 Counting Data Blocks and Determining File Length With LOC and LOF 59 Fingerprint Developer's Guide v

  • 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

Contents
Fingerprint Developer’s Guide
v
Choosing a Character Set with a NASC Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
Converting Input Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Generating Random Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Calling the RANDOM Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Using a RANDOMIZE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Setting the Standard IN and OUT Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Input From a Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Input From Sequential Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Reading Data to a Variable With INPUT# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Reading a Specific Data Length With INPUT$ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Reading a Line to a Variable With LINE INPUT# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Close a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Verify the End of a File With EOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Counting Data Blocks with LOC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Determining File Length with LOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Input From a Random File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Creating a Buffer with FIELD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Copying a Specific Field with GET. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Closing a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Finding the Last Field Read with LOC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Determining File Length with LOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Input From the Printer Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Controlling Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Using BUSY or READY Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Using an ON LINE | OFF LINE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Controlling Printer Response with VERBON | VERBOFF . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Managing Background Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Background Communication Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Retrieving Buffer Status With LOC or LOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Setting Up RS-422 Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Output to the Standard OUT Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Printing Expressions With PRINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Printing Characters by ASCII Values With PRINTONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Redirecting Output to a File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Output to Sequential Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Using an OPEN Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Printing Expressions to a Sequential File With PRINT# . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
Printing Characters by ASCII Values With PRINTONE#. . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
Using a CLOSE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
Counting Data Blocks and Determining File Length With LOC and LOF . . . . . . . . . . . . .59