Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!ucbcad!ucbvax!DICKINSN.BITNET!NEWCOMER
From: NEWCOMER@DICKINSN.BITNET ("Newcomer, Don")
Newsgroups: comp.os.vms
Subject: Spooling
Message-ID: <8712021833.AA23042@ucbvax.Berkeley.EDU>
Date: Wed, 2-Dec-87 09:04:24 EST
Article-I.D.: ucbvax.8712021833.AA23042
Posted: Wed Dec  2 09:04:24 1987
Date-Received: Sat, 5-Dec-87 16:14:06 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 9

>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?

Use the SYS$SNDJBC call.  It does the trick quite nicely!

                                        Don Newcomer
                                        NEWCOMER@DICKINSN