Skip to main content
Skip table of contents

Overview over PDFlib parameters

A complete list of all supported parameters can be found in the menu: Web Printing - Personalization – Personalize Templates – Add New (or open existing) – Upload PDF. In most OTP-products, users can rotate, move and resize the frames, the value of the variables „Movable“, „Resizable“ and „Rotatable“ would be “1“ here. You can find all other variables listed in the box below, further explanations are provided in the annex.

PDFLIB-VARIABLES

This is a list of the current user defined PDFlib-variables, including descriptions.

AfterInputField* – displays a certain information after an input field (value is text which shall be displayed)

BackgroundBlock** – This block has to be of the “image“-type and has to cover the whole template (value “1“ for yes). If this property is enabled, the customer can upload a background image for the layout in the OTP editor via the menu item background.

BeforeInputField* – displays a certain information in front of an input field (value is text which shall be displayed)

Circle – Change current block shape to a circle. Also, the block must be a square. (value “1“ for yes and value “0“ for no)

ConcatAfter* – puts the content of this block in the output behind the content of the target block (Value is the name of the block, into which the content is to be entered)

ConcatBefore* – puts the content of this block in the output before the content of the target block (Value is the name of the block, into which the content is to be entered)

Copy – copy content from another block (value is the block name)

Depend* – interrelates the view of one block content with that of another (value is name of the block, on which the view depends)

Editable** – displays a block, but you can make it non-editable (value “0“ for no)

FormatRule*** – use PHP-function for formatting (content is PHP-function, example: return str_replace(‚ ‚, ‚‘, $value);)

Freeze* – assigns a fixed position to the current block (Value is the name of the block)

Group* – groups input fields visually and gives them a heading/capture (value is group name)

HideLineDown* – moves down all blocks above another block by the height of the current block, if this current block is empty (value “1“ for yes)

HideLineDownTarget* – addresses certain blocks with the “HideLineDown“ an (value are the names of the blocks you want to move down, separated by comma) (Example: Block_1,Block_4,Block_7)

HideLineUp* – moves up all blocks following another block by the height of the current block, if this current block is empty (value “1“ for yes)

HideLineUpTarget* – addresses certain blocks with the “HideLineUp“ (values are the block names of the blocks which have been moved up, separated by comma) (Example: Block_1,Block_4,Block_7)

IsTable** – turns a block into a table (value “1“ for yes)

MaxLength* – maximum number of characters (value is a number)

Movable** – makes blocks movable (value “1“ for yes)

Prefix* – serves to display a text before the text entered into the input field (value is text which shall be displayed)

QR* – creates a QR-code (block type has to be “Image“, Value “1“ for yes)

QRColor* – RGB color of QR image. It uses hex color codes but without using the „#“ before the code, e.g .Color=787432

QRCorrection* – allows the correction of the QR image (How redundant is the information in the QR code). Possible correction levels: L/M/Q/H, where L indicates the lowest value and H the highest value.

QRSource* – assigns contents from other blocks to a QR-code (value are names of blocks, which shall be displayed, separated by comma) Required* – define block as required field (value “1“ for yes)

Resizable** – allows resizing of a block (value “1“ for yes)

Rotatable** – makes a block rotatable (value “1“ for yes) SelectBox* – turns a text field into a SelectBox (value is Option1||Option2||Option3 – the lines “||“ separate these options from each other)

Suffix* – serves to display a text after the text entered into the input field (value is text which shall be displayed)

ValidationRule* – enter PHP-function to verify input (content is PHP-function, example: return (strpos($value, ‚.com‘) !== false);)

Value*** – assigns a fixed value to a block (value is text which shall be displayed)

Visible* – input field for display block (value “0“ for no)

* these variables are only applicable for the form editor

** these variables are only applicable for the OTP editor

*** these variables are applicable for the OTP editor as well as for the form editor

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.