CPI

Top  Previous  Next

Syntax

 

cpi characters-per-inch

 

Description

 

The cpi keyword indicates what pitch UnForm should use when printing the text of a form or report.  From this, along with the paper dimensions, UnForm can determine the columns per page and ensure that the proper pitch is selected.  As UnForm uses cpi to calculate a cols value, cpi values are rounded to allow even character spaces.  It is advisable to use cols rather than cpi.

 

See also lpi, cols, rows.

 

Examples:

 

cpi 16.66 will set the character spacing to a common "compressed" character pitch.

 

Drivers: pcl, pdf, ps, zebra