Create WEB Pages from DP4 - E4000021 - 29 September 2000 (updated 08 Jan 2001)

 

This enhancement incorporates modifications to three programs, allowing you to create web pages directly from DP4 programs. In each case the web pages require Internet Explorer 5 or later to display correctly, (though pages will almost work with IE4 and the Opera browser). Netscape is not supported, not even Netscape 6. The pages should work with any browser that supports full CSS1 and CSS2 positioning, but IE5+ is the only browser to do this reliably.

Because of the considerable difficulty entailed in translating DP4 maps into HTML, the exact appearance of the DP4 screen may not be reproduced in the web pages, though the differences will usually be fairly minor.

Web Page Screen Capture

trmw32.dll supports capturing the screen by pressing Ctrl+Shift+6 or whatever key is programmed in DFSETUP to be the "screen dump" key. In previous versions only a simple text format was supported. With this terminal manager you can choose to generate a web page instead. To enable this enhancement set ScreenDumpStyle=2 in the [trmw] section of datafit.ini.

If this option is enabled screen shots are saved to files called DP4SCREENnnnnn.htm and DP4SCREENnnnnn.css, where nnnnn starts from 00000 each time a program is run, and is incremented by 1 for each screen shot that is saved. Files are saved in the DFSETUP PRN directory by default.

Limitations

Header and VCR controls are omitted. Bitmaps are omitted. "Standard icons" are emitted as <img> tags using hard coded names, where the name is always in an "images" directory and the name is one of the .gif files included with the download. Other icons are emitted as "images/custom.gif".

DFPRINT

DFPRINT has a new option, to save output in HTML format. The user can either save the output in one large HTML file, or each page can be saved to a separate HTML file. In the latter case _NN is added to the base filename to generate each page. Output is saved in .htm and .css files, in the DFSETUP PRN directory by default.

Limitations

Header and VCR controls are omitted. "Standard" icons are emitted in the same way as for screen shots. Custom icon and bitmap names are emitted as <img> tags with a name that is always a .gif file in the "images" directory, and the name is the same as the "base" name of the bitmap or icon, i.e. the file name minus any file extension and path information.

MAPMAKE

MAPMAKE has a new print format option: HTML format - available only for printing single maps. When this is selected the printout consists of an HTML page containing a form which mimics the appearance and behaviour of the DP4 map.

DP4 Version Compatibility

4.617 provided new maps are posted to system database.

Beta software is supplied without warranty and should not be used in live sites without the agreement of Itim Technology Solutions. Compatibility with an eventual final release cannot be guaranteed.

Downloads

Beta 4.618 Web Format print support

These enhancements can be installed separately if desired - i.e. they are not dependent on each other. You need to update the system database by posting the appropriate map file when installing the DFPRINT or MAPMAKE enhancements. The .gif files should be installed in a sub-directory called images of the directory used for prn files. N.B. We are aware of a problem with the trmw32.dll enhancement. This will be fixed as soon as possible. DFPRINT has been updated to fix a problem with an incorrect file name being used for the stylesheet.

Currently the MAPMAKE enhancement is not included in the download. It will be included in a further download as soon as possible.