Extended Printer Controls - Graphics

For the most important Printer Control values, see: Printing bar codes using Printer Controls

Before you read the section below, you should read; Printing bar codes using Printer Controls - Graphics

BT=<Type>

To add bearer bars to the bar code symbol, use BT=1. This usually only applies to Interleaved 2-of-5 and other bar code types where short read is a problem.

If BT=0, or BT is not used, then by default the symbol will look like this;

If BT=1 the symbol will look like this;

This will prevent short reads.

BW=<Width>

The width of the bearer bar, past the right (or left) of the normal bar code symbol.

Note: Value is in device units (pixels) of the printer. The values will be different for 300 dpi printers and 200 dpi printers.

By default, the value of BW= is the maximum of S1= and L1=. The value of BW= is usually a multiple of the S1= value.

S1=2,BW=2

S1=2,BW=6

BH=<Height>

The height of the bearer bars.

Note: Value is in device units (pixels) of the printer. The values will be different for 300 dpi printers and 200 dpi printers.

BW=2,BH=6

By default, the value of BH= is 2 times the maximum of S1= and L1=. The value of BH= is usually a multiple of the S1= value.

S1=<Width>, S2=<Width>, S3=<Width>, S4=<Width>

L1=<Width>, L2=<Width>, L3=<Width>, L4=<Width>

This section shows how some Printer Control values you can abbreviated and simplified. For example S1=3:9:12:15 can be used instead of S1=3,S2=9,S2=12,S2=15

See barcode.ini if your Printer Control is longer than 58 characters.

Code 39 example

Normal syntax;

<ESC>bC=39,P=1,S1=3,S2=9,L1=3,L2=9,D=

Alternate syntax;

<ESC>bC=39,P=1,S1=3:9,L1=3:9,D=

Alternate syntax;

<ESC>bC=39,P=1,S1=3:9,D=

Code 128 example

Normal syntax;

<ESC>bC=128B,P=1,S1=3,S2=9,S2=12,S2=15,L1=3,L2=9,L3=12,L4=15,D=

Alternate syntax;

<ESC>bC=128B,P=1,S1=3:9:12:15,L1=3:9:12:15,D=

Alternate syntax;

<ESC>bC=128B,P=1,S1=3:9:12:15,D=

If no values are given for; L1, L2, L3, L4 then the values are copied from; S1, S2, S3, S4.

 

 

 


Copyright 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.