HTMLPrint configuration file

When HTMLPrint is installed, a default configuration file, named HTMLPRINT.INI will be created in HTMLPrint directory (filenames are shown here in all uppercase fashion to distinguish them clearly, but using lower or uppercase has no importance).

The configuration file has a name similar to HTMLPrint, only the file extension is different (.INI instead .EXE). The reason is that HTMLPrint by default uses the configuration file that is named after it, if found in its own directory.

In fact, unless it is configured in other way or renamed, HTMLPrint will always use the configuration file named HTMLPRINT.INI.

Now, if you rename HTMLPRINT.EXE to OTHERNAME.EXE, HTMLPrint will try to load the OTHERNAME.INI configuration file instead HTMLPRINT.INI, so after renaming HTMLPrint, do not forget to rename consequently the configuration file.

Also, since HTMLPrint stores its activation information in the configuration file, it will be deactivated if it doesn't find the default configuration file (no matter if it is configured to use any other file). Since the default configuration file is always saved in HTMLPrint directory, when entering the activation key HTMLPrint should run with Administrator privileges when it is activated (only the first time it runs), otherwise it would not be able to rewrite the configuration file as needed.

 

Besides storing the activation key, the configuration file is used to set all printing options. It can be edited easily using HTMLPrint (use the File > Configuration File > Edit menu) or with any text only editor like Notepad. The file always should be saved as an only text (ASCII) file with .ini file extension.

Although the program usually looks for a configuration file with its same filename (but with .ini file extension) situated in its same directory, it is possible to use other configuration file, passing the filename as the second argument in the command-line.

The .ini file text format is the standard way for Windows applications to store and retrieve application settings. An .ini file stores information in logical groupings, called "sections". Within each section, actual data values are stored in named keys.

Keys take the form:

<keyname>=<value>

Write the key values after the equal sign (=).

Some of the settings can have only two possible values: 0 (OFF) or 1 (ON) but other settings include color or text values or file names.

 

When started without passing any parameters in the command-line, HTMLPrint always tries to load the default configuration file; if it isn't  found, it will be created using default values.

Configuration files can be edited, created, loaded and saved by using the Edit, New, Load and Save as commands, under the File > Configuration file submenu.

When loading, saving or creating new configuration files with Load, Save and New, menu commands, HTMLPrint will ask the user if the new configuration file is going to be the default one. That gives the user the option to set a different configuration file than the default one, this file can be located anywhere and have any name, provided that it keeps a .ini file extension.

The setting that determines which configuration file will be loaded is stored under the current user profile directory if running Windows NT/2000/XP/2003/Vista, therefore different users may have different HTMLPrint settings.

HTMLPrint always shows which configuration file is currently loaded in the status bar on the bottom of the screen.

 

See Overview to know how to pass a non default configuration file in the command-line to HTMLPrint.

Since version 6, configuration files can be also used in Printing Lists to change the configuration settings for groups of files in the printing list.

 

To know about the all available configuration settings please read the description of the tabs where the options are set:

Settings: Options Tab

Settings: Margins Tab

Settings: Footer/Header Tab

Settings: Metafile/Directory Tab

Settings Font Tab