-------------------------------- DAT2330 - Unix - Prof. Ian Allen -------------------------------- ========================= How To Print From ACADAIX ========================= How to get text from a file you have written and prepared on ACADAIX (or Floppix) to the printer on another machine. (You must do this because ACADAIX doesn't have a printer to which you have access.) First, go to some 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 in a DOS window and connect to ACADIX; fetch the file to the local machine; exit FTP and open the local copy of the file in Winodws WRITE and print it locally using a Courier font. Detailed Method: 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 ACADAIX. 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 acadaix and login to FTP with your usual ACADAIX Name and Password: A:\> ftp acadaix.algonquincollege.com Connected to acadaix.algonquinc.on.ca 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 ACADAIX 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 and print it locally using a Courier font. Detailed Method: Login to ACADAIX 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 ---------------------------------- Start up a text editor that can print files, e.g. Windows Write, and open the text file or log file containing your output: A:\> write 040983746wugga ...a window starts up with your text in it... Now print your file from inside "write". Adjust the font size so that the output fits across the paper and does not break up long lines. (Do not use Windows Notepad - the lines come out too long.) 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.