734
*BITMAP*
Virtual Bitmap
Format
OPEN (chan)"*BITMAP*"[;options]
Where:
chan
Channel or logical file number; e.g., OPEN (1)"*BITMAP*"
The following options are supported in the *BITMAP* syntax:
options
DPI=nnn Image resolution in dots per inch. The value given must be
greater than 0. If not specified, the default is 120.
LENGTH=nnn.nn Image height in inches (to 2 decimal places). If not
specified, the default is 11.
FORCE6X10=YES | NO Automatically adjusts the column width to
60% of the line height defined in font size specifications. This setting
solves some minor alignment issues when printing proportional fonts
to a graphical print device.
MARGINS=left:top:right:bottom Defines margins. Refer to the
ORIENTATION={LANDSCAPE | PORTRAIT} Swaps the width and
length (rotates the image). If not specified, the default is PORTRAIT.
WIDTH=nnn.nn Image width in inches (to 2 decimal places). If not
specified, the default is 8.5.
*BITMAP*
Keyword, not case-sensitive. Special interface, enclosed in quotation
marks within OPEN directive. (Include asterisks in syntax.)
Description
*BITMAP* is a logical filename that can be used to capture graphical output ( 24-bit
colour bitmap image) in memory. *BITMAP* can be opened and sent output, in
much the same way as the *WINPRT* print interface. Once an image is generated in
*BITMAP*, it can then be sent to either the screen or printer via the 'PICTURE'
mnemonic. It could also be saved to a bitmap file (.bmp) via the SAVE FILE directive.
Warning: 24-bit colour at high DPI (resolution) can use very large amounts of memory.
If there are insufficient operating system resources available, the result will be an
Error #15: Operating system command failed.
See Also
Logical Printers, User's Guide
Examples
To display a generated image using the 'PICTURE' mnemonic, specify the channel
number associated with the *BITMAP* file preceded by a '#'.