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

144 questions
19
votes
1 answer

What is the maximum length of a Code 128 barcode?

I need to create a Code 128 barcode with a maximum of 44 characters. What is the maximum number of characters supported by the Code 128 barcode format? I came to know that Code 128 can encode all 128 characters of ASCII, but I cannot determine the…
Divya
  • 555
  • 1
  • 4
  • 15
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
  • 633
  • 3
  • 9
  • 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
  • 36,362
  • 28
  • 176
  • 378
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,684
  • 4
  • 20
  • 36
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
  • 36,362
  • 28
  • 176
  • 378
6
votes
2 answers

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-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
5
votes
4 answers

Storing "key presses" (such as TAB) as ASCII Control Characters in barcodes

I'm trying to create a barcode with a "TAB key" within it. (It seems as though some generators use ~ as a TAB key.) I've read that Code128 supports ASCII, meaning "HT" should work as a Horizontal Tab. But I can't seem to get it to work. How do I…
Nir Tzezana
  • 2,275
  • 3
  • 33
  • 56
4
votes
1 answer

Command '['git' 'clone', '--recurse-submodules', '--', 'ssh://git@git/b2b/py_client.git'] returned non-zero exit status 128

I am trying to create virtualenv with make setup and poetry in Git Bash: $ make setup poetry install --no-root Creating virtualenv ad-ml in C:\Users\user1\Documents\ad_ml\.venv Installing dependencies from lock file Warning: The lock file is not up…
Taky
  • 41
  • 3
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
  • 137
  • 3
  • 19
4
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
  • 699
  • 12
  • 27
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,647
  • 1
  • 13
  • 34
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
  • 7
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
2 answers

How do you generate small, high-density linear barcodes that scan reliably?

I am working to integrate POS system to my site. So I want to generate barcode. I am using SKU as the data fields to encode the formate is XXXXX-XXX-XXX-XXX. X is a digit from 0 to 9 so after doing research I found code 128 is the best correct me…
Mohd Alomar
  • 953
  • 1
  • 13
  • 30
1
2 3
9 10