...
Include Page | ||||
---|---|---|---|---|
|
Table of Contents
Table of Contents | ||
---|---|---|
|
General Description
The HOSTPrint utility is used to print CHARON output to Windows printers. It receives data from COM2 port of emulated HP Alpha model via a TCP/IP socket and prints the data received on the default Windows printer (if no printer is specified at the utility command line) on the host computer.
Info |
---|
Note that the second console line "TTA0" (COM2) is available only for 1 CPU models such as:
|
Usage
HOSTPrint calling is specified in the CHARON configuration file. The call implement one or more of the following parameters:
Parameter | Description | ||
---|---|---|---|
-host=<hostname> | Name of the host - source of the printing data. | ||
-port=<connection port number> | Port on the host to get the information to print from. | ||
-delay=<delay for automatically buffer flush in seconds> | Flushing delay, 0 - wait infinite, 5..10800 - timeout for flush | ||
-printer=[PrinterDeviceName] | Host name for the printer used. Example 1:
Example 2:
| ||
-font=<default font face> | Default font name. | ||
-fontsize=<default font size> | Default font size. |
Div | ||
---|---|---|
| ||
|
The two last parameters are only used for compatibility with older versions of the utility (HOSTprint allows changing font settings from a popup menu).
Note |
---|
It is strongly recommended to use fixed-size fonts (by default the "Courier" font is used) to avoid any problems relevant to proper calculation of the printing line length. |
Example of CHARON-AXP configuration file for the HOSTPrint usage:
|
After initialization, HOSTprint creates an icon in the Windows tray. The icon can have two colors:
Color | Description | ||||||
---|---|---|---|---|---|---|---|
| IDLE (or Ready) state | ||||||
| BUSY (processing) mode |
Anchor | ||||
---|---|---|---|---|
|