The @printFloatingArea complex property
defines the floating area used for printable output. For an overview
of floating areas, see Introduction to Form parts.
You include one or more @printFloatingArea properties
within the @printFloatingAreas (note the
plural) property; for more information see @printFloatingAreas.
The
@printFloatingArea property includes
the following property fields:
- pageSize
- Number of rows and columns in the printable presentation area,
including any lines or columns used as margins. The following example
has 10 rows and 80 columns:
pageSize = [10, 80]
- This property field is required.
- deviceType
- Specifies whether the floating-area declaration is for a printer
that supports single-byte output (as is the default) or double-byte
output. The following values are available:
- singleByte
- Use this option if you are printing CHAR type data. This is the
default.
- doubleByte
- Use this option for all other character types, including STRING,
UNICODE, and MBCHAR.
- topMargin
- Number of lines before the start of the floating area. The default
is 0. You can use the top margin to print a fixed form such as a
heading.
- bottomMargin
- Number of lines after the end of the floating area. The default
is 0. You can use the bottom margin to print a fixed form such as
a trailer.
- leftMargin
- Number of columns left blank at the left of the floating area.
The default is 0.
- rightMargin
- Number of columns left blank at the right of the floating area.
The default is 0.