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 wrong output #2

Open
NicosKaralis opened this issue Jun 25, 2012 · 0 comments
Open

PDF417 wrong output #2

NicosKaralis opened this issue Jun 25, 2012 · 0 comments

Comments

@NicosKaralis
Copy link

i have this code in my app:

doc = RGhost::Document.new :paper => [7,7] # 3"x2" label

text = 'Test String'
position = {:x => 0.25, :y => 0.25, :width => 6.5, :height => 6.5}

with this code i can create 3 different 2d barcodes...

QR

doc.barcode_qrcode(text, {:eclevel => 'M'}.merge(position) )

Aztec

doc.barcode_azteccode(text, {:text=>{:size=>8}, :format=>"full"}.merge(position) )

and PDF417

doc.barcode_pdf417(text, {:columns=>2, :rows=>10, :text=>{:size=>10}}.merge(position) )

the problem is, i can't read the PDF417 on my scanners... the barcode that was generated can't be read and if somehow i managed to scan it the string given is not the original one

and also the barcode generated is not in the proportions that i want...

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

1 participant