Questions tagged [code128]

A very high-density barcode semiotics used for alphanumeric or numeric-only barcodes.

Code 128 is a very high-density barcode semiotics. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension character (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1

128 questions
17
votes
3 answers

Reading QRCode with Zxing in Java

Some questions about using Zxing... I write the following code to read barcode from an image: public class BarCodeDecode { /** * @param args */ public static void main(String[] args) { try { String…
Johnny
  • 613
  • 3
  • 8
  • 21
13
votes
2 answers

Where can I find "reference barcodes" to verify barcode library output?

This question is not about 'best' barcode library recommendation, we use various products on different platforms, and need a simple way to verify if a given barcode is correct (according to its specification). We have found cases where a barcode is…
mjn
  • 35,561
  • 24
  • 160
  • 351
13
votes
2 answers

Generating Code 128 Barcodes using Excel VBA

I'm trying to get Code 128 barcodes generated in Excel, through the use of VBA. I've found a VBA class that somebody made and shared via VBForums (subsequently modified to work with Excel VBA), but I'm having problems getting it to work. If I use…
shigzy
  • 133
  • 1
  • 1
  • 5
9
votes
3 answers

C# : Generating Code 128 Barcode (width of bars/spaces)

So I inherited this code, or should I say, someone developed this and moved on and now we are having a problem with it and I'm looking into it... We are generating c128 barcodes and upon having them certified they noticed an issue that I can't see…
Brad
  • 1,624
  • 4
  • 19
  • 34
7
votes
3 answers

Code128/EAN128 barcode component for Fast Report?

During a migration of reports which contain EAN128 / Code128 barcodes to Fast Report I found that Fast Report does not use the correct symbology. The lines of a Code128 barcode are very wide so that they are perfect for long distance scanning in a…
mjn
  • 35,561
  • 24
  • 160
  • 351
5
votes
4 answers

TAB key in Code128 barcodes

I'm trying to create a barcode with a TAB key within it. It seems as though some generators (only found one thus far) uses ~ as a TAB key. But I can't seem to get it to work with any of the other generators. I've also read that Code128 A supports…
Nir Tzezana
  • 1,989
  • 3
  • 26
  • 53
5
votes
1 answer

Is this code for calculating Code128 barcode check digits correct?

Based on my understanding* of the check digit calculation for Code128 barcodes (which differs radically/drastically from most of the other standard barcode types), my code below is correct. However, I would appreciate a "sanity check" by those who…
B. Clay Shannon
  • 1,055
  • 124
  • 399
  • 759
4
votes
0 answers

ZXing Barcode scanning(code128 format) is not working in Xamarin Forms

We using the ZXING library to scan the barcodes for xamarin forms app and its working fine. But now are having issue with barcode - code128 format as its not scanning the bar codes (content length - 19 char ). Attached barcode for reference. We…
Kathir
  • 127
  • 2
  • 19
4
votes
1 answer

Python Code128 encoder for Code128 barcode font

Like the title says, I have a Code128 font that I would like to print barcodes with. However, the string needs to be encoded in Code128 to make the barcode font work. My app uses the Python3 language. There used to be an example on the web somewhere…
theGtknerd
  • 3,279
  • 1
  • 12
  • 29
4
votes
0 answers

Generate barcode code128 with fpdi don't get read when printed at 203 dpi

I generate a barcode with fpdi and php: use setasign\Fpdi\Fpdi; require ('fpdf181/fpdf.php'); require ('FPDI203/src/autoload.php'); $pdf = new Fpdi('L','mm',array(106.36,25.9)); $titulo1 = "Image Processor"; $titulo2 =…
MRlinux
  • 59
  • 5
4
votes
1 answer

JasperReports with Barcode Code128 (Barcode4J): PNG differs from PDF

I'm printing a label with following number "1000049722ABCD2F" as a barcode, using a Jasper-template and the barcode-element "Code128" from Barcode4J. Printed as a PDF, the barcode is perfect and scannable. Printing same barcode as a PNG-file, the…
Richard
  • 41
  • 3
4
votes
1 answer

Encode extended ASCII characters in a Code 128 barcode

I want to encode the string "QuiÑones" in a Code 128 bar code. Is it possible to include extended ASCII characters in the Code 128 encoding? . I did some research on Google which suggested that it is possible by using FNC4, but I didn't find…
Mayuresh
  • 43
  • 1
  • 5
4
votes
3 answers

GS1-128 and RegEx

I'm busy with GS1-128 and want to match scanned barcodes using RegEx. I currently have the following expression: ^(01)(12345678)(\d{5})\d(11|17)(\d{2}[0-1]\d[0-3]\d)(10|21)(\d{1,20})(30)(\d{1,20}) This succesfully matches the barcode…
user2244255
3
votes
2 answers

Is a checksum required in the Code128 barcode specification?

Introduction Step 1 I tried to read the barcode (see image below) using a mobile barcode reader and online tools and got it: data - 30925018, visualization algorithm - Code128C Step 2 Then I tried to generate a barcode from given data and got these…
Roman Svyatnenko
  • 609
  • 11
  • 26
3
votes
0 answers

How to check a Code 128 bar code is EAN 128 or not

How can I check weather a Code 128 bar-code is "EAN 128" or not. I am creating an application that uses both Code 128 and EAN 128 bar-code. While scanning a "EAN128" bar code the Android Vision API is returning the type as Code 128. From google I…
Stephan Ronald
  • 1,285
  • 1
  • 13
  • 37
1
2 3
8 9