Barcode 39 - Check Digit Problem

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Barcode 39 - Check Digit Problem

Postby IDEAL Software Support » Tue Nov 23, 2004 4:15 pm

Hi all. We use Progress (Version 9.1D) and VPE (3.5) and having been
using barcodes with no problems for over two years. Today I had a
problem printing this string (without the quotes):
"IT1 71428 I24515"

The resulting barcode scans as: (check digit 9)
IT1 71428 I245159

The check digit should be a "+" I believe.
IT1 71428 I24515+

Has anyone else encountered this problem? I reprinted this barcode 3
times (in different sizes) and it was wrong each time. Is it a bug?

The code I use to produce the barcode is below:
chReport:setbarcodeparms(2,2).
chReport:barcode(220,1520,995,1650, 6, "IT" + c_site + " " + c_part
+ " " + c_bin,"").

Thanks,
David Hopper
Lowen Corporation
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 4:16 pm

My mistake. The check digit is indeed a 9.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Barcode 39 Check Digit How do you turn it off?

Postby csanders » Wed Jan 18, 2006 7:54 pm

Progress 9.1D
ActiveX VPE 3.5 and 3.6

We have a customer you was on a previous version of our product and a previous version of VPE. I think it was version 3.2 of VPE. They have always used the Code 39 format. When they went to our current version using VPE 3.5, the Code 39 format now has the check digit in the barcode. I see that there is a VpeSetBarcodeAutoChecksum(long hDoc, int yes_no) function in the DLL but there does not seem to be a way that I can find to turn it off in the OCX version.

Any help would be greatly appreciated.

Thanks

Chris
csanders
 
Posts: 9
Joined: Fri Nov 04, 2005 9:19 pm

Postby IDEAL Software Support » Thu Jan 19, 2006 1:03 pm

See the property VPE.BarcodeAutoChecksum in the help file. It is located in the section describing all methods and properties for barcodes.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Postby csanders » Thu Jan 19, 2006 3:07 pm

Outstanding that did it. Thanks. One other quick question. In VPE v3.2 was the checksum digit default to true on Code39? Because our code didn't change from VPE v3.2 to v3.5.
csanders
 
Posts: 9
Joined: Fri Nov 04, 2005 9:19 pm

Postby IDEAL Software Support » Thu Jan 19, 2006 5:26 pm

VPE v3.20 could not generate itself the checkdigit for Code 39.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 78 guests