This shell script allows students to remotely print documents from your own computer to the CDF printers.
I have no responsibility over any damages or loss that may occur during the execution of or usage of my shell script. Please note that I have developed and ran this shell script for UofT's downtown campus; thus, I have no guarantee on whether it works for other UofT campuses.
- On your local machine, it sends all the documents on the folder with the shell script over to the UofT CS lab machines in the folder ~/Desktop/PrintJobs (if there is no such folder it will make one for you)
- Then, on the UofT CS lab machines, it will print all the documents stored in $REMOTE_PRINTFOLDER to a printer named $PRINTER
- Finally, on your local machine, it will delete all your documents in your folder with the shell script to indicate that it has finished printing.
You will need either:
- A windows machine with WSL (Windows Subsystem for Linux) installed, or
- A linux machine, or
- A Mac OS machine
Please follow the following instructions to help you run the shell script
- Download the shell script, name it as print.sh and copy it to a dedicated printing folder (note that it must be an empty folder!)
- Open the shell script and fill in the following values in <> located near the top of the file: a. Your UTOR ID b. A printer at UofT that supports printing from UofT's CS lab machines (my favourite is p2210a which is on the third floor of Bahen)
- Put all the documents that you want to print from your local machine to the folder containing the shell script
- Run the shell script by typing the command
sh print.sh
. It will print all documents that are present in the folder (except for print.sh).
The shell script was developed by Emilio Kartono