bug-barcode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-barcode] Bugreport: Wrong UPC-E code generated


From: Yannic Schröder
Subject: [Bug-barcode] Bugreport: Wrong UPC-E code generated
Date: Wed, 12 Aug 2015 15:35:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Sir or Madam,

I have observed a strange behaviour of GNU Barcode version 0.99. The
tool generates a different barcode than expected.

I use the following command:
$ barcode -o 208007.ps -b "208007" -e upc-e

I expect this to generate a UPC-E barcode that contains "208007".
However as you can see in the attached ps file it generates a barcode
containing "208073". I scanned this code with an Android app and an
USB hand scanner. Both say it contains "208073". I used some website
to generate an UPC-E barcode that contains "208007" correctly.

I tested some barcodes in that neighborhood:

Input    Output
208000   correct
208001   correct
208002   correct
208003   correct
208004   wrong: 208003
208005   wrong: 208053
208006   wrong: 208063
208007   wrong: 208073
208008   wrong: 208083
208009   wrong: 208093
208010   correct
208011   correct
208012   correct

This seem like a very specific bug. Other barcode types work as
expected with the tested code (208007).

Kind Regards
Yannic Schröder

- -- 
Yannic Schröder, M.Sc.

Technische Universität Braunschweig
Institut für Betriebssysteme und Rechnerverbund
Mühlenpfordtstr. 23
38106 Braunschweig

Fon: +49 (531) 391 - 3249
Fax: +49 (531) 391 - 5936
E-Mail: address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVy0uLAAoJECNfUhLWXZGLgxMQAKvbvRrN5G+UHzpE8HqG2r0T
mKnlh7eDjTSZj6VNIpVo/3TDSJadNBYobbV3Ifk4EhQvso+1B5+ElPOiFHFHyQWR
tbmKmnJ1xAtgXTWTZNSvLLsTRK+9QKaQmjkVfumpaktA44gMxEQxEI0lKr+yxVed
yWE9aBR7Kaw1ojzI6w9QDcEFpzE5tf63OwoEywk2MXMqY0GwGurW69gVs3nqpq3/
DG8wjqlf8FFdP8zgb7XfwyAyLlwZF1gOTxPVnzQt+4IsA3b91lwZUJGelWB7ywG7
CrTTA7OHZi8W3vVhZx1uL2WkiMAiLBAS3pRH9p1ADTbvHTtPpt7Z7pnJGnMRoelL
ybfRbzTwSWJj88cItbpMfStkeNiltsk70wELJPHzMwZ4cG1RFuvDejK4cgHuFwuI
tZ+xsZDeFl3LxUy0/u+1kroGeQMH+8eHTGuyYPu3No7ISd/LzFE9mbRhCwEfZPdc
p9oiLuj1zOLZtLOeYKOU0Yp301qnq7RVEqyY5VZk678pOYXp5yZiTFKvLQsNkWku
F4gASukZ+6AQw0vaymyjxQFh6EhopwTphdU5pK6QWLyc1CUwNquMLDovHUbWKS3U
GMnWd+zDDbI5s7s7KmyoHqtWSTmepn9PoA57Cj4yLVlFbcgFaeTB0I14V1O1XkxH
1FCiPQ6AOUn2Q0SV0hUY
=qATF
-----END PGP SIGNATURE-----

Attachment: 208007.ps
Description: PostScript document

Attachment: 208007.ps.sig
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]