Path: utzoo!attcan!uunet!cs.dal.ca!dal1!rb From: rb@ac.dal.ca Newsgroups: comp.lang.pascal Subject: Re: Printing from Turbo Pascal Summary: EXEC DOS PRINT from TP program Keywords: TP PRINT EXEC Message-ID: <1280@ac.dal.ca> Date: 1 Mar 90 09:15:56 GMT References: <9909@pyr.gatech.EDU> Lines: 17 Organisation: Dalhousie University, Halifax, Nova Scotia, Canada In article <9909@pyr.gatech.EDU>, mlw@pyr.gatech.EDU (Michael Williams) writes: >... > I also thought about exec'ing the DOS print command to attempt to print in > the so-called "background". However, that involves calling a TSR from a > program, which is probably not a good idea. > > Any suggestions??? It is a good idea to always put 'PRINT /d:lpt1' in your autoexec.bat. Then it will always be loaded, and there will be no problem EXECing it from a TP program. If it is not loaded already, it will load itself below the calling program, and then you will have problems. ------------------------------------------------------------------------------- Rick Ballard Bitnet : RB@AC.DAL.CA Medical Information Services Dalhousie University Halifax, Nova Scotia