RSCS 3.2.0 Setting up an LPD-type Link
- Issue the following to
make sure the RSCS server is running at the 9803 (or higher)
RSU service level:
sm rscs q s lev
A response from RSCS indicating it is at the appropriate level would be:RSCS Networking Version 3, Release 2.0-9803
If RSCS is not at this level, it is recommended to install the latest RSU before proceeeding with these instructions (some steps may not produce desired results). - Change RSCS's PROFILE GCS so it can load the LPD-type link
exit routine. On the
RSCS install ID's (P684096K) 401 minidisk (also the RSCS ID's 191
minidisk), locate the line:
'global loadlib RSCS'
and change it to:'global loadlib RSCS RSCSEXIT'
- Change RSCS's PROFILE GCS so it can load a configuration file for
the LPD-type link exit routine. First locate a line containing a
filedef statement, then add the following line:
'FILEDEF LPD DISK LPDXMANY CONFIG'
- Copy the LPDXMANY CONFSAMP file from the RSCS install ID's 406 minidisk to it's 401 minidisk as LPDXMANY CONFIG.
- Define the LPD-type link in the RSCS CONFIG file (located
again on the install ID's 401 minidisk) by adding the
following:
LINKDEFINE LPD TYPE LPD PARM LPD EXIT=LPDXMANY EPARM='C=LPD'
- Define printer queue names within the LPD CONFIG file (LPDXMANY CONFIG).
- Start the LPD-type link in RSCS's PROFILE GCS by adding the
following line after the 'RSCS INIT' statement:
'RSCS START LPD'
- Next time RSCS is re-cycled (IPLed), the LPD link
will be available
for use. You can recycle the RSCS server by issuing the following
as a special message to RSCS or on the RSCS console:
rscs shutdown quick cp ipl gcs
- If you currently are using the VM TCP/IP LPSERVE as your VM
daemon, then you will need to make the following changes in the
TCP/IP machines configuration file:
- Remove LPSERVE from the autolog list
- Change LPSERVE to RSCS for the port 515 reserve list
- Advanced topics:
- The translate tables used within the LPD-type link exit routines can be replaced within the exit configuration file.
- If you plan moderate to heavy use of the RSCS LPD support, consider defining multiple LPD-type links.
- See Appendix F of the RSCS program directory for further details on other enhancements provided with the RSCS LPD support
- Using RSCS LPD as a print server.
It is feasible to use RSCS for routing workstation printing for delivery to IP (Internet) attached printers using LPR-type links. To do so, you will need to use the LPRXFORM exit as well as the LPDXMANY CONFIG file. Follow the following steps:
- Set up LPR and LPRP links as defined in Setting up LPR links.
- Update the LPDXMANY CONFIG file adding printer queue names for a
LPR link and for a LPRP link as follows:
LPRLINK 1280 * * LPRFORM * * * ASISCC ASCII LPR LPRPLINK 1280 * * LPRPFORM * * * ASISCC ASCII LPRP
Use a printer queue name of LPRLINK when printing to a non-postscript printer from a workstation and a printer queue name of LPRPLINK when printing to a postscript printer from a workstation. - Change RSCS's PROFILE GCS so it can load the LPRXFORM
configuration file.
First locate a line containing a
filedef statement, then add the following line:
'FILEDEF LPRXFORM DISK LPRXFORM CONFIG'
- Update the LPRXFORM CONFIG file to specify the host name and printer
queue name associated with the desired printer:
FORM=LPRFORM HOSTNAME=host_name PRINTER=printer_queue_name * FORM=LPRPFORM HOSTNAME=host_name PRINTER=printer_queue_name FORMSUB=P+ASCII
You will need to provide the host name and printer queue name fields associated with the printer. - Update the RSCS CONFIG file to enable the LPRXFORM exit by
adding the following statements anywhere within the file:
EXIT 0 ON LPRXFM00 EXIT 1 ON LPRXFM01
- Next time RSCS is re-cycled (IPLed), the LPRXFORM exit and
LPD-type link
will be available for use as a print server.
You can recycle the RSCS server by issuing the following
as a special message to RSCS or on the RSCS console:
rscs shutdown quick cp ipl gcs
If you'd like to provide feedback on setting up an LPD-type link, you can e-mail Leslie Geer