Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!fluke!ssc-vax!bcsaic!douglas From: douglas@bcsaic.UUCP (Douglas Schuler) Newsgroups: comp.sys.ibm.pc Subject: Advice for the needy (part II) - printing graphics Keywords: printing ibm pc aspect ratio graphics Message-ID: <9042@bcsaic.UUCP> Date: 6 Dec 88 21:08:21 GMT Organization: Boeing Computer Services ATC, Seattle Lines: 31 This is the second time, I've asked for some advice for the needy in this newsgroup. The first time I received some very useful info. So I'm at it one last time. The trouble is that I am working on an application that does graphics on the screen and is also supposed to print them on the printer. The first problem was when I found out that there were over 10 fairly common graphic configurations. I've sucessfully dealt with that problem although I'm still wondering if there is a good general solution to the problem of writing portable software for the plethora of graphics modes. The next problem is a little more taxing. I'd like to print the graphics on a printer. At first, I (naively) thought that using the DOS printscreen was the way to go. I soon found out that screen bitmaps were immune from this command. I suppose that I'll have to use the C command that inspects screen pixels (don't have reference handy), and send the contents to the printer (prepended by the printer escape sequences) using outp(). What's the best general approach to this? I'm also wondering (worried) that the aspect ratio of the printer and of the console will be different. This might be a bit of a pain as I'm printing circles. Anyway, I'm using either the hercules or the _HRESBW mode on the pc and a NED P5XL printer. Thanks in advance. -- ** MY VIEWS MAY NOT BE IDENTICAL TO THOSE OF THE BOEING COMPANY ** Doug Schuler (206) 865-3226 douglas@boeing.com