Special Printing tags


The <PAGE> tag causes printing to end on the current page and a new page started.
It has no effect on the displayed document.
The <PAGE> tag does not work correctly in documents which use CSS absolute positioning.
You can also use Page-break in CSS to do the same thing. See Cascading Style Sheet Support for more information about that.

Include Tags

Include Tags are useful to configure some options for the current page or to insert dynamic content (like the date or page number).


<!--#HEADER file="filename.htm"-->
<!--#FOOTER file="filename.htm"-->

These tags allow printing HTML files as headers or footers. Learn more.


<!--#SET_PRINTER file="Printer Name or number"-->

SET_PRINTER allows defining a different printer for each document, independently of the Printer set in the configuration file.
The "file" attribute points to the Printer Name or Number.

In order to set the printer for an HTML page, the following code should be present within the HTML file:


<!--#set_printer file="Printer name or number"-->


This tag should be located inside the <BODY> tag.

To set the default Windows Printer as the default printer for a page assign an empty string to file. Example:


<!--#set_printer file=""-->


<!--#SET_ORIENTATION file="o"--> where o = P or L

SET_ORIENTATION causes the current document to be printed either in Portrait or Landscape mode, independently of the Orientation set in the configuration file. When printing multiple files at once (if printing lists or directories) the new printer orientation will affect all future documents to be printed, until HTMLPrint is closed or some other setting changes the printer orientation.


SET_PRINTER and SET_ORIENTATION are exclusive, both them should not be used in the same file.



Some special symbols are used to print page numbering and other special options, they are entered as special tags in the HTML code: