This Specification Macro Task will generate an image of a barcode encoded with the required content.
Properties marked with a red asterisk (*) require a value to be entered.
This is identified on the task and is shown in the table below.
All other properties do not require a value for the task to run successfully.
| Property Name | Description |
|---|---|
| Title | Changes the Title (not the name) of the Task. |
| Destination * | The Full File Path and Name of the barcode file to create, including its extension.
The barcode can be saved as any common image type, such as:
|
| Overwrite | TRUE to overwrite the destination file, otherwise FALSE. |
| Image Width (px) | The pixel width of the image to output. |
| Image Height (px) | The pixel height of the image to output. |
| Barcode Contents * | The string to be encoded in the barcode.
Please see Barcode Contents (external link) for information on correctly formatting barcode information for different applications. |
| Barcode Type * | The type of barcode used to generate the image.
Select one from:
Please see Types of Barcodes (external link) for more information. |
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
| Property Name | Example Rule | Example Result | Meaning |
|---|---|---|---|
| Destination | "D:\DriveWorks\Projects\Specifications\Spec 9999\Barcode.png" | D:\DriveWorks\Projects\Specifications\Spec 9999\Barcode.png | This is the location, name and extension of the new file to be created. |
| Overwrite | TRUE | TRUE | TRUE will overwrite the file if it exists FALSE will not. |
| Image Width (px) | 600 | 600 | This will be the new width in pixels of the image that will be created. |
| Image Height (px) | 400 | 400 | This will be the new height in pixels of the image that will be created. |
| Barcode Contents | "https://www.driveworks.co.uk" | https://www.driveworks.co.uk | The content that will be encoded in the barcode. |
| Barcode Type | QR_CODE | QR_CODE | Will generate a QR Code image. |
| Barcode Type | Example Image |
|---|---|
| AZTEC | ![]() |
| CODE_128 | ![]() |
| CODE_39 | ![]() |
| DATA_MATRIX | ![]() |
| PDF_417 | ![]() |
| QR_CODE | ![]() |