Xref: utzoo comp.sys.ibm.pc:16672 comp.lang.pascal:950 Checksum: 40592 Path: utzoo!utgpu!tj From: tj@gpu.utcs.toronto.edu (Terry Jones) Date: Sat, 25-Jun-88 11:39:49 EDT Message-ID: <1988Jun25.113949.20334@gpu.utcs.toronto.edu> Organization: University of Toronto Computing Services Newsgroups: comp.sys.ibm.pc,comp.lang.pascal Subject: Re: Graphics printing problem References:<7492@watdragon.waterloo.edu> Reply-To: tj@gpu.utcs.UUCP (Terry Jones) Distribution: na Keywords: Turbo Pascal 4.0, IBM Graphics Printer...HELP!!! uh, guys, try opening the device in binary mode. If you just do an open than you get character interpretations done. Now I don't do a lot of Turbo Pascal programming but In Turbo C (both of which I own... good products Borland) you can explicitly open a file as binary and if you want to use stdout as binary you need to use fileno then setmode to change the mode of it. (See if you find THIS in the documentation... poor docs here) (They tell you to use setmode in the 1.5 upgrade supplement but NOWHERE do they mention fileno.....) tj .