From 124b02112364be507b685321b58775373a633968 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Thu, 10 May 2018 16:49:36 +0100 Subject: [PATCH] XGP/GLP - queue files to be printed. --- build/misc.tcl | 17 + doc/info/glp.22 | 344 +++++++++ doc/info/xgp.24 | 689 +++++++++++++++++ doc/programs.md | 1 + src/sysen2/xqueue.296 | 1627 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 2678 insertions(+) create mode 100644 doc/info/glp.22 create mode 100644 doc/info/xgp.24 create mode 100644 src/sysen2/xqueue.296 diff --git a/build/misc.tcl b/build/misc.tcl index 9824a5a8..e00bd12a 100644 --- a/build/misc.tcl +++ b/build/misc.tcl @@ -827,3 +827,20 @@ expect ":KILL" # XGP spooler respond "*" ":midas sys2;ts xgpspl_sysen2;xgpspl\r" expect ":KILL" + +# XGP and GLP +respond "*" ":midas sysbin;xgp bin_sysen2;xqueue\r" +expect ":KILL" +respond "*" ":job xgp\r" +respond "*" ":load sysbin;xgp bin\r" +respond "*" "debug/0\r" +type ":pdump sys;ts xgp\r" +respond "*" ":kill\r" +respond "*" ":midas /t sysbin;glp bin_sysen2;xqueue\r" +respond "with ^C" "GLP==1\r\003" +expect ":KILL" +respond "*" ":job glp\r" +respond "*" ":load sysbin;glp bin\r" +respond "*" "debug/0\r" +type ":pdump sys2;ts glp\r" +respond "*" ":kill\r" diff --git a/doc/info/glp.22 b/doc/info/glp.22 new file mode 100644 index 00000000..ef959934 --- /dev/null +++ b/doc/info/glp.22 @@ -0,0 +1,344 @@ +-*-Text-*- + +File: GLP Node: Top Next: Basic Up:(DIR) Previous:(XGP) + +The GLP spooling system allows queuing to the Gould Printer in 38-244 +on the main M.I.T. campus. GLP^F in DDT prints the list of pending requests. + +Using GLP is very similar to using the XGP spooler so it is assumed the reader +is familiar with running :XGP in DDT. If you are not, type a P to get back to +the documentation on XGP and read that first. Only the differences between +:GLP and :XGP are described here. + +* Menu: + +* Basic:: An introduction to listing files on the Gould printer. +* LPT:: Use of LPT (line printer) mode (also, FORTRAN mode listings). +* Graphics:: Printing graphics (plot) files (e.g. ARDS, TEK, PLT, etc). +* Options:: Other options specific to the Gould (;copies, ;rotate, etc.). +* XGP:: How to use the GLP spooler to generate scan files for the XGP. +* Status:: How to find out the current status of the spooling system. +* Control:: How to abort or cancel a listing. Launching the Spooler. +* Misc:: Miscellaneous info about the Gould and the spooling system. + + +File: GLP Node: Basic Previous: Top Next: LPT Up: Top + +Printing Files on the Gould Printer + +There are 2 hardware modes in which the Gould printer can operate: LPT (line +printer) mode and bit-image mode. LPT mode is much more efficient because the +output comes out faster and there is less computation involved in producing +such listings due to the fact that a hardware character generator is used to +construct the bit-image lines to be printed. This is the default style of +output. The bit-image mode is slower but much more general, and is used for +graphics output or XGP simulation. This mode involves producing a complete +bit-image of the page on the PDP-10 and shipping it over the Chaos net to the +Gould. Listings printed in LPT mode we will call LPT style and those printed +in bit-image mode we will call XGP style listings (since bit-image mode is +most commonly used to simulate the XGP for files containing XGP commands). + +The simplest way to print a text file on the Gould is to do: + +:GLP USERS;MY MAIL + +which would print the file USERS;MY MAIL in LPT mode. The GLP spooler is +somewhat clever however, in that it will attempt to determine the type of file +and print it in the appropriate mode. For instance, if it can recognize the +first line of the file as an instance of some valid command found in XGP files +(e.g. ;SKIP 1 etc.) it will default to XGP style printing. Graphics files of +various sorts are recognized also. Thus, most of the time typing :GLP +is sufficient to cause to get printed correctly. However, +occassionally this fails, so you may want to explicitly specify the file type +or you may want to specify some additional options to control printing. When +it is determined that the file type is not a graphics file nor a file with XGP +commands produced by some document formatting program (TJ6, PUB, @, R, TEX, +TXJ, etc.), the default action is to provide a minimally structured output +format called LIST mode, where page numbering and a title line for each page +is provided. + +The GLP queuer accepts file commands, which specify a file to be +printed and optionally a font to be used. The general form is: + +:GLP ;_/ + +for instance, + +:GLP USERS;MY MAIL_25FR + +would print the file DSK:USERS;MY MAIL in a type font called 25FR. LPT style +listings can have only one font (the one built into the hardware) so when the +user specifies a font explicitly, this implies XGP (bit-image) style output. +Note the ; has been ommitted in this case. See the FONTS;, +FONTS1;, FONTS2; and XFONT; directories for the currently available font +styles or get a copy of the XGP font catalog. + +A file command is usually either ;PRINT or ;LIST (if it is not specified it +defaults to ;LIST - this is different from the XGP where the default is +;PRINT). ;PRINT specifies XGP style output as opposed to LPT style and thus +is the convenient way of forcing XGP style for plain files which are not +otherwise recognized as XGP style files. In addition, however, GLP has +several file commands which are not used with :XGP, namely, ;LPT, ;ARDS, +;DPLT, ;IMAGE, and ;TEK. All but the first of these will be discussed in the +section on graphics. Several XGP file commands are not supported, including +;THESIS (there are no thesis forms for the Gould), ;PLOT (use ;DPLT instead), +;TEST (you probably don't care about this). ;SAMPLE is supported, and ;SCAN +may be supported someday (although it is really not too useful except on the +XGP). ;LPT is used to force line printer style listings for files that would +otherwise default to XGP style. + +Note that for XGP style listings, all commands in the file are interpreted +as they are by the XGP spooler ( *note XGP:(XGP)FILES. ). + +If you have several files to queue at once, you may find it more convenient +to use the :GLP program in an interactive mode rather than via JCL as shown +above. To do this you simply type :GLP and the GLP program will +prompt you for input. When all specifications have been completed, you +exit by typing ^C. This works just like the :XGP program and more details +can be found under the XGP info (*note INPUT:(XGP)EDIT. ). + +In summary, there are basically 3 ways files are listed on the Gould printer: +LPT listings, graphics files, or XGP simulation. Nothing more will be said +about the last of these (XGP) since that is documented elsewhere. + +Next, more details will be provided about the line printer mode. + +File: GLP Node: LPT Previous: Basic Next: Graphics Up: Top + +LPT (line Printer) Style Listings + +This listing style is used when you want a high speed line printer type +listing and is recommended for all temporary or lengthy listings of programs, +or other unformatted text. In addition to being processed much faster, this +type of listing tends to come out with better quality. Line printer mode +is the default when it can not be determined that the file contains particular +formatting or graphics commands. LPT listings are printed in an 11 x 8.5 +inch format rather than 8.5 x 11 (that is they are output with a 90 degree +rotation compared with ordinary documents printed in XGP style). This is +simply a function of the hardware (rotation is not an option for LPT mode). +Page headings may be suppressed or specified explicitly, but the default +is to provide a heading containing the date, time, file name, and page number. + +There are several options associated with LPT style listings. These are +specified by adding /