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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7b9027678f309105 X-Google-Attributes: gid103376,public From: Ehud Lamm Subject: Re: Laser printing from ADA (Windows) Date: 1998/10/25 Message-ID: #1/1 X-Deja-AN: 404977050 References: <3632263f.7551068@SantaClara01.news.InterNex.Net> <363376e7.127480@SantaClara01.news.InterNex.Net> Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: The hebrew University of Jerusalem Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-10-25T00:00:00+00:00 List-Id: On Sun, 25 Oct 1998, Tom Moran wrote: > The original question was about printing, though. If you know > enough of the Windows API to draw text and graphics in a screen > window, you are very nearly there to printing. You just need to do > your drawing to a printer, rather than screen window, "device > context", plus a little setup to account for which printer, and the > special characteristics of that printer, and handling end of page etc. This is all true. So I thought some one already encapsulated this functioanllity. Alas, as usual, reuse is more of a dream than a reallity. Maybe someday it will be easier to find components you need. Until now the best way seems to write code yourself. Some much for Bazars etc. Ehud Lamm mslamm@mscc.huji.ac.il http://www2.cybercities.com/e/ehud/ada ADA & SE