HP3000-L Archives

July 1996, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Hornberger <[log in to unmask]>
Reply To:
Date:
Tue, 16 Jul 1996 11:28:50 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (104 lines)
___________________________ Forward Header __________________________________
Subject: MPE/ix replacement for SIPRI
Author:  Matt Knowles <[log in to unmask]> at Internet2
Date:    7/15/96 6:33 PM
 
 
On the MPE-V systems there was a contributed program called SIPRI that
allowed you to print spoolfiles to a slave printer. Are there any programs
like that for MPE/iX? I looked through the contributed listings but didn't
see any. It seems easy enough to write a program to do this, especially
since now the spoolfiles are easier to get to. I just don't want to have
to re-invent the wheel if someone already has created such a utility.
____________________________________________________________________________
 
     Matt,
 
     Yes, there is a contributed program that prints to slave printers on a
     MPE/iX system.  It's called SUPRPRT.  I have attached the partial doc. page
     from the CSL tape below that describes its function.  Incidentally, my
     users have gotten benefit from this program many times over.  It works
     great on direct serial connections, mux connections and I've used it across
     a 2400 baud modem connection on occasion myself.
 
 
SUPRPRT - SLAVE PRINTER DRIVER (for MPE/XL operating systems)
 
Program Documentation
 
Program Name  : SUPRPRT.PUB.BOSTON
Source        : SUPRPRT.SOURCE.BOSTON
Subprograms   : SUPRPRT1.SOURCE.BOSTON, SUPRPRT2.SOURCE.BOSTON,
              : SUPRPRT3.SOURCE.BOSTON
              : SPOOK.PUB.SYS is activated at exection of SUPRPRT for operating
              : system prior to 2.1.
Input file    : SUPRPRTD.DATA.BOSTON (post-space file)
Compile Job   : SUPRPRTC.JOB.BOSTON
Documentation : SUPRPRT.DOC.BOSTON
Temp Files    : SUPRPRT.USL.BOSTON, SUPRPRT1.USL.BOSTON, SUPRPRT2.USL.BOSTON,
              : SUPRPRT3.USL.BOSTON (USL files used during compliation job)
              : SUPRPRT.RL.BOSTON (RL file used during compilation job)
              : SUPRPRTI.group.account, SUPRPRTO.group.account,
              : O###.group.account (SPOOK input, output, and temp files used
              : for operating systems prior to 2.1)
              : TEM.group.account (indirect file containing spoolfiles selected
              : for operating systems with the native mode spooler)
              : LISTF.group.account (listf,2 file containing selected filenames)
Language      : COBOL85
UDC File      : SUPRPRT.UDC.BOSTON
UDC Command   : SUPRPRT !FILE=$,!PERMTEMP=0,!PURGEIT=0,!COMPRESS=0
                FILE SUPRPRTD=SUPRPRTD.DATA.BOSTON
                RUN SUPRPRT.PUB.BOSTON;INFO="!FILE,!PERMTEMP,!PURGEIT,!COMPRESS
                RESET SUPRPRTD
                ******************************************************
Description   : The program SUPRPRT can print any ASCII or spoolfile onto a
                slaved printer.
Operation     :
 
    The SUPRPRT program turns record mode on and off for the purpose of printing
ASCII files or spoolfiles onto slaved printers.  The program will work on any HP
terminal that supports a slaved printer.  When using HP printers, the printing
can be compressed so that 132 characters per line will fit on 8 1/2 inch wide
wide paper.  Personal computers running the program PC2622 or REFLECTION are
also supported by this program.
 
   In order for the program to be easy for anyone to use, a User Defined Command
(UDC) similar to the one above can be setup.  The parameters are as follows:
 
   FILE     - The file / file set you wish to print on the slaved printer.  This
              parameter is REQUIRED and can be any HP valid file name, file set,
              indirect file, or the character "$".  An input parameter of "$"
              will invoke the spoolfile print subroutine.  An indirect file is
              distinguished by prefixing the file with a "^".
 
   PERMTEMP - This parameter specifies whether the file is a temporary or
              permenant disc file.  The DEFAULT is temporary (0).  When a 1 is
              used for this parameter, the file is assumed to be permenant.
              When a 0 is used, the file is assumed be temporary.  When printing
              spoolfiles, this parameter is forced to a value of 0.  The file
              created during the download of the report from SPOOK (O####) must
              be a temporary file (for operating systems prior to 2.1).
 
   PURGEIT  - When the program is finished executing the file can be purged from
              the system by using a 1 for this parameter.  The DEFAULT is to
              leave the file on the system (0).  When printing spoolfiles, this
              parameter is forced to a value of 1 on operating systems prior to
              2.1 in order to purge the temporary files (O###) created during
              the activation of SPOOK.  When printing spoolfiles, you will be
              prompted as to whether or not you wish to have the actual
              spoolfiles purged (for operating systems with the native mode
              spooler entering a 1 as this parameter will bypass the purge
              display and proceede to purge the spoolfiles).
 
   COMPRESS - If you are using an HP printer and you want the printing
              compressed set this parameter to 1.  Otherwise leave it at 0.  The
              DEFAULT is regular printing (0).
 
   NOTES:     Because certain spool files may be either pre-spacing or
              post-spacing, the file SUPRPRTD has been created to contain those
              file names which are post-spacing.  Spool files generated by COBOL
              programs are pre-spacing, however, files generated by FORTRAN or
              SPL programs are considered post-spacing.  For example, the file
              FORMLIST generated by FORMSPEC is a post-spaced spoolfile and the
              file name of FORMLIST should be included in this file.

ATOM RSS1 RSS2