| mvBase
Tech Tip: |
#
mv133 |
| Pertinent
Release(s): |
All |
| Pertinent
Windows O/S: |
Windows
NT4.0 |
Printing
from mvBase using Microsoft TCP/IP printing service and Network
Terminal Servers (Digi Port Server II or Systech RSC4000)
It
is possible to configure mvBase and NT so that printing may
be carried out on a serial printer attached to a Network
Terminal Server (NTS). An NTS can be deployed anywhere across
the network (LAN,WAN) and provides one (or usually more) serial
ports (RS232 interface). The following instructions refer specifically
to the Digi Port Server II (PSII) and the Systech RSC4000- however
the general scheme is applicable to any similar device.
Actual
terminals attached to Network Terminal Servers connect to application
servers using the Telnet protocol over TCP/IP. Each serial port
on the NTS has a separate Telnet session to a Telnet server
on the host system.
Serial
printers may be attached to an NTS and handled in the same way
as terminals. Since printers are output devices, they cannot
instruct the NTS to establish a Telnet session to the host.
Thus the NTS must initiate the Telnet connection when it is
powered up, and re-establish the telnet session automatically
if the connection is lost. Not all NTS's are capable of doing
this. It is not possible for the host system, where the Telnet
server is, to initiate a Telnet connection to the NTS,
since the host system is a Telnet server, not a Telnet
client.
A
viable alternative is to use a feature known as TCP/IP Printing.
The NTS runs a piece of software known as lpd (which
originally comes from the Unix world and stands for Line Printer
Demon). The Windows NT systems runs the associated facility
known as lpr, but which is called the TCP/IP Printing
Service by Microsoft.
This
method requires a little configuration work to set up. The following
four sets of steps will guide you through this process. You
will need to know the NTS's IP address, the NTS port number(s)
to which printer(s) are attached and how to logon to the NTS
itself and get to the NTS command prompt.
A)
Setup the Microsoft TCP/IP Printing Service
First,
the TCP/IP Printing Service must be added to the Windows NT configuration.
- Right
click on the Network Neighborhood desktop icon and
select the Properties menu item.
- Select
the Services tab.
- Click
the Add button.
- Select
Microsoft TCP/IP Printing, and click OK.
- Provide
the system with the appropriate Windows NT4.0 CDROM when prompted.
Setup will copy some Windows NT files.
- When
this is finished, click Close. (NT will re configure its bindings
at this point)
- Remove
the CDROM.
- Restart
the entire Windows NT system when prompted.
B)
Defining printers on the NTS
Digi
Portserver II
Logon
to the PSII itself from an attached terminal or a telnet session.
At the PSII prompt (#>) do the following:
- #>
set ports range=<port#> dev=prn
repeat for all printers on the PSII
- #>
boot action=reset
Systech
RCS4000
Logon
to the RCS4000 itself from an attached terminal or a telnet
session
- Login
to the admin user.
- Ensure
that the port that the printer is attached to does not have
any profiles set on it.
- show
port x (where x is the port that has the printer attached)
- If
any profiles are showing, then
> delete default x to
remove the default profile
> delete Cn x
to delete a Custom profile (where Cn is the Custom
profile number)
C)
Adding printers at the NT level
The
next step is to define a new printer to NT and specify that
it uses the TCP/IP Printing Services.
- Click
Start/Settings/Printers and select the Add Printer
wizard.
- Choose
My Computer, then click Next.
- Click
the Add Port button.
- Select
LPR Port.
- Click
the New Port button.
- In
the Name or address of server providing lpd field enter
the IP address of the NTS.
- In
the Name of printer or print queue on that server field
enter
Digi
Portserver II:
ascii_<port#>
where port# is the serial port no. on the PSII
which the printer is attached to. (E.g. For a printer on port
8 enter ascii_8)
Systech
RCS4000:
port<port#>
where port# is the serial port no. on the RCS4000
which the printer is attached to. (E.g. for a printer on port
8 enter port8)
- Click
the OK button.
- Click
the Close button back at the Printer Ports dialog
box.
- Click
the Next button
- Select
the Printer Manufacturer and then the Printer from the drop
down list boxes.
- Click
the Next button.
- You
may wish to alter the name of the printer from the supplied
default.
- Select
the No radio button to not make this printer the default
Windows printer.
- Click
the Next button
- Select
the Not Shared radio button.
- Click
the Next button
- Select
the No radio button for Print test page?
- Click
Finish
- Repeat
for any other printers attached to ports on the NTS.
See
Microsoft documentation and/or online help for more details
on setting up printers in general and TCP/IP printing specifically.
D)
Adding printers to mvBase
Finally,
define the Windows printer(s) from step B) to the mvBase Workstation.
- Click
Start/Programs/mvBase/Administration Utility.
- Select
the Workstation tab.
- Stop
the Workstation service (if necessary).
- Select
the Printers tab.
- Click
the Configure button.
- Click
the Add button.
- Select
the printer (which was setup in part B above) from the Printer
Name drop down box.
- Enter
the mvBase server name.
- Assign
an mvBase line# on that server for exclusive use by the printer
- Select
RAW from Options box.
- Click
OK.
- Repeat
from step 6 for each printer added in steps B) and C) above.
- Start
the mvBase workstation.
- Logon
to mvBase and use the STARTPTR verb to start the mvBase
'despooler' processes, one for each printer/line defined above.
|