In comp.lang.pascal.borland message <2oadnTE3Pc9Wd5TbnZ2dnUVZ_tWhnZ2d@[EMAIL PROTECTED]
>, Tue, 27 Mar 2007 21:11:15, EdMac <emackinnon@[EMAIL PROTECTED]
>
posted:
> I haven't used Pascal for years. I just bought Borland TP7 for DOS. I am
>running it under Windows XP. I cannot get anything to print, using
>"writeln(Lst, )", even when I include Uses printer, and windos. Any
>suggestions?
ISTM always wise to configure such programs to print to a supplied file
name (one can then test without using paper) and to use the name of the
printer (Lst or LPT1, for example) when needed.
If you print to a text file, my Delphi PRINTEXT (see sig line 3) will be
able to print it out in a straightforward manner but with choice of font
face, size, colour, page size, etc. It will accept Standard Input.
Of course, that may not help if you want to see the printing while the
source program is still running.
PRINTEXT should compile & run in TP7, but will not then print.
--
(c) John Stockton, Surrey, UK. ?@[EMAIL PROTECTED]
DOS 3.3, 6.20;
WinXP.
Web <URL:http://www.merlyn.demon.co.uk/>
- FAQqish topics, acronyms &
links.
PAS EXE TXT ZIP via
<URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm>
- also
batprogs.htm.


|