Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update for PDF export

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Usage

HOSTPrint calling is specified in the CHARON configuration file. The call implements one or more of the following parameters:

ParameterDescription
-host=<hostname><hostname>Name of the host - source of the printing data.
-port=<connection <connection port number>number>Port on the host to get the information to print from.
-delay=<delay <delay for automatically buffer flush in seconds>seconds>Flushing delay, 0 - wait infinite, 5..10800 - timeout for flush
-printer=[PrinterDeviceName]

Host name for the printer used.

Example 1:

-printer=[\\.\Microsoft Office Document Image Writer]

Example 2:

-printer=[\\print_server\MSCLPS]

-font=<default <default font face>name>Default font name.
-fontsize=<default <default font size> sizeDefault font size.


Div
classpagebreak



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:


Div
classsmall

set COM2 alias = TTA0 port = 10000
set COM2 application = "hostprint.exe -port=10000 -printer=[\\print_server\MSCPS2] -font=\Courier New\ -fontsize=10"



After initialization, HOSTprint creates an icon in the Windows tray. The icon can have two colors:

ColorDescription
Status
colourGreen
titlegreen
IDLE (or Ready) state
Status
colourYellow
titleyellow
BUSY (processing) mode


Anchor
hp_popup
hp_popup
*: (lightbulb) To access the HOSTprint application popup menu, point the mouse cursor at its icon in the system tray menu and click the right button, preview the last page content then change the utility mode via the flush buffer delay or change the default font setting.

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc