Write From File
This functions Writes data from a file record to a card. The records are in a file created by the
“Read To File” operation as described above. This function prompts the user to open an
existing data file with the file extension that matches the “Card Type” used to create
the original file. The default file folder is the “To From Files” sub-folder in the
“IdtMsrwWorkShop” under the Program Files folder. When a file is selected, the user is
prompted to swipe a card (or sequence of cards); each card is written with the next data
record from the file. The Message box shows the writing result for each card. If there is a
write error, the current data record is used until the record is successfully written to a
card. Cards are written until the last record is used. When the last data record is written, a
prompt informs the user the writing process is finished.
Database Application
WorkShop does not provide direct access to industry standard data base applications.
The word “database” is used here for the convenience of describing the WorkShop
function & operation, which emulates a database process. The WorkShop Database
Application provides a method for writing on cards using data from two files. The two files are
the Database file, which is a
csv
type file and the Usage file, which is a
txt
type file. The csv
file can be an extracted or exported file from a standard database application. Both files are
used together and are required for the card writing process.
The Database file shown in the example is an Excel
csv
file type. The file was created
using Excel; the Excel file was saved as a .csv type. Any application program that can be
used to create the rows and columns of information to be written to cards can be used to
produce the WorkShop Database file. The final database file must be saved as a
csv
type file
for WorkShop database operations.
The Usage file in this example was created using Notepad. The Usage file has two
functions: it may contain the Card Type and card Setup format rules “[SETTING]”; it must
contain a data definition “[DATA]”. The Card Type and card format SETTING parameters
are the same Card Types as in the WorkShop window and the same formatting
parameters found in the WorkShop Setup tabs. The SETTING rules, if used, are used for
all cards written. In the example shown, no SETTING rules are specified; they are
ignored by the WorkShop database function because of the double forward slashes
placed at the beginning of each line in the SETTING section. If no SETTING rules are
specified, the WorkShop database function uses the default ISO 7811 formatting norms.
The information (data) written to a card can has two sources. There is a fixed data
source and a variable data source. The DATA definition in the Usage file specifies the
fixed card data information and specifies the source of the variable card data information. The
Usage file DATA definition has three rows. Each row specifies the data to be written on one
track; the first row specifies the data for track one, the second row for track two
and the third row for track three. Each card is written as specified by the DATA definition;
each card written can have unique data written on the tracks because the variable data is
being sourced from the database file.
B & C Data Systems * (541) 601-8282 * http://bcdata.com
21 of 42
Summary of Contents for EzW
Page 4: ...EzWriter MagStripe Reader Writer B C Data Systems 541 601 8282 http bcdata com 4 of 42 ...
Page 17: ...Format Tab View User Tab View B C Data Systems 541 601 8282 http bcdata com 17 of 42 ...
Page 39: ...Appendix A Outline drawings B C Data Systems 541 601 8282 http bcdata com 39 of 42 ...
Page 42: ...42 of 42 ...