bcCode128 when using PDF
There is some sort of rendering problem with the barcode when using
BarCodeType bcCode128 and printing to the RB PDF device. The databits all
check out ok, but the barcode on the finished PDF comes out wrong. Usually
there is one or two bars that disappear and the STOP part, which should
come out in the pattern 2 3 3 1 1 1 2 comes out as 1 (one bar of the
smallest width). The AutoEncode option is enabled, which according to the
RB code means that code C is used for the entire barcode.
I am currently using RB version 10.09. We will be updating to a newer
version within a year, but this is an urgent case. I have been able to do
a test with RB 11 though and this particular problem does not seem to
appear in that version. Is this a known issue that has been solved and is
it possible to do something about it without updating to RB 11.
Below is an unencoded example. To illustrate where the problem (usually)
appears I put in spaces to separate that part (05) of the code. Mentioning
this might be irrelevant to the solution, but the position of the missing
bars have been pretty constant.
21596300007066600119050001 05 60387627500066210110200006
--- posted by geoForum on http://www.newswhat.com
BarCodeType bcCode128 and printing to the RB PDF device. The databits all
check out ok, but the barcode on the finished PDF comes out wrong. Usually
there is one or two bars that disappear and the STOP part, which should
come out in the pattern 2 3 3 1 1 1 2 comes out as 1 (one bar of the
smallest width). The AutoEncode option is enabled, which according to the
RB code means that code C is used for the entire barcode.
I am currently using RB version 10.09. We will be updating to a newer
version within a year, but this is an urgent case. I have been able to do
a test with RB 11 though and this particular problem does not seem to
appear in that version. Is this a known issue that has been solved and is
it possible to do something about it without updating to RB 11.
Below is an unencoded example. To illustrate where the problem (usually)
appears I put in spaces to separate that part (05) of the code. Mentioning
this might be irrelevant to the solution, but the position of the missing
bars have been pretty constant.
21596300007066600119050001 05 60387627500066210110200006
--- posted by geoForum on http://www.newswhat.com
This discussion has been closed.
Comments
ReportBuilder 10 did not export Barcodes directly. It converted them to
bitmaps then exported the image to the PDF file. During this process, much
of the quality is lost making the barcode virtually unusable.
For RB 11, we added vector graphic rendering support for the built-in PDF
device which directly draws advanced components such as Barcodes and
Richtexts to the PDF file.
Going forward hope you will be upgrading to RB 12, which includes many
powerful new features.
Here is a link to What's New for RB 12. (Use the side menu to navigate to
more detail).
http://www.digital-metaphors.com/rbWiki/General/What's_New/RB_12
Also note that we have launched rbWiki, a great RB 'How To' resource that
contains hundreds of tech tips and downloadable code examples.
http://www.digital-metaphors.com/rbWiki
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com