Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!ucsd!nosc!humu!pilikia!northo From: northo@pilikia.pegasus.com (Steve Northover) Newsgroups: comp.lang.pascal Subject: Prospero Pascal printer help Message-ID: <1991Jun15.045509.4492@pilikia.pegasus.com> Date: 15 Jun 91 04:55:09 GMT Sender: northo@pilikia.pegasus.com (Steve Northover) Distribution: usa Organization: Pilikia, Honolulu Lines: 22 I am trying to learn Pascal on an Atari Mega ST2 using Tos 1.4. I need to send the program's output to the printer. The manual has a section which talks about assigning a file variable to a printer. Here is what it says: PROCEDURE assign (VAR f:file;name:DOSname) When it is intended that the file variable should be associated with a specific external file or device, procedure assign is invoked. I tried: VAR out:text; assign (out, 'PRN:'); What I need is a simple explanation. How do I use this to make it print my program on my printer? Thanks. :x -- Steve Northover {uunet,ucbvax,dcdwest}!ucsd!nosc!pilikia!northo Democracy is a form of government that substitutes election by the incompetent many for appointment by the corrupt few. --G.B. Shaw