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)

Topic Options
#35516 - 04/01/11 06:40 AM code 128 : which subset...
RustyDust Offline
OL Newbie

Registered: 06/03/09
Posts: 3

for a printjob i used a barcode 128. Now the customer asked me which subset i used: A, B or C???

Does PSM choose itself (automatically) which subset will be used? The datafield to be 'barcoded' consists of 9 numbers. So i think PSM will use subset C, but on the other hand i heared that subset C can not be used for a uneven numbers of characters... (in this case 9 numbers).

Can somebody let me know how PSM defines the subset, and if 9 numbers can be used for subset C? And otherwise which subset would be used?

Thx a lot!


#35520 - 04/01/11 09:50 AM Re: code 128 : which subset... [Re: RustyDust]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal

Here's an old response from a developper regarding how it used to work in version 6:

"We use subset C if the input data is all-numeric.

If the input data begins with at least four digits, we start encoding in subset C; otherwise we start encoding in subset
B. For the rest of the input data we dynamically switch between subset B and C, depending on whether we see another
range of digits. Note that we never use subset A, so our implementation of Code 128 does not allow you to encode control
characters or special characters."

However, I would greatly recommend that you upgrade to version 7 of PSM. In version 7, with the new barcode plugin, all three subsets of Barcode 128 can be used, so you can use whichever one that you need whenever you want. This would probably be the best thing to do if you want to have full control over your barcode.

Raphaƫl Lalonde Lefebvre