Commonly-Used System Variables

The following table lists system variables commonly used to create barcodes.
System Variable Description
%%CARRIER The carrier route.
%%DOCUMENT_NO The overall document number, regardless of which output contains the document.
%%L_PAGE_NO The page number of the current logical page.
%%L_TOTAL_PAGES The total number of logical pages in the document.
%%PAGE_NO The logical front page number of the current page in the document.
%%POSTNET

%%COMP_POSTNET

%%3800_POSTNET

Information to place in the POSTNET™ barcode.

Typically, %%POSTNET is used. However, if you have an IBM 3800 Model 1 printer, use %%3800_POSTNET or (if the printer is in Compatibility mode) %%COMP_POSTNET. Use %%POSTNET if you use an IBM Model 3800 printer in full AFP mode.

%%SECSEG The sector and segment that comprise the last four characters of a ZIP + 4®.
%%SEQUENCE_NO The sequence number for each document in the file or files identified in an Output tag group.
%%TOTAL_PAGES The total number of logical front pages in the document.
%%ZIPCODE Ten characters that indicate the ZIP + 4®.