Generate documents with qr codes from template – 3 quick tips for each type

In this article, we’ll review a few examples of how you can boost your business processes with Plumsail document generation that supports dynamic QR codes.

QR (stands for “Quick Response”) codes are codes that people can scan with their smartphones to get quick access to something – whatever it be – sign up form, document, location, and so on. QR codes in documents can accelerate communication, logistics, marketing, and other business processes at every stage.

URL QR code in document templates

URL QR codes are the most popular as they can lead to any source. These are just a few common examples:

  • Your company site

  • Sign up form for your product

  • Payment form

  • URL for downloading an app

  • Any document stored in the cloud – contactless menus at restaurants; COVID-19 test results, and more.

The pandemic has made QR codes an integral component of life.

Let us say, there is a medical laboratory that offers various tests to patients. When test data is ready, the laboratory test report is generated and stored. And it should contain a QR code to make the document available for checking online.

Below are my simple laboratory test report template and the resulting document with the QR code leading to the same document available online.

To get a QR code in the output document, I used a special formatter that lets the templating engine know that I’d like to get a QR code.

qrcode(size) is a formatter for qr codes. For more information, check the documentation on formatters.

Template

Result

Download template document
word document template with dynamic qr code
Download result document
completed pdf document with qr code

Hint

You can pull data from your system using Power Automate Flow or Zapier, then pass data to populate the document and get the completed document with the QR code generated dynamically. Check out the integrations of Plumsail Documents.

Phone number QR code in document templates

It’s possible to create a document from a template with phone number QR codes in the output document. For that, you need to insert a token with the qrcode(size) formatter as in the previous example.

The difference is in the data you pass. For a telephone number QR code, value data should be in such format: tel:+1-234-555-6677.

Below are a business card template and the resulting document after merging data.

Template

Result

Download template document
word document template with phine number qr code
Download result document
completed pdf document with phone number qr code

When someone scans the generated QR code, they will be offered to choose to call, send a text message, or save the contact.

Geolocation QR code in document template

Another good option for QR codes in documents is geolocation. As in the previous examples, you indicate that you’d like to get a QR code in the generated document by putting the qrcode(size) formatter.

The data you’ll pass to document template should be in this format geo:40.74018922726678,-74.00869124083648.

Use it in documents that are required to include location coordinates. Below is a simple example you can include in your own documents.

Template

Result

Download template document
word document template with geo location qr code
Download result document
completed pdf document with geo location qr code

Sign up for Plumsail Documents

If you’re new to Plumsail Documents, sign up for a 30-day free trial to start your way to document automation.

If you need any help, write us at support@plumsail.com