|
BarcodeIn PReS Connect Designer, you can add a variety of barcodes to your template. The supported Barcode types include 1d barcodes (the striped ones) and 2d barcodes (encoded horizontally and vertically). Adding a BarcodeWhen generating Print output, you can add extra barcodes and OMR marks. The reason why you would do this, is that at merge time more information is available about the actual output document. The page count, for example, is not available at design time.
To add barcodes and OMR marks on the fly when generating Print output, select File > Print and check the option Add additional content (see Additional Content) in the Print Wizard. To have this done automatically, save this and other output options in an Output Creation Preset: select File > Print presets > Output Creation Settings (see Output Creation Settings) Before adding a Barcode, load data or at least a Data Model; see Loading data. You will need the field names when adding the Barcode. Then, to add a Barcode to a section, Master Page or snippet:
* If the current element is located inside another element, use the Elements drop-down to select which element is used for the insertion location. The list displays every element in the breadcrumbs, from the current selection point until the root of the body. In the template the barcode shows up as a gray box. The associated barcode script is added to the Scripts pane. To see the barcode script working, toggle to the Preview tab in the Workspace. A barcode is always added with the barcode type's default properties and dimensions, but they can easily be changed; see Barcode type and properties. Changing a barcodeBarcode scriptThe barcode script determines which value is fed to the barcode generator. Double-click the script on the Scripts pane to change which field or fields are added to the barcode value. When you select more than one field, the script puts the values of the selected fields in one string and passes that to the barcode generator. If you don't know which script matches the barcode, click the box that contains the barcode and check the ID of that box on the Attributes pane. Then take a look at the Scripts pane: the selector of the associated script is the same as the ID of the barcode box.
Barcode type and propertiesA barcode is always added with the barcode type's default properties and dimensions. To change the barcode type or the barcode's properties such as the scale and color, open the Barcode properties dialog: right-click the barcode (on the Design tab in the Workspace) and select Barcode on the shortcut menu. The barcode properties set via the properties dialog are written to the Click the barcode type below for information about its properties. |
|