Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

print barcodes

edited February 2002 in General
JIT Pipeline works great, thank you. New problem: I would like the labels to
have the barcode stretch all the way across them (labels are 1x2 5/8) but
when I size the Barcode component, it does not stretch beyond its size. when
i print the labels, the barcode is not centered as it was in the designer.
the text of the barcode is centered within the barcode itself but not the
entire length of the component. The alignment properties only apply to the
text within the barcode. is there a way to fix this?

I want the labels to look like this, and this is what they look like in the
designer.

Company Name
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
1234

This is what they look like when printed.

Company Name
|||||||||||||||||||||||||
1234

How can I fix this?

Comments

  • edited February 2002
    What barcode type is this? If it's PostNet then the size can't be changed.
    The choice was between flexibility and valid barcodes and here the
    programmer of the barcode component chose to limit flexiblity in the hopes
    that valid barcodes would always be generated....

    --
    Tom Ollar
    Digital Metaphors Corporation
  • edited February 2002
    I can use 39 or 128.

    if I can't get them to stretch across the label, can I at least get them
    centered?


  • edited February 2002
    There appears to be no easy way to do this. You could create your own
    TppDrawBarCode descendant and then begin drawing the barcode based on the
    calculated width vs. the available width. But you have to be 'inside' the
    DrawBarCode object to get access to this information.

    --
    Tom Ollar
    Digital Metaphors Corporation
This discussion has been closed.