Path: utzoo!attcan!uunet!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!leonard From: leonard@bucket.UUCP (Leonard Erickson) Newsgroups: comp.lang.pascal Subject: Re: Printing in Turbo Pascal (HELP!) Message-ID: <1948@bucket.UUCP> Date: 1 Feb 90 09:14:39 GMT References: <4856@itivax.iti.org> Distribution: na Organization: Rick's Home-Grown UNIX; Portland, OR. Lines: 28 ld@vax3.iti.org (Larry Dunn) writes: < I am working on a project using Turbo Pascal. One < of the requirements is that I send a line of text < to a serial printer. The program is very large < ~30k compiled lines of code. < The Institue has bought Async Manager. The problem < with Async Manager is that it addes too much code < to compile the program (OUT OF MEMORY). < I would like to know if there is a way (a small way) < to write text to COM ports. Sure, use DOS to re-route LPT1: to COM1:! mode com1:9600,n,8,1,p mode lpt1:=com1: TP will cheerfully send the data to LPT1 and DOS will send it to COM1 instead. True, your program isn't doing it, but it should suffice for your purposes. -- Leonard Erickson ...!tektronix!reed!percival!bucket!leonard CIS: [70465,203] "I'm all in favor of keeping dangerous weapons out of the hands of fools. Let's start with typewriters." -- Solomon Short