Skip to content

Latest commit

 

History

History

README.md

WebViewer Barcode

WebViewer is a powerful JavaScript-based PDF Library that is part of the Apryse SDK. It provides a slick out-of-the-box responsive UI that enables you to view, annotate and manipulate PDFs and other document types inside any web project.

This sample demonstrates a PoC for generating barcodes, stamping them onto a PDF and then reading them after they have been flattened onto the document. Watch the demo here or read the blog here.

Get your trial key

A license key is required to run WebViewer. You can obtain a trial key in our get started guides, or by signing-up on our developer portal.

Install

npm install

Run

npm start

Note: If you get ERR_OSSL_EVP_UNSUPPORTED when trying the run the sample, try setting the environment variable NODE_OPTIONS to --openssl-legacy-provider before the start command. In Windows, this is done by changing the following line in package.json:

"start": "react-scripts start"

to become:

"start": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start"

Barcode Libraries

This app features jsbarcode for generation and javascript-barcode-reader for reading of the 2D barcodes and jsqr for generation and qrcode for reading of the QR codes.

API documentation

See API documentation