How to Create a Data Matrix Barcode That Works in Acrobat Reader
Question details
The user needs to generate an interactive Data Matrix barcode within a PDF form that functions correctly when opened by users relying on the free Adobe Acrobat Reader.

- Product
- Adobe Acrobat Reader
- Device & OS
- not provided
- Scenario
- Distributing a dynamic PDF form containing a Data Matrix barcode to an audience using free PDF viewing software.
- Observed behavior
- The Data Matrix barcode generates successfully in the full Acrobat Pro software but fails to render or function in the free Adobe Acrobat Reader due to restrictive permissions.
Verify whether your intended audience will be using Acrobat Pro or strictly the free Acrobat Reader, as this dictates the need for specialized server-side permissions.
Apply Reader Extensions and Implement Custom JavaScript
Utilize Adobe Experience Manager (AEM) to grant advanced usage rights to the PDF and write custom JavaScript to process and render the Data Matrix code.
Standard Acrobat DC does not natively embed the permissions required for free Acrobat Reader users to execute interactive barcode scripts.
To resolve this limitation, the document must be processed through an Adobe Experience Manager server to apply specific 'Reader Extensions'. Additionally, you must develop a custom JavaScript implementation to construct the barcode visually based on form inputs.
Review your licensing requirements and use the Adobe Experience Manager server to process your PDF, unlocking interactive 2D barcode capabilities for free Reader users.
Write or source custom JavaScript tailored to your form that encodes the relevant field data into a Data Matrix format.
Open your PDF form in Acrobat Pro, navigate to the form field properties, and paste your custom JavaScript into the calculation or custom formatting script triggers.
Save the rights-enabled PDF and open it strictly in the free Adobe Acrobat Reader to confirm that the Data Matrix barcode updates dynamically as you input data.

Manage and Fill Standard PDFs Easily with WPS Office
While highly specialized interactive barcodes require enterprise Adobe servers to function in free viewers, WPS Office serves as an excellent, lightweight alternative for your everyday document and standard PDF needs. It provides a robust PDF editor alongside comprehensive Word, Excel, and PowerPoint alternatives—simplifying your daily workflow without expensive subscriptions.
- 1. Download and install: Get WPS Office from the official website and follow the quick installation instructions.
- 2. Open your PDF file: Launch the application, click 'Open', and select your standard PDF document.
- 3. Edit and annotate: Navigate to the 'PDF Edit' tab to easily fill fields, add text, or insert digital signatures.

Frequently Asked Questions
Why does my PDF barcode work in Acrobat Pro but fail in Reader?
Acrobat Pro inherently possesses the rights to execute advanced dynamic scripts. The free Acrobat Reader locks down these features for licensing and security reasons unless the PDF has been explicitly rights-enabled via a specialized server.
Can I use Acrobat DC to enable Reader rights for Data Matrix barcodes?
No. Standard Acrobat DC provides basic Reader Extensions (such as saving form data), but it does not include the advanced permissions required to generate interactive 2D barcodes. This requires Adobe Experience Manager.
Do I need to write code to create a Data Matrix barcode in a PDF?
Yes. Generating a functional, dynamic Data Matrix barcode that responds correctly to specific user form inputs generally requires custom JavaScript to parse the data and render the visual code.




