I'm fairly new to C++ and programming in general and I have few questions regarding PuTTY. I am currently in school majoring in computer scienece and in my C++ class our assignments consist of writing a program using PuTTY, printing it out, and handing it in. After I finish the program I start a script file, display the code using the " cat <filename> " command, compile the code, and then run the program. When I end the script file and proceed to print I find that the only printer that I can print to is the printer in the CIS computer lab about 1/2 mile away. What I would like to do is print this using my computer in my dorm room. I configured PuTTY to enable ANSI printing and to send the output to my printer. When I go to use the command " ansiprint -n -f <filename> " it says "Printing File: <filename>" but nothing prints.
My instructor told me that other people have run into this problem when trying to print to their own printers and that nobody knows for sure what causes it. She suggested it could possibly have something to do with printing being disabled in DOS, but doesn't know for sure. Like I said, I am fairly new to all of this and I was wondering if anyone knows of a soultion to this problem. I don't mind taking the 1/2 mile hike to the CIS Lab right now, but when it gets colder I'd much rather print my assignments from my dorm. Any help is appreciated.