UNITS

Top  Previous  Next

Syntax

 

units dpi | char

 

Description

 

As UnForm parses a rule set, column and row specifications are normally interpreted as decimal column and row numbers that align enhancement elements such as boxes and shade regions with characters in the source data.  If you need to specify absolute dot positions, however, you can change the units to dpi.  From that point in the rule set, until a units char is found, row and column values are interpreted as integer dot positions.  Note that the dpi keyword has a direct impact on dpi units, though no impact on char units.

 

For example, the following will print two text phrases at column 1 inch, row 1.5 inch.

 

units dpi

text 300,450,"Hello, world"

dpi 600

text 600,900,"Over printing hello world"

units char

 

 

Drivers: pcl, ps, PDF