Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: nested tables removal and color scheme update for tables

...

The LPV11 (being a CHAPI component) provides the following configuration parameters, to be specified using the "set" command:

address

Parameteraddress
TypeNumeric
Value

Specifies the CSR address.

This address must be a valid QBUS 22-bit address in an I/O space.

The initial value is 017777514, which is the factory setting for an LPV11.

vector

Parametervector
TypeNumeric
Value

Specifies the interrupt vector.

The initial value is 0200, which is the factory setting for an LPV11.

...

Div
classpagebreak


parameters

  • "\\.\LPT<N>"
Host
  • corresponds to the host port to connect to a physical printer
  • "port"
TCP
  • corresponds to the TCP/IP port to connect to an external application
  • "application"
An application
  • corresponds to the application to run after opening the port.
  • Note: the name of the application including its own parameters must be framed within ‘ characters (apostrophe).
  • -port
The TCP
  • corresponds to the TCP/IP port the HOSTprint utility will connect to.
  • -fontsize
The font
  • corresponds to the font size to be used for printing.
  • -font
The font
  • corresponds to the font to be used for printing. The font name must be framed with \ (backslash) symbols.
Parameterparameters
TypeText String
Value

Specifies the name of the file in which the LPV11 prints the text, the name of a physical printer or a TCPIP port to connect to an external utility, like HOSTPrint, (along with some additional parameters):

ParametersDescription


It’s possible to load as many LPV11 devices as you wish and the system running on the emulated VAX/PDP-11 allows this to be done. To load LPV11 devices use the standard QBUS parameters: "address" and "vector" to select the correct place on the QBUS.

The following example demonstrates how to load 2 instances of LPV11, mapped to 2 host system LPT ports:

...

load chapi lpv1 address = 017777514 vector = 0200
set lpv1 dll = lpv11.dll parameters = "\\.\LPT1"
load chapi lpv2 address = 017764004 vector = 0170
set lpv2 dll = lpv11.dll parameters = "\\.\LPT2"




Note

The printers connected to the host must understand output of the LPV11 driver on the emulated VAX/PDP-11. Use printers that work with the VAX/PDP-11 hardware.

...


Div
classsmall

load chapi lpv1 address = 017777514 vector = 0200
set lpv1 dll = lpv11.dll parameters="port = 10004 application='HOSTPrint -port=10004 -fontsize=12 -font=\Courier New\'"


...