Printing List Files

9/23/97


Student Message

I'm still having trouble printing my list file for program 1. I've been trying to figure it out for awhile now, and I don't know what to do.

My Reply

First, have you gotten the Fortran compiler to generate the list file yet. If not you'll need to use the -V switch. See Compiling and Producing List Files web page linked from my open letters page at:

http://www.msoe.edu/~tritt/cs185/openletters.html

for details.

If you're just having problems getting the file to print, you have the following three choices:

1) Just print the file using the Torres print_room command with the -r switch for landscape (wide) printing. For example, if your list file is called progone.l (that's a letter el) and you want to use the printer in CC 60, the command would be:

print_cc60 -r progone.l

2) Set up an alias for landscape mode printing. This is described in detail in Mr. Geren's handout I passed out in class. To create the alias add the following line to your .login file (using any editor):

ll_cc60 "print_cc60 -r"

Then, log out and log back in to rerun the .login file (often called a script) and make the alias effective. Then, to print progone.l enter:

ll_cc60 progone.1

3) FTP the progone.l file from Torres to you PC using WS_FTP like I showed you in lab. Then, open it with Microsoft Notepad (its in the Accessories program group, I think). If you use Notepad use the File | Page Setup menu option to change the orientation to landscape before printing. This results in a more readable printout.

I hope this helps. See you in class on Wednesday.