[comp.lang.pascal] Prospero Pascal printer help

northo@pilikia.pegasus.com (Steve Northover) (06/15/91)

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