POSITION:028,114
COLOUR:STANDARD
TEXT:00,You can use the open() library routine to open devices for use. The six
TEXT:16,allowed device names are listed below:
COLOUR:POINTS
TEXT:32,CON - Console (screen)
TEXT:16,AUX - Auxiliary serial port
TEXT:16,COM1 - Serial port 1
TEXT:16,COM2 - Serial port 2
TEXT:16,PRN - Parallel port printer
TEXT:16,NUL - Non-existent device that discards accepted output
COLOUR:STANDARD
TEXT:32,We will not place too much emphasis on working with devices in this
TEXT:16,tutorial, but here is how to open the printer, a device you'll use often:
COLOUR:EUPHORIA
TEXT:32,integer file_id
TEXT:32,file_id = open("PRN","w")
