QR Code v1
QR Code QR Code v1
This template generates a QR code with a text caption.
Info
Information to call the QR Code v1
API End Point:
https://api.advicement.io/v1/templates/pub-qr-code-v1/compile
Authentication:
Use your API Security Token (which is generated in your dashboard) in the Adv-Security-Token header parameter
Refer to our authentication guide for more information.
Uses Luatex:
FALSE
Uses Charts:
FALSE
Available On:

JSON to PDF QR Code Template

A JSON to PDF template that creates a QR code and caption PDF is a tool that allows users to generate a custom PDF documents. With this template, users can define the layout and content of the PDF, while the JSON data is used to populate the QR code and caption with specific values and variables.

Use Cases for QR Codes

One use case for this template would be in creating marketing materials, such as flyers or brochures, that include a QR code for customers to scan. The QR code could lead to a website, social media page, or other online resource related to the product or service being promoted. The caption could provide a brief description of the QR code's content or offer additional information.

Another potential use case would be in creating conference materials, such as event schedules or attendee badges, that include QR codes. The QR code could be used to quickly scan attendees' information and facilitate check-in or networking. The caption could consist of the attendee's name, company, or other relevant details.

A JSON to PDF template for QR codes and captions could also be used for educational materials, such as textbooks or handouts. The QR code could link to additional resources or multimedia content, such as videos or interactive quizzes, to enhance the learning experience. The caption could provide a brief summary or explanation of the linked content.

Key Takeaways

Overall, a JSON to PDF template for creating QR codes and captions can be a versatile tool for enhancing marketing materials, conference materials, or educational materials. By automating the QR code and caption generation process, it can save time and resources while providing a professional-looking and interactive document.

{ "documentSettings": { "pageHEXColour": "FFFFFF", "qrCodeHEXColour": "0049B7", "textHEXColour": "222222", "font": "open sans", "qrCodeHeight": "6cm", "documentHeight": "9cm", "documentWidth": "8cm" }, "documentContent": { "caption": "\\Large SCAN Me", "url": "https://advicement.io/" } }

documentSettings - A JSON object which contains the settings of the template (pageHEXColour, qrCodeHEXColour, textHEXColour, font, qrCodeHeight, documentHeight, documentWidth).

pageHEXColour - An optional string which contains the page colour of the document in HEX. The default value is 'FFFFFF'.

qrCodeHEXColour - An optional string which contains the colour of the QR code in HEX. The default value is '000000'.

textHEXColour - An optional string which the colour of the text in HEX. The default value is '222222'.

font - An optional string which contains the font of the document. Possible options are: 'helvetica', 'avant garde', 'sans serif', 'charter', 'open sans', 'bera', 'venturis', 'raleway', 'overlock', 'roboto', 'spectral', 'clear sans', 'noto sans', 'noto mono', 'josefin', 'bera sans', 'latin modern', 'theano modern', 'droid sans', 'fira sans', 'XCharter', 'bookman', 'gyre bonum', 'gyre schola', 'gyre termes'.

qrCodeHeight - An optional string relating to the height of the QR code (in cm). The default value is '8cm'.

documentHeight - An optional string relating to the height of the document (in cm). The default value is '10cm'.

documentWidth - An optional string relating to the width of the document (in cm). The default value is '10cm'.

documentContent - A JSON object which contains the content of the template (caption, url).

caption - An optional string which contains the text of the caption. It is also allowed to contain LaTeX commands (e.g. '\Large SCAN me')

url - An optional string which contains the url for the QR code. If this field is missing, the QR code will not be created.