Desktop application

KCG Barcode Generator

User guide

Create, preview, read, copy, print, save, and batch-generate barcodes in 79 linear, postal, stacked, and 2D symbologies. It is backed by ZintNET symbologies and reads common 1D and 2D barcode formats through the bundled ZXing.Net dependency, without a preinstalled native barcode library at runtime.

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.

Scanning tip: choose a symbology that accepts your data, retain the white quiet zone around the barcode, and test the final saved or printed barcode with the scanner that will be used in production.

Create one barcode

  1. Enter the value to encode in Data to encode.
  2. Select a symbology. The startup selection is Interleaved 2 of 5.
  3. Set Module scale from 1 to 8. Larger values make each barcode module wider.
  4. For linear barcodes, choose no text, text below, or text above.
  5. Select Rotate 90° when the finished barcode should be clockwise vertical.
  6. Click Generate. The preview appears at the right.
Note: human-readable text is shown only for one-row linear barcode types. It is part of the generated image, preserves the case you entered, and rotates with the barcode.
Special 2D formats: UltraCode is displayed with its required coloured modules; save it as PNG to retain colour. MaxiCode is displayed with its staggered hexagonal modules and central bullseye finder pattern. These symbols need their white quiet zone left intact for reliable scanning.

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.

  1. Generate a barcode, or click Load image to read… and select a PNG, JPEG, BMP, GIF, or TIFF image containing a barcode.
  2. Confirm that the barcode image is visible in the preview.
  3. Click Read The Barcode.
  4. Read the message in the status area and dialog, for example Read QR_CODE: https://example.com.
Important: image loading supports PNG, JPEG, BMP, GIF, and TIFF. Loading replaces the preview only; it does not scan automatically. Click Read The Barcode after the image is visible. The demo does not use a camera. A message that no barcode was found is a normal result when ZXing.Net does not support the selected symbology or cannot decode that image.

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.

  1. Code One
  2. Code 39
  3. Code 39 Extended
  4. LOGMARS
  5. Code 32
  6. Pharmazentralnummer
  7. Pharmacode
  8. Pharmacode 2-Track
  9. Code 93
  10. Channel Code
  11. Telepen
  12. Telepen Numeric
  13. Code 128
  14. EAN-14
  15. SSCC-18
  16. Standard 2 of 5
  17. Interleaved 2 of 5
  18. Industrial 2 of 5
  19. IATA 2 of 5
  20. Data Logic 2 of 5
  21. ITF-14
  22. Deutsche Post Identcode
  23. Deutsche Post Leitcode
  24. Codabar
  25. MSI Plessey
  26. UK Plessey
  27. Code 11
  28. ISBN
  29. EAN-13
  30. EAN-8
  31. UPC-A
  32. UPC-E
  33. GS1 DataBar Omnidirectional
  34. GS1 DataBar Omnidirectional Stacked
  35. GS1 DataBar Stacked
  36. GS1 DataBar Truncated
  37. GS1 DataBar Limited
  38. GS1 DataBar Expanded
  39. GS1 DataBar Expanded Stacked
  40. Data Matrix
  41. QR Code
  42. Micro QR Code
  43. Rectangular Micro QR Code
  44. UPN QR
  45. Aztec
  46. Aztec Runes
  47. MaxiCode
  48. PDF417
  49. PDF417 Truncated
  50. MicroPDF417
  51. Australia Post Standard
  52. Australia Post Reply Paid
  53. Australia Post Redirect
  54. Australia Post Routing
  55. USPS Intelligent Mail
  56. Brazilian CEPNet
  57. POSTNET
  58. PLANET
  59. Korea Post
  60. FIM
  61. Royal Mail 4-State
  62. Dutch Post KIX
  63. DAFT
  64. Flattermarken
  65. Japan Post
  66. Codablock-F
  67. Code 16K
  68. DotCode
  69. Grid Matrix
  70. Code 49
  71. Han Xin
  72. VIN
  73. Royal Mail Mailmark
  74. Ultracode
  75. DPD Code
  76. UPU S10
  77. Royal Mail Mailmark 2D
  78. DX Film Edge
  79. 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 .txt file.
  • 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.