Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!hpopd!philh From: philh@hpopd.pwd.hp.com (Phil Holden) Newsgroups: comp.os.msdos.programmer Subject: Re: TC++ & DeskJet+ graphics programming: can't print '\x1a' !!?? Message-ID: <37390011@hpopd.pwd.hp.com> Date: 21 Jun 91 16:21:13 GMT References: <1991Jun21.040657.3195@ux1.cso.uiuc.edu> Organization: Hewlett-Packard CCG-PWD, UK. Lines: 5 ASCII 26 (0x1A) is the end of file character in DOS text files. If you want to write this character from a 'C' program, you must open the file in binary mode OutFile = fopen( "filename", "wb"); The b puts it in binary mode.