Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf417 barcode is not getting scanned #47

Closed
Piyushchandra1987 opened this issue Jun 4, 2015 · 2 comments
Closed

Pdf417 barcode is not getting scanned #47

Piyushchandra1987 opened this issue Jun 4, 2015 · 2 comments

Comments

@Piyushchandra1987
Copy link

I am generating a pdf417 barcode using below code. It is getting generated properly but i am not able to scan it. i am using prawn for generating pdf

barcode = Barby::Pdf417.new("Test Data")
barcode.annotate_pdf(@pdf, {:height => 25.mm, :xdim => 1.2, :x => 8.mm, :y => @pdf.cursor - 25.mm})

@toretore
Copy link
Owner

toretore commented Jun 4, 2015

Going to need more than that.

@toretore toretore closed this as completed Jun 4, 2015
@Piyushchandra1987
Copy link
Author

Hi @toretore

Here is sample program I am using
https://github.com/Piyushchandra1987/Pdf417Barcode/blob/master/BarbyPdf417.rb

you can check generated barcode at https://github.com/Piyushchandra1987/Pdf417Barcode/blob/master/Screen%20Shot%202015-06-04%20at%2014.45.22.png

OS : Mac OS X Yoesmite 10.10.3
Jruby version : jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.8.0_25-b17 +indy [darwin-x86_64]
Java Version: java version "1.8.0_25"

for verifying I am using this site http://www.datasymbol.com/barcode-recognition-sdk/barcode-reader/online-barcode-decoder.html

and Barcode scanners by manatee Works on my android phone (https://play.google.com/store/apps/details?id=com.manateeworks.barcodescanners&hl=en)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants