This is a migrated thread and some comments may be shown as answers.

Bar Code Report

13 Answers 904 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JOSE
Top achievements
Rank 1
JOSE asked on 07 Jun 2017, 09:58 PM
Hi!! I need to print an tag with a key on Bar Code format, my key is a char(20) sql column but contains data with 13 characters maxim
I try to use Code128 format, because my key can contain letters and numbers
But I print the tag and my code bar lector can't read it, why??? If I use the EAN13 with key numeric, this work fine, but my key contains letters so EAN13 is not an option for me. I suspect the Telerik Code128 representation is not correct
Can you help me??
Gina
Top achievements
Rank 1
commented on 25 Sep 2023, 09:22 PM


What is the maximum length of the value to use the CODE128 barcode, up to 10 characters works ok, I have a case of 31 characters and I get an error, what do I do?

Dimitar
Telerik team
commented on 28 Sep 2023, 08:12 AM

Hello Gina,

The likely error that you are getting is that the barcode is too large to fit, is that correct? If yes, you may resolve this issue by setting the Stretch property of the barcode item to True.

If this doesn't help, please provide more details about the problem and a sample report, if possible.

Thank you for using Telerik Reporting!

13 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 08 Jun 2017, 11:58 AM
Hi Jose,

Details about Code128 encoding of the Barcode item can be found in 1D barcodes.

Please post sample data in CSv format and the CREATE statement of the used database table. This will let us test the Barcode item with your settings. You can also test if your barcode reader can handle the Barcodes Report demo.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
JOSE
Top achievements
Rank 1
answered on 08 Jun 2017, 01:39 PM

Well, if I print my key with another tool (activex in Visual Basic) my barcode reader can read it without problem, but if the same key I print from Telerik Report it can't

My telerik report is very simple, I need print a tag (2x1") with a ClaProd (char(20) not null) in Code128, and a DesProd (varchar(80) not null)
For testing purposes, I put a ReportParameter for each data field as you can see on attach file

0
JOSE
Top achievements
Rank 1
answered on 08 Jun 2017, 01:53 PM
Even the image printed in both platforms (Visual Basic with ActiveX, and WPF with Telerik Report) with a naked eye is so different, here I attach the VB option, and I repeat, my barcode reader can read the VB option, and the Telerik option don't
0
JOSE
Top achievements
Rank 1
answered on 09 Jun 2017, 03:31 PM
I'm worked on more test, and I finded what when the key contains only numbers Code128 works fine, but when the key contains letters, don't
So if I print 0123456789 in Code128 (as the Telerik Barcodes Report demo) my barcode reader can read it
But if I print per example CARCYAN22 don't
Why??? Help me please
0
Stef
Telerik team
answered on 12 Jun 2017, 05:16 PM
Hi Jose,

The Barcode item should switch automatically between Code128 variations when it has letters and numbers as a Value - Additional information on Code128, and text like "test22" and "TEST122: appear correctly in my barcode reader, with Code128 encoding.

I will forward the question to the development team to check what causes the problem with "CARCYAN22". I will post an update in this thread when I have news.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
JOSE
Top achievements
Rank 1
answered on 12 Jun 2017, 07:08 PM

Ok, I'll be very greatful.

I'll be waiting

0
Stef
Telerik team
answered on 13 Jun 2017, 11:02 AM
Hello Jose,

The issue appears to be a bug and it is logged in our system for improvement. Your Telerik points are updated to thank you for pointing our attention to the problem.
A workaround we can suggest you is to use third-party libraries to generate a readable barcode as an image, and load the image in a PictireBox item in a Telerik Report e.g. by using a custom function that returns the image.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Accepted
Stef
Telerik team
answered on 13 Jun 2017, 11:36 AM
Hi Jose,

The development team just returned an update that the problem is related to the size of the item. Please test using the Barcode.Strech property and/or enlarge the Barcode item.

Barcode types like QR code have better error correction capabilities. Please consider changing the type of the Barcode item.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
JOSE
Top achievements
Rank 1
answered on 13 Jun 2017, 01:50 PM
OK, thanks, I'm will to try your sugerence, with my limitants about the tag dimensions and then I feedback to you
0
JOSE
Top achievements
Rank 1
answered on 13 Jun 2017, 04:16 PM
Well Stef, I maked test with QRCode,I had to change the desingn of the label, I printed this in a standard printer, and it look fine and my reader can read it, now I must go to the instalations on where is the label printer to test it, I hope everything goes well and I tell you, thank you so much
0
JOSE
Top achievements
Rank 1
answered on 21 Jun 2017, 08:56 PM

Well, regrettably my barcode reader can't read QRCode, so I implemented the Code 128, with "Stretch" on true, and this yes can readed, but, I can't configure correctly the label dimensions, I don't know what is wrong.
On the attached file, you can see on red the self-adhesive label dimensions (2" x 1") and on blue a margin of the coil paper
I don't know how I must define the page settings, on paper size I put width 2 in and heigth 1 in, and all margins on zero

My label printer in a Zebra GK420t model, and the printer settings is in attached image, but don't works

0
Accepted
JOSE
Top achievements
Rank 1
answered on 22 Jun 2017, 01:34 PM

Listo!!! it Works!!

I had should to configure something on the printer, then the report design was so easy

Thank you so much!

0
Stef
Telerik team
answered on 22 Jun 2017, 02:05 PM
Hi,

This is good news :)

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
JOSE
Top achievements
Rank 1
Answers by
Stef
Telerik team
JOSE
Top achievements
Rank 1
Share this question
or