Postnet barcodes

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Postnet barcodes

Postby IDEAL Software Support » Thu Nov 18, 2004 7:49 pm

Hello,
I am trying to print a postnet barcode on a letter, but when it prints the barcode, all the marks are the same.

For example, I am trying to print
:123456789:

but I get
I IIiii IIiii IIiii IIiii IIiii IIiii IIiii IIiii IIiii IIiii I

The capital I's represent the tall marks and the small i's represent the short marks...

It looks like there are 10 groups all the same.

How do I get the Postnet barcode to print correctly.

My code is as follows:

NoPen
SetBarcodeParms(BCP_HIDE, BCP_HIDE)
Barcode(300, VBOTTOM, -500, -45, BCT_POSTNET, ":123456789:", "")

Thanks for your help,
Kent
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Thu Nov 18, 2004 7:50 pm

Hello,
Never mind on the Postnet barcode problem.
I solved the problem by removing the terminators on the beginning and ending of the zipcode string I was sending to the Postnet barcode function.

It is working very nice now.

Thanks for a great tool,
Kent
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 41 guests