As barcodes are printed at the current cursor position from the baseline to the top of the page, they may not be printed correctly (wrong height or caption text in the middle of the barcode) if there is not enough room on top of that current cursor position.
Before calling the barcode creation make sure you set the cursor in a vertical position compatible with the barcode height.
Need more help with this?
BarDIMM support portal