TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: hugo landsman
date: 1996-02-07 11:45:44
subject: DOS printing

hi Peter,

 PF>  hl> fflush(stdprn); close(dup(fileno(stdprn))); should do

 PF> stdprn (and stdaux) are not supported by os/2 compilers.

This first lines of the message you quoted, read:

 MG>    My DOS programs under OS/2 are not printing until the program
 MG> terminates. The statement:                        fprintf( stdprn,

He isn't using an OS/2 compiler (or maybe Watcom has one to produce DOS
programs?  Then it should support stdprn and stdaux, or he would have
another problem).

regards,
         hugo
* Origin: huug{at}telebyte.nl (2:283/608.5)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 283/608 2801/201 28/777 2/777 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.