PDF417 using jquery and javascript

1,631 views
Skip to first unread message

Ariel Obejero

unread,
Mar 15, 2017, 11:57:27 AM3/15/17
to zxing
How to decode one PDF file content multiple page with pdf417 barcode in every page. Using jquery or javascript?

Bas Vijfwinkel

unread,
Mar 15, 2017, 11:08:15 PM3/15/17
to zxing
On Thursday, March 16, 2017 at 12:57:27 AM UTC+9, Ariel Obejero wrote:
> How to decode one PDF file content multiple page with pdf417 barcode in every page. Using jquery or javascript?

There is no javascript implementation of ZXing at the moment (Correct me if I'm wrong).
But you can use ZXing as a webservice if you have the images of the PDF417 barcodes.
It's called scanning via intent : https://github.com/zxing/zxing/wiki/Scanning-Via-Intent
Send the seperate images to a the zxing server and get back the results.

How to get images from PDF files is a whole other issue.
But there is a javascript PDF reader available so you might be able to use that to get images out of PDF files :
https://github.com/mozilla/pdf.js/

zxingnet

unread,
Mar 17, 2017, 3:45:31 AM3/17/17
to zxing
On Wednesday, March 15, 2017 at 4:57:27 PM UTC+1, Ariel Obejero wrote:
> How to decode one PDF file content multiple page with pdf417 barcode in every page. Using jquery or javascript?

There are some js ports of zxing at GitHub.
One of them should support PDF417. Perhaps there are more of them.
https://github.com/PeculiarVentures/js-zxing-pdf417
But I didn't try it.

Reply all
Reply to author
Forward
0 new messages