Configuring Barcodes
Quik! supports the ability to include two types of barcodes on a form:
Font-based barcodes
Calculated barcodes
In either case, the Quik! forms team will add a special barcode-enabled field to your form, and you will send a value to that field. The barcode will appear when the PDF version of the form is generated. As with other Quik! fields, there are three ways to populate a barcode on a form:
 XML/web service (FormField)
Adding a field object
Calling the AddFieldToForm method
Other Notes
Quik! only places barcodes on a customer's proprietary forms (NOT third party forms)
Font-based barcode fields can be rotated any orientation on a form (e.g. rotated 90 degrees to be vertically placed on a form). 2D barcodes cannot be rotated. Let Quik! know if you would like font-based barcode fields rotated in any way.
Font-Based Barcode
Simple barcodes that can be rendered through a font can be implemented during the PDF print process. Barcode symbology examples include PDF 39, Code 128, and SCANDATA C39W. See sample code and screenshot below for how a font-based barcode can look inside of a form.
REST
{
"HostFormOnQuik":true,
"FormFields":[
{
"FieldName":"Quik.Barcode",
"FieldValue":"*12345678*",
"FieldVisibility": 2
}
],
"QuikFormID":"46350"
}
Sample Code: XML
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><ParentField><Field><FieldName> Quik.Barcode </FieldName><FieldValue>*12345678*</FieldValue></Field></ParentField>
Sample Code: Adding a Field Object
'Barcodes must be added as a hidden field, per below
                       Dim fldBarCode As New FormField("Quik.Barcode", "*12345678*")
                       fldBarCode.FieldVisibility = False
                       objQFE.AddFieldToForm(fldBarCode)
Â
Sample Code: AddFieldToForm Method
Calculated Barcode
2-D and other complex barcodes that require calculation can be supported by building an external process to create the barcode and insert it into the PDF when printing. Quik! currently supports the PDF 417 barcode. See sample code and screenshot below for how a calculated barcode can look inside of a form.
REST
Â
Sample Code: XML
Sample Code: Adding a Field Object
Sample Code: AddFieldToForm Method
Related pages
For help regarding Quik! Forms and the Quik! API
Email: support@quikforms.com | Phone: (877) 456-QUIK