Overview
KCG Barcode Generator creates barcode images using the selected data, symbology, scale, label position, and rotation. It supports 79 symbologies, including Interleaved 2 of 5, Code 128, EAN/UPC, QR Code, Data Matrix, Aztec, PDF417, GS1 DataBar, and postal formats from ZintNET. The installed KCG Barcode plugin also uses ZXing.Net to read a supported barcode from the current preview.
Create one barcode
- Enter the value to encode in Data to encode.
- Select a symbology. The startup selection is Interleaved 2 of 5.
- Set Module scale from 1 to 8. Larger values make each barcode module wider.
- For linear barcodes, choose no text, text below, or text above.
- Select Rotate 90° when the finished barcode should be clockwise vertical.
- Click Generate. The preview appears at the right.
Read the preview
After generating a barcode, or after loading an image, click Read The Barcode. The application sends the current preview Picture to the plugin's ZXing.Net reader and displays the detected symbology and decoded value.
- Generate a barcode, or click Load image to read… and select a PNG, JPEG, BMP, GIF, or TIFF image containing a barcode.
- Confirm that the barcode image is visible in the preview.
- Click Read The Barcode.
- Read the message in the status area and dialog, for example
Read QR_CODE: https://example.com.
The reader automatically tries rotated and inverted barcodes. It is intended to verify common 1D and 2D formats; it is not a validation tool for every one of the generator's 79 symbologies.
Symbologies that can be read
1D / retail / GS1
Codabar, Code 39 (including Extended data where decodable), Code 93, Code 128 / GS1-128, EAN-8, EAN-13, UPC-A, UPC-E, ITF / Interleaved 2 of 5 (including valid ITF-14), GS1 DataBar Omnidirectional / RSS-14, and GS1 DataBar Expanded / RSS Expanded.
2D
QR Code, Data Matrix, Aztec, PDF417, and MaxiCode.
Other generator choices can still produce valid symbols, but the Read The Barcode button is not expected to decode them. This includes Code One, Code 11, Code 16K, Code 49, Micro QR, Rectangular Micro QR, MicroPDF417, postal formats, Han Xin, Grid Matrix, DotCode, Ultracode, and specialised industrial symbols.
Symbology index
The app selector uses this zero-based order. These indexes are also used by the bulk command-line option; index 16 is the startup choice, Interleaved 2 of 5.
- Code One
- Code 39
- Code 39 Extended
- LOGMARS
- Code 32
- Pharmazentralnummer
- Pharmacode
- Pharmacode 2-Track
- Code 93
- Channel Code
- Telepen
- Telepen Numeric
- Code 128
- EAN-14
- SSCC-18
- Standard 2 of 5
- Interleaved 2 of 5
- Industrial 2 of 5
- IATA 2 of 5
- Data Logic 2 of 5
- ITF-14
- Deutsche Post Identcode
- Deutsche Post Leitcode
- Codabar
- MSI Plessey
- UK Plessey
- Code 11
- ISBN
- EAN-13
- EAN-8
- UPC-A
- UPC-E
- GS1 DataBar Omnidirectional
- GS1 DataBar Omnidirectional Stacked
- GS1 DataBar Stacked
- GS1 DataBar Truncated
- GS1 DataBar Limited
- GS1 DataBar Expanded
- GS1 DataBar Expanded Stacked
- Data Matrix
- QR Code
- Micro QR Code
- Rectangular Micro QR Code
- UPN QR
- Aztec
- Aztec Runes
- MaxiCode
- PDF417
- PDF417 Truncated
- MicroPDF417
- Australia Post Standard
- Australia Post Reply Paid
- Australia Post Redirect
- Australia Post Routing
- USPS Intelligent Mail
- Brazilian CEPNet
- POSTNET
- PLANET
- Korea Post
- FIM
- Royal Mail 4-State
- Dutch Post KIX
- DAFT
- Flattermarken
- Japan Post
- Codablock-F
- Code 16K
- DotCode
- Grid Matrix
- Code 49
- Han Xin
- VIN
- Royal Mail Mailmark
- Ultracode
- DPD Code
- UPU S10
- Royal Mail Mailmark 2D
- DX Film Edge
- IBM BC412
Save, print, and copy
Save image
Click Save image, choose the output filename and one of PNG, JPEG, BMP, GIF, TIFF, PDF, or SVG. The extension determines the saved format. The saved barcode uses the current symbology, scale, label position, and rotation. Module scale must be from 1 through 8. For UltraCode, choose PNG to preserve the coloured modules.
Print and clipboard
Generate a barcode first. Print sends the current preview to the selected printer. Copy to clipboard places the current preview on the clipboard for pasting into another application.
Bulk generation
Click Generate Bulk Barcodes to open the bulk generator. It uses the symbology, scale, label position, and rotation selected in the main window at the time it opens.
- Enter one barcode value per line, or click Load text file… to load a UTF-8
.txtfile. - Choose an output folder and output format.
- Click Generate Bulk Barcodes. Blank lines are ignored.
- Each file is named from its data with a sequence suffix, for example
123456_1.png.
Bulk command line
To generate files automatically at launch, use:
KCG Barcode Generator.exe --bulk input.txt output-folder [format] [symbology-index] [scale] [text-position] [rotate90]
Example:
KCG Barcode Generator.exe --bulk "C:\Data\barcodes.txt" "C:\Output\Barcodes" png 16 3 1 0
The input file contains one value per line. Format defaults to PNG. The symbology index is zero-based; index 16 is Interleaved 2 of 5. Text position is 0 for none, 1 for below, or 2 for above. Set rotation to 1 for clockwise 90° rotation. The application exits after a successful command-line bulk generation.
Help and troubleshooting
The selected symbology cannot encode the data
Check character rules, length, and check-digit requirements. If you need a flexible general-purpose format, Code 128 or QR Code are often appropriate; use a standards-required symbology when a receiving system specifies one.
The saved barcode will not scan
Increase module scale, preserve the surrounding white area, avoid resizing with another program, and use a lossless format such as PNG, BMP, TIFF, PDF, or SVG when possible.
Read The Barcode says no readable barcode was found
Make sure a generated or loaded image is visible in the preview, then retry with a supported format: Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, UPC-A, UPC-E, Interleaved 2 of 5 / ITF, GS1 DataBar Omnidirectional or Expanded, QR Code, Data Matrix, Aztec, PDF417, or MaxiCode. The Load image to read button accepts PNG, JPEG, BMP, GIF, and TIFF; the demo does not activate a camera. Some specialised postal, stacked, and industrial symbologies can be generated but are outside ZXing.Net's reader support.
Bulk generation stopped
Confirm that the output folder exists and is writable, then inspect the value being processed. A single invalid value for the chosen symbology stops the batch so the problem can be corrected.