Path: utzoo!attcan!uunet!mcsun!unido!pcsbst!sws4!jbe From: jbe@sws4.pcs.com (John-Brown Evans) Newsgroups: comp.sys.atari.st Subject: printing graphics (C) - ignore if irritated by beginners questions Summary: sending graphics to printer in C Keywords: printer, C, graphics Message-ID: <802@pcsbst.pcs.com> Date: 20 Aug 90 12:47:29 GMT Sender: news@pcsbst.pcs.com Distribution: comp Lines: 27 X-Newsreader: nn This is a simple question for hackers, but it's the first time I'm trying to do this and don't want to waste a lot of time trying it out. I'm writing a program in C using AES and VDI calls. The prog produces graphics. I need to take a part of this (a box with contents) and send it to a printer (EPSON), to specific xy-coords. I have a monochrome monitor. Can anyone send me some tips (a piece of code??) on the best way to do this. I havn't found a function which dumps a section of the screen to printer. I assume I have to do the following: 1. switch printer to graphics mode 2. query which pixels are set and which aren't 3. send the info pixel-wise to the printer 4. switch the printer back This seems a long and tedious way to do this. Thanks a lot. Name : John-Brown Evans Company : PCS GmbH, Munich W-Germany. UUCP : ..uunet!unido!pcsbst!jbe; jbe@pcsbst.pcs.com *** CAUTION: Be sure brain is engaged before putting mouth into gear ***