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

1 | Programmer’s Guide
Thermal Printer Programmer’s Guide
16
Select Barcode Height (PCL Units)
The following will set the barcode height in PCL units with 1 decimal. The number of
codewords per line are as follows: PDF417 (0-30), Micro PDF (0-4), QR Code (0-40). For
Datamatrix it is the symbol size value per the table below.
If the barcode auto print is enabled prior to sending the barcode data, the height of the
barcode will include the height of any human readable text if enabled. The number of
pixels used in the barcode height will always be rounded. As an example, if the barcode
height is specified to be 97 decipoints, the number of dots used on a 300 DPI printer is
[(97 x 300)/720 = 40.417] and will round down to 40 dots. If the height is specified to be
98 [(98 x 300)/720 = 40.833] the number of dots will be 41. The default barcode height is
720 decipoints (1 inch) for linear barcodes.
Select Narrow Bar Width (Decipoints)
The following command will set the width of a narrow bar in Decipoints (720/inch) with
one decimal:
An example of this command might be:
This will set the width of the narrow bar to 9.6 Decipoints which is equivalent to 4 dots at
300 dpi or 8 dots at 600dpi. This command will round for example (2*300)/720 = 0.833
1 - 10x10
7 - 22x22
13 - 44x44
19 - 88x88
25 - 8x18
2 -12 x12
8 - 24x24
14 - 48x48
20 - 96x96
26 - 8x32
3 - 14x14
9 - 26x26
15 - 52x52
21 - 104x104
27 - 12x26
4 - 16x16
10 - 32x32
16 - 64x64
22 - 120x120
28 - 12x36
5 - 18x18
11 - 36x36
17 - 72x72
23 - 132x132
29 - 16x36
6 - 20x20
12 - 40x40
18 - 80x80
24 - 144x144
30 - 16x48