Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!rochester!udel!princeton!siemens!jrv From: jrv@siemens.UUCP (James R Vallino) Newsgroups: comp.os.vms Subject: Re: Printing from inside a program. Message-ID: <321@siemens.UUCP> Date: Fri, 4-Dec-87 14:29:07 EST Article-I.D.: siemens.321 Posted: Fri Dec 4 14:29:07 1987 Date-Received: Wed, 9-Dec-87 06:02:44 EST References: <12355095965.50.JDM@XX.LCS.MIT.EDU> Reply-To: jrv@siemens.siemens-rtl.com (James R Vallino) Organization: Siemens RTL, Princeton, NJ Lines: 16 On my system there is a logical ($PRINTER) defined which specifies the device where the print spooler is aiming its output. If I open a file using the file name '$PRINTER:' all output is directed to the spooler which queues the print job when the file is closed. This was done from a C program with the normal fopen() and other level 2 file calls without having to set any fancy bits along the way. Jim Vallino Siemens Research and Technology Lab.,Princeton, NJ CSNET: jrv@siemens.siemens-rtl.com UUCP: {ihnp4,philabs,seismo}!princeton!siemens!jrv -- Jim Vallino Siemens Research and Technology Lab.,Princeton, NJ CSNET: jrv@siemens.siemens-rtl.com UUCP: {ihnp4,philabs,seismo}!princeton!siemens!jrv