Settings: Image/Metafile printing Tab

Click on the image tabs below to read information about other different configuration options.

 

All the following options are written under the [OPTIONS] section in the HTMLPrint initialization file.
Some of the settings can have only two possible values: 0 (OFF) or 1 (ON).
When a value is shown for any option (in the first column below), it is the default value.
The options can be set either through the above settings window, or by writing directly in the initialization file the corresponding values.

 

Bitmaps, JPEGs and Metafiles Printing options (Metafiles only are saved correctly under Windows 2000/XP/2003/Vista/7)

PRINTSPECIAL=0

APPENDPATH=0

If PRINTSPECIALn=0, the HTML Document will print normally, if =1 Bitmaps will be generated, if =2, JPEGs will be saved and if =3 metafiles will be generated.

PRINTSPECIAL is set by selecting any of the Radio Buttons, the top one (Print to the Printer normally) has 0 value, the following Radio Button (Generate Bitmaps) has 1 value, JPEgs has 2 and Metafile has 3 value.

If APPENDPATH is ON (when Append path from filenames to directory name is checked), the file name original path will be appended to the directory where the images or metafiles are saved.

Example: If APPENDPATH is ON and the file is  c:\myfiles\dir1\retro.htm, the directory to be created will be named cmyfilesdir1retro.htm.

METAFILESDIRECTORY=

METAFILESPIXELWIDTH=

When printing metafiles you'll get your printout as a collection of metafiles that you can view, store, modify, and print with other applications, without producing piles of scribbling-paper. After creating the metafiles you can use HTMLPrint or any application supporting them to view the metafiles.

A directory with the same name than the file being printed will created inside the METAFILESDIRECTORY, there metafiles will be generated for each document page and named page_1.wmf, page_2.wmf and so on.

If METAFILESDIRECTORY doesn't exists it will be created, but if it is not specified, HTMLPRINT directory will be used instead.

If a subdirectory with the name of the file being printed already exists, a number will be appended to the directory name to avoid overwriting the files in the existing directory.

METAFILESPIXELWIDTH sets the metafiles width in pixels, by default it is set to a value a bit smaller than the screen width.

 

IMAGESDIRECTORY=

IMAGESWIDTH=1000

IMAGESHEIGHT=4000

SPLIT=1

AUTOSCALE=0

JPEQQUALITY=70

When printing images you'll get your printout as a collection of BMPs or JPEGs files that you can view, store, modify, and print with other applications, without producing piles of scribbling-paper.

A directory with the same name than the file being printed will created inside the IMAGESDIRECTORY, there images will be generated for each document page and named image_1, image_2 and so on. The file extension will be wither .BMP or .JPG, depending on your selection.

If IMAGESDIRECTORY doesn't exists it will be created, but if it is not specified, HTMLPRINT directory will be used instead.

If a subdirectory with the name of the file being printed already exists, a number will be appended to the directory name to avoid overwriting the files in the existing directory.

IMAGESWIDTH sets the width to which the HTML is to be formatted.  Text would typically wrap at this width; if the document contents can't be successfully wrapped to the specified width, it will be increased automatically.

if split is on IMAGESHEIGHT sets the images splitting height, with a limit of 4000 pixels.

Depending on the HTML Document height, several images may be generated, or one single image will be enough. Different from metafiles generation, the images do not correspond to printing pages in the HTML document, but the document is split based only the IMAGESHEIGHT value.

If split (Split images instead reducing them) is OFF IMAGESHEIGHT sets the scale (in percent). If after scaling the document, it still doesn't fit in 4000 pixels the image will include only the first part of the document.

On the contrary, if autoscale (Automatic scale adjustment)is ON the scaling will be automatically adjusted, so the documents will be reduced as needed to fit them in 4000 pixels.

JPEQQuality sets the level of the JPEG compression, and so the quality of the generated images.