Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!srhqla!demott!kdq From: kdq@demott.COM (Kevin D. Quitt) Newsgroups: comp.sys.ibm.pc Subject: Re: MSC, Devices, and 0x1a Message-ID: <53@demott.COM> Date: 6 Mar 90 18:33:07 GMT References: <10521@ttidca.TTI.COM> Reply-To: kdq@demott.COM (Kevin D. Quitt) Organization: DeMott Electronics Co., Van Nuys CA Lines: 22 I ran into precisely the same problem when trying to output graphics data to an Epson printer. What I ended up doing was writing to a file, then using the system() call to invoke copy with the /b parameter: result = system( "copy /b filename.ext prn >nul" ); While the /b should only be required for DOS 2.0 and earlier files, it's required to bypass the ^Z. Yet another example of microcomputer brain damage by the authors of DOS. kdq -- Kevin D. Quitt Manager, Software Development DeMott Electronics Co. VOICE (818) 988-4975 14707 Keswick St. FAX (818) 997-1190 Van Nuys, CA 91405-1266 MODEM (818) 997-4496 Telebit PEP last 34 12 N 118 27 W srhqla!demott!kdq kdq@demott.com