IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Page 3 of 3 < 1 2 3
Topic Options
#31157 - 07/13/10 08:06 AM Re: Code 128 barcode not using recomended encoding
Danny Seager Offline
OL Newbie

Registered: 07/07/10
Posts: 30
Hi Stuart, it's good news and bad news...

The good news is that I can get an A reading out of our digital press when I've applied the bar width reduction.

The bad news is that some barcodes are not generating correctly.

42 seems to be a case where it misses bars.

Here are some barcodes I am testing with

749499172004421
723627096042995

There also seems to be another problem where some barcodes

483808199395947
488986186134918
724823167525583

Then these barcodes are generated from a normal planet press Code 128 (using ='48380819939594'+'^100'+'7' to change the last character) or from our other systems they have an additional set of bars that are marked as "J". In these cases the J is after the check digit but before the stop bars.

The code you gave me does not seem to be putting the J in.

Can you let me know that the Numbers are that you load into the array for each symbol? what do they represent? the dimensions of each bar?

Thanks
Danny

Top
#31158 - 07/13/10 08:57 AM Re: Code 128 barcode not using recomended encoding
Danny Seager Offline
OL Newbie

Registered: 07/07/10
Posts: 30
forget the 42 issue.... found it... you've declared 42 as 43 (so there are 2 43's.)

This is good though as it has made me start to dig through and understand the code more.

Top
#31159 - 07/13/10 09:05 AM Re: Code 128 barcode not using recomended encoding
Danny Seager Offline
OL Newbie

Registered: 07/07/10
Posts: 30
This has also fixed the check sum issue.

Top
#31160 - 07/13/10 09:14 AM Re: Code 128 barcode not using recomended encoding
stuartg Offline
OL Expert

Registered: 03/06/03
Posts: 713
Loc: Swindon, England

Top
#31161 - 07/14/10 05:04 AM Re: Code 128 barcode not using recomended encoding
Danny Seager Offline
OL Newbie

Registered: 07/07/10
Posts: 30
Hi Stuart, Everything seems to be working great.

I'm going to have a detailed look at the code and ensure I understand it all

Thanks again
Danny

Top
Page 3 of 3 < 1 2 3