*HTML* |
Print to HTML |
OPEN (chan)"*HTML*"[;options]
chan |
Channel or logical file number (e.g. open (1)"*html*"). | ||||||||||||
options |
The following options are supported either following the *HTML* filename or via OPT= on the OPEN:
| ||||||||||||
Keyword, not case sensitive. Special interface, enclosed in quotation marks within OPEN directive. (Include * asterisks in syntax) |
*HTML* is a logical print file that can be used with PxPlus. It allows for printed reports using normal fixed fonts to be formatted for use with an HTML viewer such as a browser. The system will prompt for an output filename to store the resulting HTML document.
These examples create an HTML file called Sample.htm with the title "Sample". Courier New font is used with a white background and black text. The SHOW option causes the default browser to be invoked to display the file:
open (1,opt="FILE=Sample.htm;SHOW;FONT=Courier New;TITLE=Sample;BACK=FFFFFF;TEXT=000000")"*HTML*"
open (1)"*HTML*;FILE=Sample.htm;SHOW;FONT=Courier New;TITLE=Sample;BACK=FFFFFF;TEXT=000000"