Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!haven!adm!news From: CDCKAB%EMUVM1.BITNET@cunyvm.cuny.edu ( Karl Brendel) Newsgroups: comp.lang.pascal Subject: (R)printing graphics with TPas (was HELP with turbo pascal!!?!) Message-ID: <24543@adm.BRL.MIL> Date: 19 Sep 90 03:43:29 GMT Sender: news@adm.BRL.MIL Lines: 23 In article <7833@aggie.ucdavis.edu>, usenet@aggie.ucdavis.edu (Val Luck) writes: >I am having difficult printing graphics in turbo pascal 4(ibm) DOS >wants to interpret the graphics and ends up messing up the output. Is >there some way I can turn this off? Writing to "lst" doesn't work >either. I can only write to a file and then from dos copy the file to >prn. Any suggestions? You need to investigate DOS function $44. (I.e., you'll need to do a call to procedure MS-DOS with regs.ax := $44.) You need to associate the printer with a text file (such as PRN or LPT1) and use function $44 to place that file into "raw mode". +-------------------------------------------------------------------------+ | Karl Brendel Centers for Disease Control | | CDCKAB@EMUVM1.BITNET Epidemiology Program Office | | InterLink/RIME: KARL BRENDEL Atlanta, GA | | GEnie: K.BRENDEL phone 404/639-2709 | | fts 236-2709 | | Home of Epi Info 5.0 | +-------------------------------------------------------------------------+