From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d8c67998369962fd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-16 06:31:26 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Printing Date: 16 Apr 2002 06:31:26 -0700 Organization: http://groups.google.com/ Message-ID: <4519e058.0204160531.271966e4@posting.google.com> References: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018963886 20629 127.0.0.1 (16 Apr 2002 13:31:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 Apr 2002 13:31:26 GMT Xref: archiver1.google.com comp.lang.ada:22598 Date: 2002-04-16T13:31:26+00:00 List-Id: "Fraz" wrote in message news:... > Sorry if this in an FAQ, but is there a command in ada that will send the > current window to the printer? or even the contents of an array? Nope. Ada is not an Operating System, so it has no clue what devices you have attached to your system and how to get hold of them. However, most OS's allow you to open a printer device as a file. If you can do that, then you can use any of Ada's file facilities to send data to a printer. That will probably only work well for strings though. If you want to send graphics, you will need to find out how one does that with your OS, then call that OS routine(s) from Ada. The latter is really the easy part. What you need to do from here is reformulate the question as an operating system question, then go ask it in the appropriate newsgroup for your OS. -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html