Export interface

Navigation:  External interfaces >

Export interface

Previous pageReturn to chapter overviewNext page

 

vpxPrint can export all or a single page to a graphic file.  This function can be called from within your application or from the preview window.

The large variety of available formats : TIF, JPG, WMF, EMF, TGA, BMP, PNG, AFI, VST, PCX, PCC, DCX.

In TIF format, export is multi-pages.

 

You can choose the TIF compression format with the <TIF> tag:

<TIF>

<TIF=compression format>

COMPRESSION FORMAT:

GROUP3_1D

GROUP3_2D

JPEG

PACKBITS

ZLIB

 

·                    default….. GROUP4

 

To be compatible with CCITT FAX compression level 4, you must specify a black and white (BW) parameter. See below.

The JPEG allows the storing of true color images.

When exporting in TIF format and BW colors, the resulting file can be sent over a large variety of FAX interfaces.

 

syntax :            

 

<EXPORT>

<EXPORT=filename[,color] [,WIDTH=nnn]>

Color:

·        BW                  Black and white

·        GRAY16          16 levels of gray

·        GRAY256        256 levels of gray

·        COLOR16        16 colors

·        COLOR256      256 colors

·                    default….. 65000 colors

 

WIDTH=nnn is used to define the size of the export image in pixels.

Filename must include a valid file extension as described above.

 

Examples : <EXPORT=myFile.tif,BW > <EXPORT=c:\temp\invoice.EMF,GRAY256>        

 

 

Technical notes:

- When exporting to a file, except with the TIF format, graphical images store only one page.

- If the file format is different from TIF, vpxPrint adds a counter at the end of file name.

         <EXPORT=file.jpg>

                         Generates file0001.jpg, file0002.jpg, file0003.jpg…

         <EXPORT=file.tif,BW>

                         Generates a unique file.tif.

 

- Due to limits in image formats, some combinations are not valid. For example jpg files must be saved with true colors.