Datamax-O'Neil Workstation series Programmer’s Guide User Manual

Page 23

Advertising
background image

Programmer’s Guide | 1

17

Thermal Printer Programmer’s Guide

and will round up to 1 dot. (3*300)/720 = 1.25 and will round down to 1 dot. (4*300)/720=
1.667 and will round up to 2 dots. The printer will not ensure that the narrow element
width is within specification for that barcode type. The default narrow element width will
be defaulted to a reasonable value for each barcode type.

Select Narrow Bar Width (Dots)

The following command, like the one above, will set the width of a narrow bar in PCL
units.

<ESC>$b#N 0x1b 0x24 0x62 <value> 0x4e

The PCL unit defaults to 300 units per inch. This may be modified with the <ESC>&u#D
command. See the PCL Technical Reference Manual for details about this command. If
the user’s environment contains printers with various print densities, refer to the section
titled “Select Barcode Width using Decipoints.”

Select Barcode Anchor

The following will select the point that will serve as the barcode anchor point that
coincides with the beginning cursor position:

<ESC>$b#O 0x1b 0x24 0x62 <value> 0x4F

The diagram below provides the value used to designate where the barcode anchor
point will be. The value may be modified at any time for any subsequent barcodes that
follow.

Many barcodes require quiet zones. A quiet zone is the area immediately surrounding
the barcode and must be free of any text or graphic images. It is the user’s responsibility
to insure no text, lines, boxes or graphic images of any kind encroach within the quiet

zone. Failure to do so could render the barcode unreadable by some barcode scanners.

Figure: 1 - 3 Barcode Anchor Point

Select Leading and Trailing Quiet Zone Size

The following command will set the quite zone size

<ESC>$b#Q 0x1b 0x24 0x62 <value> 0x51

Advertising
This manual is related to the following products: