Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms Subject: Re: Printing from inside a program. Message-ID: <871202000943.05s@CitHex.Caltech.Edu> Date: Wed, 2-Dec-87 03:12:03 EST Article-I.D.: CitHex.871202000943.05s Posted: Wed Dec 2 03:12:03 1987 Date-Received: Sat, 5-Dec-87 14:21:25 EST References: <12355095965.50.JDM@XX.LCS.MIT.EDU> Sender: usenet@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 8 > I would like to spool a file to SYS$PRINT or another print spooler from > a program. I know I could lib$spawn a print command, and look at the > termination status, but I was hoping for a cleaner, faster way. Any > ideas? If, when you open the file, you set the bit FAB$V_SPL in the FAB$L_FOP field, the file will be spooled to SYS$PRINT on CLOSE.