TIFF
Top  Previous  Next


PRINT reportname ARRANGE clause WHERE clause .. ORDER BY clause .. OPTION TIFF

PRINT_OPTION_TIFF

Note: Each additional OPTION parameter must be separated by the pipe | symbol.


OPTION Parameters:

FILENAME specifies the full path and filename. If no path is defined, output will be saved in the current working directory.

SHOW_CANCEL_DIALOG
specifies whether to suppress cancel dialog box during the print process.

Values:
ON (default)  
OFF  

BACKGROUND_COLOR indicates the color to be used as background color of all pages of report.

Values:
AQUA  
BLACK  
BLUE  
CREAM  
DARK GRAY  
FUCHSIA  
GRAY  
GREEN  
LIME  
LIGHT GRAY  
MAROON  
MEDIUM GRAY  
MINT GREEN  
NAVY  
OLIVE  
PURPLE  
RED  
SILVER  
SKY BLUE  
TEAL  
WHITE (default)  
YELLOW  

BACKGROUND_TYPE specifies the way background image has to be displayed in the BMP file.

Values:
TILE  
TOPLEFT  
TOPCENTER  
TOPRIGHT  
CENTERLEFT  
CENTER  
CENTERRIGHT  
BOTTOMLEFT  
BOTTOMCENTER  
BOTTOMRIGHT  

BACKGROUND_FILE stores the image file name that is to be used as background image of all pages of report.

MONOCHROME specifies whether tiff-file produced are color or monochrome images.

Values:
ON  
OFF  

MULTIPAGE specifies the output report to one multi-page file or one file per page.

Values:
   ON  
   OFF  

PIXELFORMAT
specifies the pixel format of the tiff-file (bits/pixel).

Values:
1 : 1bit  
4 : 4bit  
8 : 8bit  
15 : 15bit  
16 : 16bit  
24 : 24bit  
32 : 32bit  

SCALEX double; Scaling factor for the width of the exported page. Use 1 for actual width.

SCALEY double; Scaling factor for the height of the exported page. Use 1 for actual height.

COMPRESSION When an image is loaded, this parameter indicates the compression used by the image. When saving in image, the parameter may be set to specify which compression method to use.

Values:
   NONE  
   PACKBITS  
   GROUP3_1D  
   GROUP3_2D  
   GROUP4  
   ZLIB  
   JPEG  

OPEN
specifies whether the report should be opened after it is generated.

Values:
ON  
   OFF  

EMAIL specifies the report output (defined as FILENAME filename.ext ) to be sent via e-mail as an attachment.

Values:
ON  
OFF  

See additional options when EMAIL value is set to ON. EMAIL SET ON


Example:
   
Example 01 (To print Invoice as TIF file)

PRINT Invoice WHERE TransID = 1068 +
OPTION TIFF +
|
FILENAME Invoice1068.TIF +
|
SHOW_CANCEL_DIALOG OFF +
|
BACKGROUND_COLOR WHITE +
|
MONOCHROME OFF +
|
MULTIPAGE OFF +
|
PIXELFORMAT 32 +
|
SCALEX 1 +
|
SCALE 1 +
|
COMPRESSION NONE +
|
OPEN ON
RETURN


For more examples and templates, please refer to R:Docs (version 2.5 or higher).