The first time HTMLPrint runs it creates a configuration file named HTMLPrint.ini, in its own directory (tipically c:\Program Files (x86)\bersoft\HTMLPrint\).
That file is used to configure printing options. It can be edited using
HTMLPrint (menu File -> Printing Setup)
or any text editor like Notepad and it should be saved as an only text
(ASCII) file.
Although the program usually looks for the configuration file named HTMLPrint.ini, placed in its own directory, it is possible to use other configuration file, by passing the filename as the second argument in the command-line.
Example:
htmlprint.exe file:///C:/temp/myfile.html
C:/temp/conf1.ini
If any filename passed in the command line have spaces, it always should be enclosed in double quotes. Example:
htmlprint.exe "file:///C:/temp/images of the beach.html" "c:/conf files/configuration.ini"
If HTMLPrint is configured to work in Directory Monitor mode,
pass a dummy file name as first parameters, in case you need to pass a
configuration file as second parameter.
The file passed as first parameter will not be used at all in such case.
See
The Command Line for more information about
how to pass commands and filenames in the command line.
The .ini files used by HTMLPrint stores information in named keys.
Keys take the form:
<keyname>=<value>
Write the key values after the equal sign (=).
Some of the key values can have only two possible values: 0 (OFF) or 1 (ON) but others have different texts.
When started without passing any parameters in the command-line, HTMLPrint always tries to load the default configuration file.
Configuration files can be loaded and saved by using the File > Load Configuration file and File > Save Configuration file as menu items.
HTMLPrint always shows which configuration file is currently loaded in the status bar on the bottom of the screen.
In case you rename the "htmlprint.exe" file, also rename the .ini file accordingly (using the same filename, but with .ini file extension instead .exe).
To know about the all available configuration settings please read the description of the tabs where the options are set: