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

Barcode bcCode128 width in RB 11, Delphi 2007

edited October 2008 in General
Hi,

How can I manipulate bcCode128 barcode width? I set
(report is in mm; RB 11, Delphi 2007):
bc.Data = Char(209) + '%NG317XY' + Char(204) + '15976818633506813826';
bc.AutoEncode = false;
bc.BarWidth := 0.38; (which is 1 in ScreenPixels)

What I need is the barcode width = 92mm. But when I print it I always
get it much shorter, about 65mm I think. And this is a serious problem
as the courier (Interlink/GeoPost) requires quite exact measures:
================
Bar Size:
X-Dimension (Narrow Bar Width)
Minimum: 0.375mm
Maximum: 0.4mm

Overall Bar Code Size:
Dimensions of thermally printed bar codes
Max 91.5mm x 25mm height
================

In a previous ReportBuilder version we 'fudged' the barcode a bit
inserting 205 and 206 characters into it and it made the barcode wider,
but that technique doesn't work anymore.

How can I get the required barcode width then?

Kind regards,
Michal R. Hoffmann

Comments

  • edited October 2008


    In my testing here, it appears the preview is not correctly calculating the
    size. I just emailed a patch to you. Registered RB 11 customers can email
    support@digital-metaphors.com to request it.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.