🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #43555

Re: MSC, Devices, and 0x1a

#43555
From: Kevin D. Quitt
Date: Tue, 06 Mar 1990 18:33
22 lines
1211 bytes
    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
Technical Details
Message-ID: <53@demott.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!srhqla!demott!kdq
References: <10521@ttidca.TTI.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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