RSCS 3.2.0 Setting up an LPD-type Link


Product Number: 5684-096 Release 3.2.0
  1. 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).
  2. 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'
    
  3. 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'
    
  4. Copy the LPDXMANY CONFSAMP file from the RSCS install ID's 406 minidisk to it's 401 minidisk as LPDXMANY CONFIG.
  5. 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'
    
  6. Define printer queue names within the LPD CONFIG file (LPDXMANY CONFIG).
  7. Start the LPD-type link in RSCS's PROFILE GCS by adding the following line after the 'RSCS INIT' statement:
    'RSCS START LPD'
    
  8. 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
    
  9. 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
  10. Advanced topics:
    1. The translate tables used within the LPD-type link exit routines can be replaced within the exit configuration file.
    2. If you plan moderate to heavy use of the RSCS LPD support, consider defining multiple LPD-type links.
    3. See Appendix F of the RSCS program directory for further details on other enhancements provided with the RSCS LPD support
  11. 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:

    1. Set up LPR and LPRP links as defined in Setting up LPR links.
    2. 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.
    3. 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'
      
    4. 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.
    5. 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
      
    6. 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