Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxh.cso.uiuc.edu!mead From: mead@uxh.cso.uiuc.edu Newsgroups: comp.lang.pascal Subject: Re: Dump the graphics screen in TP Message-ID: <13000014@uxh.cso.uiuc.edu> Date: 30 Aug 90 04:10:00 GMT References: <33302@unix.cis.pitt.edu> Lines: 27 Nf-ID: #R:unix.cis.pitt.edu:33302:uxh.cso.uiuc.edu:13000014:000:1203 Nf-From: uxh.cso.uiuc.edu!mead Aug 29 23:10:00 1990 Funny you should mention it. I was just reading in _Turbo Pascal Advanced Techniques_ (by Chris Ohlsen and Gary Stoker) p183: " The primary purpose of listing 6.4 is to replace the standard Printer unit that is supplied with Turbo Pascal V5.5 because Turbo Pascal opens its printer unit and LST device in a cooked mode. Cooked mode indicates to DOS that it is a text device; any text device cannot recieve a EOF marker, therefore it is stripped from the output steam. The driver in listing 6.4 chooses a mode tha will pass any character to the printer. An EOF marker, or ASCII character 26, is essential to sending graphics output to the printer" I imagine that this is a problem for you -- although from your description ("missing one or two bytes"), I'm not convinced that this is THE problem. I'd like to reproduce listing 6.4 for you, but it's quite long (actually, the code is brief, but there are lots of comments). Also, they describe hardcopying graphical output in some depth in a couple of places in their book, so you should obtain a copy. I got this one from the library. I think I'd buy it ($23) if I had a job. hope this helps, -alan mead