Header and Footer Templates for Bills of Materials (BOMs)
You can design individual layouts for the heading and foot note section of your BOMs. Different layouts can be specified for the first page, intermediate pages and the last page(s) of a BOM.
These sections may contain:
- Values or fixed texts,
- HiCAD attributes,
- Document master data or article master data,
- Graphics.
Header/footer sections are divided into several rectangular boxes. The output information is then positioned in the appropriate sections. Functions for the specification of boxes, colour representation, and the positioning of information etc. are available. Please note that the syntax of the required programming commands must be respected.
Several templates are already delivered with HiCAD. These files are stored in the subdirectory PRINTDAT of your HiCAD directory. Header template files have the file name extension .KGR, footer template files have the extension .FGR.
You can re-use these files by simply changing the company name and the logo. You can as well create completely new template files. As template files are conventional ASCII files, they can be created and processed with any standard text editor.
Please note that the following guidelines regarding the syntax must be respected:
- Each template file command must be written in one line and end with a semicolon ;
- Comments must begin with the # character.
- Commands must begin with ::
- All specifications for coordinates, height and width must be expressed in mm
- Colour specifications must be expressed in RGB colours.
- Arguments beginning with d are decimal values. Decimal values must be given with a point.
- Arguments beginning with str are strings and must be enclosed in " "
- Arguments beginning with n are either fixed arguments or integers.