Setting Up Serial Printers on TCP Ports

The mvBase Telnet server, mvTelnet, features a Serial Printer option which functions in similar fashion to the Serial Printer option in the (COM) Ports dialog box. This option allows the associated Telnet port (TCP Port Number) to be identified as a serial printer connection. The connection does not consume a user license, is restricted to output only, and filters out the end-of-document marker correctly.

This procedure uses the Administration Utility to map a MultiValue printer connecting via a TCP (Telnet) port to an mvBase line. The serial printer connects to an mvBase line as a Telnet client connection.

This configuration is for a MultiValue serial printer and does not require previous Windows configuration. Note that this configuration sets up the printer to operate in raw mode automatically.

  1. Physically connect the printer to the serial port. Before you connect a serial printer to the mvBase system, you need this information about the printer:

  2. Choose and implement a method for handshaking. There are three options for handshaking. Details are documented in Configuring and Using mvBase Printers.

  3. Using the PROTOCOL command, define the communications protocols for that printer connection.

  4. Launch or switch to the Administration Utility.

  5. Select the Workstation tab.

  6. Select Configure. The Configuring Workstation dialog box displays.

  7. Select the Telnet Servers tab. If your system has previously configured mvTelnet Servers, they display in the Configured Telnet Servers field.

  8. If the Telnet server to be associated with the serial printer has been configured previously, select that Telnet server, then select Configure. If the Telnet server to be associated with the serial printer has not been configured previously, select Add. The Telnet Servers dialog box displays with selection of Add or Configure.

  9. With mvBase Releases 1.3.00 or later, type the name of this mvTelnet Server in the mvBase Telnet Servers tab.

  10. Type the name of the mvBase Server in the mvBase Server Name field. This designates the computer name of the mvBase Server system associated with this client.

  11. Select Serial Printer in the Options field. Selection of the Serial Printer option forces the Max Connections field to 1. Do not change this entry value.

  12. In the TCP Port Number field, enter the TCP port number. The port number may be port 23, or any port between 1024 and 5000.

  13. In the Starting mvBase line field, type the first (or only) mvBase line number. This field must be filled with a numeric value. Rocket generally recommends that printer(s) be allocated the highest line number(s) available to reduce potential conflict with line consumption by wildcard clients.

  14. Select OK. The connection defined by this mvTelnet Server now functions with a serial printer on the other end of the connection (whenever the Workstation is started). If * or any non-numeric character was typed in the Max Connections field, a message displays advising you of required change in input for this field.

  15. Perform one or more of these tasks in this sequence to start the mvBase Workstation:

  1. Log to the SYSPROG account and execute the STARTPTR command with desired parameters and options.

Printing follows the normal use of the STARTPTR command. Execute the STARTPTR command at TCL with desired parameters and options. You can automatically initialize all printers at coldstart by incorporating both the STARTPTR and the PROTOCOL commands into the USER-COLD-START Proc.

See Also

Configuring and Using the mvTelnet Server

mvTelnet Server Considerations

Licensing Telnet Clients

Configuring the mvTelnet Server

Connecting/Disconnecting Telnet Clients

Telnet Client Screen and Keyboard Options

Using the Options Tab