Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!decwrl!amdcad!lll-crg!ucdavis!ucbvax!info-vax From: info-vax@ucbvax.UUCP Newsgroups: mod.computers.vax Subject: Re: Calling PRINT from a C program Message-ID: <8602090224.AA11930@ur-tut.UUCP> Date: Sat, 8-Feb-86 21:24:40 EST Article-I.D.: ur-tut.8602090224.AA11930 Posted: Sat Feb 8 21:24:40 1986 Date-Received: Tue, 11-Feb-86 03:31:21 EST References: <8602032142.AA02106@ia-sun2.uucp> Sender: daemon@ucbvax.BERKELEY.EDU Organization: U. of Rochester Computing Center Lines: 15 Approved: info-vax@sri-kl.arpa I hit the same problem. Until VMS 4.x, the only way to print a file from a program was to call sys$sndsmb, but first you had to look up the FID of the file via RMS system services such as OPEN...all in all, very messy. The best solution is to upgrade to VMS 4.x; short of that, you've got to write at least two system service calls, and they're messy ones at that. There is an example of how to do similar stuff on DSIN, however. -- Jon Krueger UUCP: ...seismo!rochester!ur-tut!tuba USMAIL: University of Rochester BITNET: TUBA@UORDBV Taylor Hall Phone: (716) 275-2811 work, 473-4124 home Rochester, NY 14627