Here is an example of a valid BarDIMM language command sequence to select a barcode:


< Esc >(s4p102h40v10,30b10,30s24670T< data >


 

24670TSymbology: code 39, not encoding spaces before/after data
4pReadable text below bars, without start/stop chars (*)
102hCaption text in Univers Regular font
40vBars height: 40 points 40/72=0.555 inches
40*2.54/72=1.41 cm
10,30bThin bars are 10 dots wide, thick bars are 30 dots wide
10,30sThin spaces are 10 dots wide, thick spaces are 30 dots wide
< data >The data to convert into barcode



Barcode Rotation


To rotate a barcode, you can use PCL rotation commands. It is recommended you save the cursor position before activating the barcode, and restore that position after the barcode. Here is an example (sequences should be entered without carriage return):
< Esc >&fS< Esc >&a1000h1000V< Esc >&a90P< Esc >(s4p102h40v10,30b10,30s24670TJETMOBILEBARDIMM< Esc >(10U(sp10hsb4099T< Esc >&aP< Esc >&lf1S


where:


 

PCL5 commanddescription
< Esc >&fSSave cursor position
< Esc >&a1000h1000VCursor positioning
< Esc >&a90P90° rotation
< Esc >(s4p102h40v10,30b10,30s24670TSelect Barcode
JETMOBILEBARDIMMBarcode Data
< Esc >(10U(sp10hsb4099TSwitch back to Courier 10cpi font
< Esc >&aPNo more rotation
< Esc >&lf1SRestore saved cursor position



Other Information

Permanent and secondary fonts switching can be used with barcode fonts. It is highly recommended that a text font be used as primary font, and barcode font as secondary font. (please refer to the PCL developer guide for all information on primary and secondary fonts).


Complete BarDIMM language sequences samples are produced by BDTTGEN available on www.bardimm.com.


The BarDIMM language is not the PCL language. Therefore, some limitations apply regarding command compatibility:

- No font ID can be linked to a barcode created with the BarDIMM language

- The BarDIMM language cannot be used from HPGL2, Postscript or PCL6