Questions tagged [code39]

Code 39 is a variable length, discrete barcode symbology.

The Code 39 specification defines 43 characters, consisting of uppercase letters (A through Z), numeric digits (0 through 9) and a number of special characters (-, ., $, /, +, %, and space). An additional character (denoted '*') is used for both start and stop delimiters. Each character is composed of nine elements: five bars and four spaces. Three of the nine elements in each character are wide (binary value 1), and six elements are narrow (binary value 0). The width ratio between narrow and wide can be chosen between 1:2 and 1:3.

52 questions
26
votes
10 answers

Code Golf: Code 39 Bar Code

The challenge The shortest code by character count to draw an ASCII representation of a Code 39 bar code. Wikipedia article about Code 39: http://en.wikipedia.org/wiki/Code_39 Input The input will be a string of legal characters for Code 39 bar…
gwell
  • 2,695
  • 20
  • 20
9
votes
0 answers

python3 reportlab code 39 adding extra character

Using python3 and reportlab I'm trying to generate two columns of barcodes: from reportlab.graphics.barcode import code39 from reportlab.lib.pagesizes import A4 from reportlab.lib.units import mm from reportlab.pdfgen import canvas c =…
lanthica
  • 250
  • 1
  • 9
6
votes
3 answers

barcode image to Code39 conversion in C#?

I have barcode images in jpg format and want to extract barcode # from those. Please help!
Ramesh Soni
  • 15,867
  • 28
  • 93
  • 113
4
votes
2 answers

Generate Code 39 Barcode

I have this code to generate a barcode: func generateBarcode(from string: String) -> UIImage? { let data = string.data(using: String.Encoding.ascii) if let filter = CIFilter(name: "CICode128BarcodeGenerator") { …
jbrown94305
  • 185
  • 2
  • 11
4
votes
2 answers

Need help identifying barcode encoding from an old form

I have a barcode field on an paper form produced by a legacy AS/400 system that I need to convert to a more modern reporting system. I have been trying to track down the encoding that this barcode field uses, but I have not been able to find anyone…
Lucas
  • 8,035
  • 2
  • 32
  • 45
3
votes
1 answer

How to read Long "Code 39" barcodes with "Zxing"?

In my application I am using Zxing library for decoding barcodes. "Motorola Xoom" and "Samsung " are the target devices. The company for which I am developing this application uses Code 39 barcodes for their products. Zxing decodes short barcodes…
Abdul Rehman
  • 373
  • 6
  • 15
3
votes
2 answers

How to resize barcode

I'm using iTextSharp to create Code 39. How can I change the size of the code? I can change only the height of the code (via BarHeight property) but not the width. My code: Barcode39 code = new Barcode39(); code.Code = content; code.Baseline = 20; …
sventevit
  • 4,766
  • 10
  • 57
  • 89
3
votes
1 answer

Code 39 Barcodes

Maybe there is a simple solution to this but i cant seem to find one, i need to increase the height of the barcode without increasing font size. // Barcode Text Block TextBlock barcode = new TextBlock(); …
zen_1991
  • 599
  • 1
  • 10
  • 27
2
votes
0 answers

Error printing Barcode - Code 39

I'm having a problem while printing barcodes (Code 39 stadard). It's something that occurs intermittently. -In Google Chrome: It normally shows me the code, but when I see it on print view, it shows me a strange code instead of the original barcode…
fabioleardini
  • 75
  • 1
  • 8
2
votes
2 answers

Accuracy of barcodes

In books (e.g. "Barcodes for Mobile Devices", ISBN 978-0-521-88839-4), Papers (e.g. "Bar Codes May Have Poorer Error Rates Than Commonly Believed", DOI: 10.1373/clinchem.2010.153288) or websites information about the accuracy or error rates of…
KLJ
  • 131
  • 1
  • 10
2
votes
1 answer

AVFoundation add support for Code39Mod10 and Codabar barcodes

I've implemented an QR-/Barcode reader in Swift using AVFoundation framework. For supported types I added nearly all types available: let supportedCodeTypes = [AVMetadataObjectTypeUPCECode, AVMetadataObjectTypeCode39Code, …
mahega
  • 3,231
  • 4
  • 20
  • 32
2
votes
1 answer

Barcode Code 39 javascript encoding

I'm trying to encode a code 39 Barcode by modifying some D3 javascript. The problem is I don't understand how code 39 barcodes are encoded. It looks like they use 12 bit binary to encode the characters. How can I decode a string of characters like…
michael
  • 686
  • 2
  • 11
  • 21
2
votes
1 answer

How to produce a Code 39 that can be reliably read after faxing

My application is generating a Code 39 barcode but a customer is having problems with their document management system recognizing the barcode after the prints have been scanned and re-printed. I have also tested it using an online barcode reader…
Jack
  • 515
  • 1
  • 5
  • 17
2
votes
1 answer

Generate Bar Code CI 39 with CoreImage

I need to implement a barcode generator (I don't want a barcode reader). So I found this and it works great for the Code 128 symbology. How can I generate a Code 39 symbol?
Marco Rossini
  • 469
  • 2
  • 6
  • 19
2
votes
0 answers

Convert getJSONObject

i want to change the output and input of getJSONObject i have tried using the following methods: Int to Float SO 2.Int to String SO 3.Int to Char SO JSONObject jObject = jArray.getJSONObject(Integer.parseInt(Edittext)-1); The function i am…
borton
  • 21
  • 1
1
2 3 4