home *** CD-ROM | disk | FTP | other *** search
- ARexx Print Spooler
-
- v1.00
-
- by Dan R. Schenck
-
-
-
- Files:
-
- The following files should be contained in this archive:
-
- File1
- File2
- File3
- File4
- File5
- Exec.me
- Notice
- ReadMe
-
-
- Installation:
-
- Execute the Exec.me file to rename files 1-5 as follows:
-
- File1 --> print.rexx
- File2 --> spooler.cntl
- File3 --> prnt_spooler.rexx
- File4 --> spooler_utility.rexx
- File5 --> printit.rexx
-
- After the above files are renamed, they sould be moved to your REXX:
- directory. Before these routines can be used, you must have the
- rexxsupport.library, rexxarplib.library, arp.library and
- screenshare.library in your LIBS: directory. In addition, you must
- identify the rexxsupport.library and rexxarplib.library to ARexx with
- the addlib function. I initiate ARexx in my Startup-Sequence and also
- run an ARexx routine to add these libraries at that time.
-
-
- Usage:
-
- To select files to print, execute print.rexx as follows:
-
- rx print [DIR | DIR/FILENAME | FILENAME]
-
- If no argument is supplied or the argument is a path name, the ARP
- file requestor, using the current directory or supplied path name, will
- be displayed and you may select the file to be printed. After the file
- is queued for printing, the requestor will be presented again. Select
- another file to print or hit the CANCEL gadget to exit the selection
- process. If a file name is the argument to print.rexx, the file will
- be queued to print and the file requestor will be displayed as above.
-
- If print.rexx is executed and the spooler, prnt_spooler.rexx is not
- active, print.rexx will initiate the spooler. This is done by a call
- to spooler_utility.rexx. Once the spooler is active, it will remain so
- until you execute spooler_utility.rexx with a request to kill the
- spooler. At spooler start-up, you will be requested to enter a
- directory which the directory $$rxspool will be created under to hold
- the spool files. If no directory is given, the files will be printed
- "in-place" instead of being copied into a spool directory. In addition
- to being asked for a directory name, you may supply a string which will
- be used as a file separator on the printed output.
-
-
- To use the spooler utility, execute spooler_utility.rexx as follows:
-
- rx spooler_utility INSTALL | NEWSEPARATOR | QUIT | KILL | EXIT
-
-
- INSTALL
-
- - Initiates the spooler installation process. You may install
- the spooler or let print.rexx do it for you.
-
-
- NEWSEPARATOR
-
- - Allows you to change the file separator string. The new
- string will be used AFTER any current files in the queue have
- been printed.
-
-
- QUIT | KILL | EXIT
-
- - Removes the spooler. If files are being printed when this
- option is executed, the spooler will wait until printing
- stops before terminating.
-
-
- Bugs, etc.:
-
- I don't know of any yet. You may contact me with comments or bug
- reports at:
-
- Genie - D.SCHENCK or
-
-
- Dan R. Schenck
- 7010 E. 77th Place
- Tulsa, Ok 74133
- (918) 492-0523