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=0.6 required=5.0 tests=BAYES_40,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: tmoran@bix.com (Tom Moran) Subject: Re: Laser printing from ADA (Windows) Date: 1998/10/25 Message-ID: <363376e7.127480@SantaClara01.news.InterNex.Net>#1/1 X-Deja-AN: 404931595 References: <3632263f.7551068@SantaClara01.news.InterNex.Net> Organization: InterNex Information Services 1-800-595-3333 Newsgroups: comp.lang.ada Date: 1998-10-25T00:00:00+00:00 List-Id: >Never used CLAW but it does seem nice. However I was thinking of something >that may be freely avialble to students, preferably with source code. My understanding is that rrsoftware does give source code to purchasers of Claw (hard to do otherwise, since it is portable across Ada compilers) but I don't know what the student price is. Last time I looked, the free demo version did not include the printer package. (Having worked on CLAW, I hope they get some money so I can afford time to add to it in the future.) 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.