home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Between Heaven & Hell 2
/
BetweenHeavenHell.cdr
/
300
/
247
/
barcode.doc
< prev
next >
Wrap
Text File
|
1988-07-30
|
16KB
|
354 lines
█████████ ████████ █ TM
█ █ █ █ █
█ █ ███ █ ███ █ ██ ██ ███ █ █ ███
███████ █ █ █ █ █ █ █ █ █
█ █ ███ █ █ █ █ █ █ █ █ ███
█ █ █ █ █ █ █ █ █ █ █ █
█████████ ███ █ █ ████████ ██ ██ ███ █ ████
▌▐▐▌█▐▐▌█▐▐ ▌▌▌▌▐▌█▐ ▌█▐▌▌
▌▐▐▌█▐▐▌█▐▐ ▌▌▌▌▐▌█▐ ▌█▐▌▌
▌▐▐▌█▐▐▌█▐▐ ▌▌▌▌▐▌█▐ ▌█▐▌▌
BarCode - A Bar Code Print Utility
Version 2.1
For the IBM Personal Computer
A product of
MicroGadgetry, Inc.
7000 Broadway, Bldg 2, Suite 207
Denver, Colorado 80221
(303) 428-3800
Copyright (C) 1987 M. Gavito
INTRODUCTION
WHY BAR CODES may modify BarCode in any way,
including but not limited to decompil-
Because your computer doesn't know or ing, disassembling or otherwise
care whether it receives information reverse engineering the program.
by manual entry or bar code scanner,
bar codes are a simple and effective
alternative to data entry. It has PROGRAM REQUIREMENTS
been proven that their use signifi-
cantly reduces erroneous data entry BarCode was written to run on IBM PC,
and increases accuracy and efficiency XT, AT (or 100% IBM compatible)
of input. equipment utilizing DOS version 2.1
or greater. Though originally
developed and tested on an IBM
WARRANTY graphics compatible Okidata 192
printer, BarCode version 2.1 is
This author makes no warranty of any capable of running a multitude of
kind, express or implied, including different printers.
without limitation, any warranties of
merchantability and/or fitness for a
particular purpose or application. GENERAL DISCUSSION
He shall not be liable for any
damages, whether direct, indirect, BarCode creates labels using code 3
special or consequential arising from of 9, an alphanumeric code consisting
a failure of this program to operate of numbers 0 thru 9, the alphabet in
in the manner desired by the user. upper case characters, and 7 special
Further, in no event will the author characters (- + % $ / . "space").
of this program be liable for any Each character is made up of nine (9)
damages, including lost profits, lost elements, containing five bars and
savings, loss of data or property, or four spaces. Three of these elements
other incidental or consequential are wide and six narrow. The
damages arising out of use or inabil- exception to this are the special
ity to use this program, or for any characters which have slightly
claim by any other party. different element patterns. Each bar
code begins with a Start character
and ends with a Stop character. The
LICENSE AGREEMENT Start/Stop characters are not
transmitted when the labels are read.
BarCode version 2.1 is not considered
public domain software, nor is it
free software. Non-registered users ADVANTAGES TO CODE 3 OF 9
are granted a limited license to use
BarCode on a trial basis for the Code 3 of 9 is alphanumeric, allowing
purpose of determining whether both alphabetic and numeric charac-
BarCode is suitable for their needs. ters. With this flexibility, the code
Use of BarCode, except for this has broader applications than that of
limited purpose, requires registra- a numeric one. Its length is
tion and a fee of $25. Use of variable, which in this program
non-registered copies of BarCode by allows printing of labels up to
any person, business, corporation, fifteen characters in length.
government agency or other institu-
tion is strictly forbidden. Registra-
tion grants a user license to use DISADVANTAGES TO CODE 3 OF 9
BarCode on a single computer; a
registered user may use the program The information density (characters
on different computers, but may not per inch) is lower for code 3 of 9
use the program on more than one than for other numeric-only codes,
computer at the same time. No user i.e. U.P.C. or Interleaved 2 of 5.
GETTING STARTED
EXECUTING THE PROGRAM By using the /C switch when executing
BarCode (BARCODE/C), the user is
BarCode is a straightforward program taken first to the printer configura-
consisting of two screens, one for tion screen. Once changes are made
building bar codes and a second here, the program moves on to the
option screen for modifying printer main input screen. BarCode allows a
control codes. Under normal opera- great deal of flexibility with
tion, the program is executed by printers, but with the large variety
typing the word BARCODE after the DOS of printers on the market, no
prompt. The option screen has been guarantees are made concerning
included to allow the user to access printer compatibility.
and change printer configurations.
====== BarCode PRINTER CONFIGURATION ==========================================
DEFAULT PRINTER EMULATION (1-3): 1_
EMULATION TYPE (1/2): 1_
PRINTER EMULATION: IBM Graphics Compatible
SET PRINT TO 10 CHARACTERS PER INCH: 12__________
ACTIVATE ENHANCED PRINT: 1B47__________
DEACTIVATE ENHANCED PRINT: 1B48__________
ACTIVATE 1/8 INCH LINE SPACING: 1B30__________
ACTIVATE 7/72 INCH LINE SPACING: 1B31__________
SET VARIABLE LINE SPACING: 1B41__________
ACTIVATE VARIABLE LINE SPACING: 1B32__________
ACTIVATE 120x72 DOT GRAPHICS MODE: 1B4C__________
DEACTIVATE GRAPHICS MODE: __________
====== COPYRIGHT (C) 1987 M. Gavito ===========================================
[Esc] SAVE & CONTINUE
[F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10]
CURSOR^ CURSORv COLOR MODE END
CHANGING YOUR PRINTER CODES printer configurations. The example
screen above shows one of the three.
The screen pictured above is accessed No effort has been made in this
with the /C switch (see Execution of documentation to explain the intrica-
Program paragraph). It contains cies of printer code modification in
fields in which to input the proper this program. Should you not be
printer emulation type and printer familiar with this procedure or are
functions. Codes are entered as uncertain of your printer's compati-
hexadecimal equivalents of the bility, please contact the author for
character representation (example: technical assistance. Please have
hexadecimal representation of capital your printer manual available. The
L is 4C). The program contains three author will not recognize the
possible printer configuration modes, concerns of non-registered users.
which have been set up with common
BUILDING A BAR CODE
GUIDELINES short beep in any of the fields
signifies an incorrect key was
The guidelines for building a desired pressed (example: an alphabetic
bar code appear on the main input character in the FORM LENGTH field
screen as a series of input fields or which allows only numeric charac-
fill-in-the-blank questions. ters). A longer beep signifies the
Descriptions of the fields are listed wrong data was input for the particu-
in the text below the sample screen. lar field requirements (example: a
The program contains audio prompts to number less than 53 in the FORM
prevent both incorrect keystroke LENGTH field).
errors and invalid field data. A
====== PRINT CODE 3 OF 9 BarCode LABELS =======================================
(FIRST) BAR CODE TO PRINT: AB1210X_______________
DESCRIPTION TO PRINT: TEST PRODUCT_________________________
USE STYLIZED BAR CODE FORMAT (Y/N): Y_
NUMBER OF BAR CODES TO PRINT: 8____
STARTING POSITION OF NUMERIC VALUE IN CODE: 3__
LENGTH OF NUMERIC VALUE IN CODE: 4__
NUMERIC STEP INCREMENT: 10____
LEFT MARGIN (120=1 INCH - MAXIMUM 820): 120___
FORM LENGTH (72=1 INCH - MINIMUM 53): 72___
PRINTER COMPATIBILITY MODE: 1-IBM Graphics Compatible
====== COPYRIGHT (C) 1987 M. Gavito ===========================================
[Esc] SAVE & PRINT
[F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10]
CURSOR^ CURSORv COLOR MODE HOLD PR STOP PR END
(FIRST) BAR CODE TO PRINT: This Normally, the program will attempt to
field calls for the actual character center the string of characters
series contained in your bar code, or directly above the bar code. When
the beginning of sequential or multi- descriptions are lengthy, care must
ple bar codes. It will allow upper be taken that the left bar code
case alphabetic characters, numeric margin is wide enough to allow
characters, or any of the special correct centering.
characters (- + % $ / . "space").
NUMBER OF BAR CODES TO PRINT: This
DESCRIPTION TO PRINT: This field is field represents the number of bar
optional, calling for a string of codes you intend to print. It will
characters you wish to appear above accept four digit numeric characters
the bar code. It can contain any up to a maximum total of 9999 bar
standard ASCII character up to the codes.
maximum length of the input field.
STARTING POSITION OF NUMERIC VALUE IN EXAMPLE: The example above uses all
CODE/LENGTH OF NUMERIC VALUE IN input fields. The resulting bar
CODE: These are two optional fields codes would be printed one inch from
which allow you to define a numeric- the left edge of the form and would
only segment of a bar code. For be spaced one inch from the top of
example, the bar code AB003F contains one bar code to the top of the next.
numeric information which starts in The first bar code printed will be
position 3, and is 3 characters long. assigned the characters AB1210X. The
next bar code would be AB1220X, and
NUMERIC STEP INCREMENT: This option- so on to the last label of AB1280X.
al field defines the increment in Above each label would print the
which each succeeding numeric-only description, Test Product.
segment of the bar code changes in
numeric value. See example below. ESCAPE KEY: This key is labeled [Esc]
Zero should be used here for the on the keyboard and can be used at
consecutive printing of the same bar any time to save information on the
code. screen, process it, and advance to
the next step in the program, i.e.
USE STYLIZED BAR CODE LABELS: With the next screen or printing.
this field, users are given a choice
of the two bar code types listed FUNCTION KEYS: Function keys are
below. A response of Y in this field labeled F1 through F10 on your
will automatically default to the keyboard. Usable function keys in
Stylized bar code choice. this program will always appear at
the bottom of the screen, but don't
I|I|I|I|I|I|I| I|I|I|I|I|I|I| always operate during every function;
I|I|I|I|I|I|I| I|I|I|I|I|I|I| for example, the cursor keys won't
I| STYLIZED I| STANDARD work when printing. The four arrow
keys on the cursor pad are also
LEFT MARGIN: This field allows you functional. Function keys not
to adjust the placement of the bar labeled, with the exception of the
codes when printing. The Left Margin cursor pad, have no function at this
is the distance between the left edge time. Usable function keys are
of the form and the bar code, in described in greater detail below.
increments of 1/120 of an inch. You
should also test right margin bar [F1]: is used to move the cursor up
codes by first printing them at the one field.
left margin and verifying their [F2]: is used to move the cursor down
printed length. For example, if the one field.
left margin is too great it is [F6]: is used to turn color off and
possible that right margin bar codes on with a system equipped with
may be partially cut off and not read a color graphics card.
correctly. [F7]: is used to scroll printer
options.
FORM LENGTH: This field also adjusts [F8]: will pause the printing of bar
the placement of the bar codes. It codes. Pressing any key will
is the distance from the top of one continue printing.
bar code to the top of the next, in [F9]: will abort printing of bar
increments of 1/72 of an inch. codes and return the user to
the main input screen.
PRINTER COMPATIBILITY MODE: The [F10]:ends the program.
choice of modes available for this
field can be predetermined by the
user at the Printer Configuration NOTE: Hardware names in this
Screen. The [F7] key will scroll documentation are trademarks or trade
through the available options. names of specific manufacturers.
REGISTRATION FORM
Send To:
MicroGadgetry, Inc.
Attn: BarCode Registration
7000 Broadway, Bldg 2, Suite 207
Denver, CO 80221
REGISTRATION INFORMATION
Your Name: ____________________________________________________
Company Name: ____________________________________________________
Street Address: ____________________________________________________
City: ________________________ State: ____ ZIP: ________
Phone: ________________________
What version of BarCode do you have?
Where did you obtain BarCode?
Do you have any comments of suggestions for the author concerning BarCode?
Note: This registration form must be submitted along with the $25.00
registration fee to receive technical support