From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5bbf9bada82f4bd6,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-02-17 12:42:25 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!noc.near.net!das-news.harvard.edu!honeydew.srv.cs.cmu.edu!rochester!rit!isc-newsserver!ultb!ngb5865 From: ngb5865@ultb.isc.rit.edu (N.G. Brookins) Subject: VAX/VMS C with $SNDJBC Message-ID: <1994Feb17.204225.20429@ultb.isc.rit.edu> Sender: news@ultb.isc.rit.edu (USENET News System) Nntp-Posting-Host: ultb-gw.isc.rit.edu Organization: Rochester Institute of Technology Date: Thu, 17 Feb 1994 20:42:25 GMT I want to write a simple label printing program in C on my VAX/VMS computer. I need a simple and fast way to send a few lines of text to a printer queue. I already have the print queue set up so that I can type: $ print/que=decwriteriii /copies=100 label.txt But, I want to avoid the use of system("print/que=decwriter label.txt"); in my C code because the overhead of starting up DCL makes it too slow. I'm not familiar with the system calls which VMS supplies, such as $SNDJBC because my expertise is with C on OS-9 computers... Can anyone here give me some sample code? ---->Neil -- "Friends don't let friends run DOS" -- Microware