Bar Code Objects - Ithaca Epic 950 Integration Manual

Table of Contents

Advertisement

Programming for the Epic 950

Bar Code Objects

A bar code object is created by the print bar code command (GS k). Specified within the
command is the symbology to be used, amount of data to be encoded, and data itself.
Other attributes of the bar code, such as height and width, can be set using other
commands.
The set bar code height command (GS h) specifies the height of the bar code in dots, or
1/8 mm. The maximum height for a bar code is 256 dots or 32 mm. In cases where a
taller bar code is needed, a second bar code can be printed below the first at the same
left offset. The set bar code module width (GS w) and set bar code element width (GS
W) commands can be used to alter the width of the bar code. See the command
descriptions later in the next section for a full explanation of the differences between
these two commands.
The limitations of each symbology must be adhered to when sending data for a bar
code. For example, you should not send alphabetic characters to symbologies that only
accept numeric data (like the UPC/EAN symbology).
Other items must also be considered when printing bar codes:
(If any of these items are ignored, the printed bar code may be unreadable.)
Sufficient blank space on either side of the bar code must be left to create a quiet
zone.
A good ratio/element size must be selected if the default values are not being
used.
Adequate room must be available for the bar code to be printed on the ticket.
Bar codes may only be printed in black, for accurate infrared scanning, using
thermal media with a visible light absorption of 600-700 nm for black printing.
A bar code object is self-terminating and will be processed as soon as the proper
amount of data has been sent to it. The print bar code command's (GS k) second
parameter specifies whether a fixed amount of data will be sent or whether delimiters will
be used. In either case, the data sent must match the parameter setting. If a fixed
number of characters are specified, then the exact number of characters specified must
be sent. If delimiters are indicated, then matching characters must be sent before and
after the bar code data to specify the beginning and end of the data. If an incorrect
number of characters or delimiters are sent, the Epic 950 will not print correctly.
Bar codes that are too long to fit within the printable area of a ticket are truncated. This
usually results in an unreadable bar code being printed. To correct this condition, a
narrower ratio must be set, fewer digits encoded, or a more compact symbology used.
Bar codes
Codabar
Code 3 of 9
Code 128-A
Code 128-B
Code 128-C
95-05245
Epic 950 OEM Integration Manual
Rev G
Page 63

Advertisement

Table of Contents
loading

Table of Contents