# Random Weight Type 2 UPC Barcode Seguir

Shonn Mereness

Does anyone know how to design a template or print a barcode for a type 2 upc barcode?  Whereas I enter the data for the first 5 digits and the price and the template combines those fields and prints a type 2 barcode?

i.e. 100 is the PLU and the price is 1.25, the barcode printed would be 200100C00125c whereas the C are check digits

##### 4 comentarios

###### James Sharp

Type 2 UPC barcode isn't a different kind of UPC, it's just a slightly different layout of data in a standard UPC-A barcode.

The starting value of the barcode is going to be 2. This indicates that it is a variable weight type of product.

The following 5 characters are the stock/GS1 item number

The next 5 characters are the price/weight. The number should be right justified so if the price or weight is low the zeros are to the left, eg. \$1.99 per pound would be 00199.

The 12th digit is the normal UPC check carried out on the preceding 11 digits.

I did some testing in BarTender and found that making 3 data sources within the UPC barcode worked well. The first one being an embedded data with the value of "2". The second being used for the stock number, this can be fixed or variable. And then the third is for the price/weight which I expect in most cases would be a variable but will work as fixed as well. The UPC-A barcode will concatenate these 3 data sources automatically and then calculate and place the check digit.

###### Shonn Mereness

Thank you.  Yes the barcode is a UPC A format.

The issue is some systems and one I am working on uses a middle price check digit.  This is some sort of table or algorithm that takes the digits in only the price and calculates a price check digit to be used as the 7th position.  Basically the number starts with a 2 followed by 5 digit item code then this price check digit then 4 digits which is the price then the last is a normal check digit.

###### Eric Daugherty

I have the exact same issue. Right now I have to guess at the center price check digit and then calculate the end check digit and see if the barcode works. There must be a formula for calculating the center price check digit but so far I haven't found it.

###### Eric Daugherty

From another post on here is a nice start. It breaks the formula down to simple tables.

https://support.seagullscientific.com/hc/en-us/community/posts/115006954588-Text-input-formula-calculation

Iniciar sesión para dejar un comentario.