Print Code 128

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Print Code 128

Postby Ronny » Fri May 06, 2011 10:07 am

Hello,

I printed an Barcode 'Code 128' like
Code: Select all
VPEDoc.Barcode(1,2,6,5, BCT_EAN128, 'SD00000063','');

The Barcode locks good, but he is not recognized by any Scanner.
I compare them with an Online Generator for 'Code 128'.
My printed Barcode looks different to this (right) Barcode.
Whats wrong? Any idea?

Greetings Ronny

ps: I have tested with the current demo-version
(for development I use version 3.5)
Ronny
 
Posts: 2
Joined: Tue May 03, 2011 9:34 am

Re: Print Code 128

Postby IDEAL Software Support » Sat May 07, 2011 8:20 am

We have no problem in scanning the barcode - taken exactly from your sample code - with two scanners.

It looks different than Code 128, since it is EAN 128 (GS1-128) and has an additional control code, so the bars look different.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Print Code 128

Postby Ronny » Tue May 17, 2011 7:39 am

Hello,

thanks for your answer.

Look your barcode like this image? (this time with Code128, see below)
http://www.imagesup.de/bild-SDjpg-106837-Barcode.htm

Created with:
Code: Select all
VPE.Barcode ( 1,2,6,5, BCT_Code128, 'SD00000063','');


Greetings Ronny
Ronny
 
Posts: 2
Joined: Tue May 03, 2011 9:34 am

Re: Print Code 128

Postby IDEAL Software Support » Tue May 17, 2011 8:47 am

The test project has already been deleted and we are not going to compare images.

The point is that we can scan the generated barcode with two different barcode scanners. So the barcode is ok. The question is: why can't you scan the barcode - what is wrong with your barcode scanner?
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Print Code 128

Postby IDEAL Software Support » Tue May 17, 2011 8:50 am

When I look at your image: You should remove the frame around the barcode. This will irritate every barcode scanner. Set PenSize = 0 before creating the barcode.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 16 guests

cron