========================== How to print from ACADUNIX ========================== -IAN! idallen@idallen.ca How to get text from a file you have written and prepared on ACADUNIX to the printer on another machine. (You must do this because ACADUNIX doesn't have a printer to which you have access.) The concept here is to transfer the file you want to print onto a Windows machine that can print, using the FTP command. First, go to some Windwos machine that can print on a printer, e.g. to one of the Windows machines at the College, or perhaps your home machine. ----------------------- Fetching Method 1 - FTP ----------------------- Summary (details are below): Start up FTP to connect to ACADUNIX; fetch the file to the local Windows machine; exit FTP and open the local copy of the file in Winodws WRITE or WORDPAD and print it locally using a Courier font. Details: If you have a graphical version of FTP, you can use it; otherwise, here's how to use the command-line FTP program on your Windows computer: From the Windows computer that can print, start a DOS window: - Open the Windows START menu. - Choose RUN - Enter the word "command" in the RUN box to start a DOS text window. Change to a directory in which you would like to store a copy of the file you are going to fetch from ACADUNIX. You might want to keep a copy on your N: drive, or on a floppy disk (A:). Change to that directory (and maybe to that disk) first: C:\> A: A:\> Start FTP to acadunix and login to FTP with your usual ACADUNIX Name and Password: A:\> ftp acadunix.algonquincollege.com Connected to acadunix.algonquincollege.com User: abcd0001 Password: 230 User abcd0001 logged in. ftp> (If you are at the College, you don't need to enter the domain name.) Use the "GET" command of FTP to fetch your print file, e.g. ftp> get 040983746wugga ftp: 1234 bytes received in 0.234Seconds ftp> quit A:\> dir 040983746wugga You've got your file. Proceed to the "Printing" step below. ---------------------------------- Fetching Method 2 - TELNET Logging ---------------------------------- Summary (details are below): Login to ACADUNIX using TELNET and turn on TELNET logging; "cat" the file to the screen; turn off logging and exit TELNET; open the local log file in Winodws WRITE or WORDPAT and print it locally using a Courier font. Details: Login to ACADUNIX via TELNET using your usual userid and password. Use the mouse to select the TELNET menu that starts logging to a file. (Remember where you put the file!) Use the "cat" command to cat the file to the screen (and thus into the TELNET log): $ cat 040983746wugga (Note: Do *NOT* use commands that paginate output one screen at a time, since they will mess up the output log. You want the output to appear in one long stream in the log, uninterrupted. Use "cat".) Turn off the TELNET log. Exit from TELNET. You've got your output; it's listed in the log file you created. Proceed to the "Printing" step below. ---------------------------------- Printing the Text File or Log File ---------------------------------- On the Windows computer to which you fetched a copy of the file you want to print, open the file and print it: Start up a Windows text editor that can print files, e.g. Windows WRITE or WORDPAD (do not use NOTEPAD), and open the text file or log file containing your output. You can start WRITE directly from a DOS prompt if you want: A:\> write 040983746wugga ...a window starts up with your text in it... Now print your file from inside the WRITE or WORDPAD command. Adjust the font size so that the output fits across the paper and does not wrap or break up long lines. (Do not use Windows NOTEPAD - the lines come out too long and wrap badly, losing you marks.) Warning: Most Unix output looks best when printed using a fixed-width font such as Courier. Do *NOT* use a proportional font such as Times or Helvetica! Use Courier (or Courier New) only. Warning: Marks are deducted for printed output that contains wrapped lines. (Wrapped lines are lines that are so long that they "wrap" back to the left side of the paper. Notepad is very bad for this.)