The coordinate system
The coordinate system defines a grid of fixed units of rows and cols. This grid is independent of printer resolution.
With proportional fonts, each character has its own size. So you can't use spaces to align the characters… as with non proportional fonts where all characters have the same size.
If you use proportional fonts in a report with columns, you must set each column with a <C> tag.
(If the default font is Arial for example, the text of the report is not aligned without a relative-to-grid reference) because of the different characters width.
vpxPrint uses to a grid to position the objects with <R> or <C>.(row and column).
<R> or <C> tags allows decimal values.
Each line feed increases the vertical position by 1/6" (or value of <CPI> tag)
The order of the object are created defines their order Z-Order, first objects are in the background
An object erases the content of the page (except transparent images or non-filled rectangles).
If your report needs a background image or a particular drawing, you must put the corresponding sequences before other outputs.
vpxPrint uses a coordinate system based on number of characters per inch (CPI) and number of lines per inch (LPI).
The CPI defines the space between columns (number of characters per inch) in the page while the LPI (number of lines per inch) defines the interval between lines in the report.
Change the grid are done with with <CPI> or <LPI> tags.
The default values are: CPI = 10, LPI = 6, Font = Courier New, Pitch = 12
The page:
