User manual

45
load chapi LPA dll=lpv11.dll address=<address> vector=<vec> trace_level=<level>
set LPA host=”<host_name_or_ip>” port=<port_number> application=”<application to
start>” file=”<file_name_to_print>”
Where:
-
host - is a host name or IP addres. If this parameter is omitted, localhost is used as
defualt value;
-
port - is the port number to connect to on the specified host;
-
application – The name of application to start. The LPV11 device starts the
specified application and tries to connect to the specified TCP/IP socket.
-
file The file name to print to. This option replaces the host/port/application triplet.
This option allows to print to a local local file or a LPTn port. The latter allows to
print directly to a physical printer without requiring a Windows driver.
When the CHAPI LPV11 device is used together with HOSTprint, it is configured as
follows:
load chapi LPA dll=lpv11.dll
set LPA host=”localhost” port=10004 application=”HOSTprint -port=10004
printer=[<windows printer name>] -fontsize=10 -font=\Arial Bold\”
This will force LPV11 to start HOSTprint on the local node with port #10004 and connect
to the port created by the HOSTprint tool. In this case, printing to the specified host
system printer will be done directly from the PDP-11/VAX operating system.
In case when printing to the local text file is required, use the following configuration:
load chapi LPA dll=lpv11.dll
set LPA file=”some_text_file.txt”
IWhen a local printer is attached to the port LPTn, the following configuration prints
directly to this printer:
load chapi LPA dll=lpv11.dll
set LPA file=”LPTn:”
5.3