Placing barcode or text in the footer or header areas

It often is desirable to place barcode or text in the clear space on the top of the page (header) or on the bottom of the page (footer).   If not enough space is available in the margins, it may be necessary create that space and to scale down the original content to fit.   This scaling operation is similar to what FAX machines do when they add a FAX header to a document.

To accomplish this placement and/or scaling, the  header and footer placement parameters are provided for both barcode and text commands.   

 

To place a barcode with the document file name, current page and page count in the bottom right of the footer area

barcode target=footer:br, "${file.$name}${page}${pages}"

 

To put the file path in the top center of the header and the total page count in the top right of header

text target=header:tc, "${file.$path}

text target=header:tr, "Page ${page} of ${pages}"