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

Commands for Creating and Managing Program Files, Commands for Creating and Managing Data Files

Page 46 highlights

Chapter 3 - Managing Files Commands for Creating and Managing Program Files Program files are used to run and control the printer and to produce labels or other printouts. A program file is always composed of numbered lines, although the numbers may be invisible during the editing process. For more information, see "About Programming Mode" on page 13. A startup file (also called an autoexec-file) is a program file that automatically runs when the printer is switched on. For more information, see "Creating a Startup Program" on page 29. Use these Fingerprint commands for creating and handling program files: • LOAD copies a specified program file to the printer working memory. • LIST lists the program file in the working memory to the standard OUT channel, usually the screen of the host. • MERGE adds a copy of a specified program file to the program file currently residing in the printer working memory. • RUN executes the instruction in the program file. Must be issued in Immediate Mode (not in a numbered line.) • SAVE saves a copy of the program file in the current directory or, optionally, in another specified directory. If a file with the same name already exists in that directory, it is replaced by the new file. • NEW clears the working memory to allow a new program file to be created. • COPY copies a file to another name and/or directory. • KILL deletes a file. Commands for Creating and Managing Data Files Data files are used by program files for storing various types of data and can be divided into several subcategories: • Sequential input files • Sequential output files • Append files • Random access files Use these Fingerprint commands for creating and handling data files: • OPEN creates and/or opens a file for a specified mode of access and optionally specifies the record size in bytes. • CLOSE closes an opened file. • REDIRECT OUT creates a file to which the output data will be redirected. • TRANSFERSET sets up the transfer of data between two files. • TRANSFER$ executes the transfer of data between two files according to TRANSFERSET. • COPY copies a file to another name and/or directory. 34 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 3 — Managing Files
34
Fingerprint Developer’s Guide
Commands for Creating and Managing Program Files
Program files are used to run and control the printer and to produce labels or other
printouts. A program file is always composed of numbered lines, although the
numbers may be invisible during the editing process. For more information, see
“About Programming Mode” on page 13
.
A startup file (also called an autoexec-file) is a program file that automatically runs
when the printer is switched on. For more information, see
“Creating a Startup
Program” on page 29
.
Use these Fingerprint commands for creating and handling program files:
LOAD copies a specified program file to the printer working memory.
LIST lists the program file in the working memory to the standard OUT channel,
usually the screen of the host.
MERGE adds a copy of a specified program file to the program file currently
residing in the printer working memory.
RUN executes the instruction in the program file. Must be issued in Immediate
Mode (not in a numbered line.)
SAVE saves a copy of the program file in the current directory or, optionally, in
another specified directory. If a file with the same name already exists in that
directory, it is replaced by the new file.
NEW clears the working memory to allow a new program file to be created.
COPY copies a file to another name and/or directory.
KILL deletes a file.
Commands for Creating and Managing Data Files
Data files are used by program files for storing various types of data and can be
divided into several subcategories:
Sequential input files
Sequential output files
Append files
Random access files
Use these Fingerprint commands for creating and handling data files:
OPEN creates and/or opens a file for a specified mode of access and optionally
specifies the record size in bytes.
CLOSE closes an opened file.
REDIRECT OUT creates a file to which the output data will be redirected.
TRANSFERSET sets up the transfer of data between two files.
TRANSFER$ executes the transfer of data between two files according to
TRANSFERSET.
COPY copies a file to another name and/or directory.