Path: utzoo!attcan!uunet!zephyr.ens.tek.com!tekigm2!dennisw From: dennisw@tekigm2.MEN.TEK.COM (Dennis Ward) Newsgroups: comp.graphics Subject: Re: Need help on Plotting HPGL files - SAVE THIS INFO! Message-ID: <8196@tekigm2.MEN.TEK.COM> Date: 7 Feb 90 18:43:25 GMT References: <1754@milton.acs.washington.edu> <23900003@sunb0.cs.uiuc.edu> Reply-To: dennisw@tekigm2.MEN.TEK.COM (Dennis Ward) Organization: Tektronix, Inc., Vancouver, WA. Lines: 24 Here is the way to send HPGL command files to a plotter (serial port) from an IBM PC/clone: 1. At the DOS prompt, type MODE LPT1=COM1 . This redirects print commands to the serial port named COM1. 2. At the DOS prompt, type MODE COM1:96,n,8,1,p . This sets serial communications to 9600 baud, no parity, 8 data bits, one stop bit, with handshaking. The handshaking is important for large files. Most HP plotters have extremely limited buffer sizes, and the data can get lost otherwise. 3. At the DOS prompt, type PRINT . This tells the DOS print command to send the file to your plotter. EXAMPLE: C:>print hpgl.txt 4. To re-enable the LPT1 (Centronics) port, you must reboot your computer. DOS has not foreseen the need to switch PRINT outputs back and forth between serial and parallel ports. -- Dennis Ward dennisw@tekigm2.MEN.TEK.COM C1-820 (206)253-5428