Printing
Below are instructions to print from both Windows11
and coxeter/Linux clients to our print server. MacOS
is currently unsupported though it should theoretically work. The available
printers are listed at
http://ps.math.toronto.edu:631/printers
which shows you the queue name, physical location, and the make/model (e.g. lw2,
BA6290A, Xerox Phaser 5550DN).
First you need to make sure that you can access the print server by navigating to http://ps.math.toronto.edu:631/printers in your web browser (if you cannot access the web page please contact requests@math.utoronto.ca with your IP information and how you are connecting to the internet e.g. via the UofT general VPN — you can find out what your IP address is by clicking here). You will need to be a Windows administrator in order to carry out the procedure.
First, from the Start menu select Settings:
Go to Bluetooth & devices and
select Printers & scanners:
At the top where it says Add a printer or scanner click on
Add device (which will change to Refresh).
When Add manually appears click on it:
From the list of options choose
Select a shared printer by name and input the URL in the following
format:
http://ps.math.utoronto.ca:631/printers/<queue name>
where <queue name> is the name of the printer e.g.
lw2 or lw3 (full list available from
http://ps.math.toronto.edu:631/printers).
Click on Next and select Windows Update:
Note that this might take up to 10 minutes or so. Scroll to
Xerox and, for lw2, use
Xerox Phaser 5550 Series Class Driver. Do not
choose any of the other 5550 drivers, they will not work even
if properly installed. The printers lw3 and
lwcam1 also use this same driver.
For lwm select the
Xerox VersaLink B620 Printer V4 PS driver.
For the lwh, lwcam, and
lwhsb printers choose the
Xerox VersaLink B400/B405 V4 PCL6 driver.
At this point Windows will try to install the driver, and will possibly fail as so:
If this happens make sure your Windows OS is activated, fully up-to-date, and freshly rebooted. Try the procedure once again from the start. If the Microsoft servers are overloaded you may have to wait a few hours to try again. Just be patient.
If all works out, however, you will see the following:
Click on Next and click on Print a test page
to make sure it worked.
You can then click Finish to conclude the installation.
On coxeter and departmental Linux computers you can print using the
Print command from the command line. Please type:
Print -h
usage: Print [-h] [-1] [-2] [-a] [-b BORDER] [-c COLUMNS] [-C COPIES] [-d] [-D] [-e] [-f FONTSIZE] [-i]
[-I IDENTIFIER] [-k WATERMARK] [-l] [-m {letter,legal,A4}] [-M] [-n] [-o OUTPUT]
[-p PAGES] [-P PRINTER] [-q] [-Q {3,4,5}] [-r ROWS] [-s] [-t] [-T TRAY] [-v] [-w WIDTH]
[-x XLINE] [infiles ...]
positional arguments:
infiles file names, stdin supported
options:
-h, --help show this help message and exit
-1, --onesided one-sided printing
-2, --twosided two-sided printing (portrait)
-a, --ascii ASCII language
-b BORDER, --border BORDER
* border (margin) size (pts)
-c COLUMNS, --columns COLUMNS
* columns per sheet
-C COPIES, --copies COPIES
number of copies
-d, --display display on-screen
-D, --debug debug mode
-e, --edge draw edge box
-f FONTSIZE, --fontsize FONTSIZE
* ASCII font size (pts)
-i, --info * information header
-I IDENTIFIER, --identifier IDENTIFIER
set the job title/identifier
-k WATERMARK, --watermark WATERMARK
* watermark
-l, --landscape * landscape mode
-m {letter,legal,A4}, --media {letter,legal,A4}
paper media (letter, legal, or A4)
-M, --manual-feed manual feed
-n, --notebook two-sided printing (landscape)
-o OUTPUT, --output OUTPUT
output to file or stdout
-p PAGES, --pages PAGES
page range e.g. -p2-5,9-
-P PRINTER, --printer PRINTER
select printer
-q, --quiet be quiet
-Q {3,4,5}, --quality {3,4,5}
print quality
-r ROWS, --rows ROWS rows of pages per side
-s, --sever * sever long lines
-t, --tall * print in portrait (tall) mode
-T TRAY, --tray TRAY select input tray
-v, --verbose be verbose
-w WIDTH, --width WIDTH
* ASCII line width (characters)
-x XLINE, --xline XLINE
* number every "x" lines
* = only works on plain text files or when "-a" is specified',
< It is strongly suggested you use the "-d" option to view pictures and >
< documents onscreen. >
You may set the DUPLEXMODE and PRINTER variables to change the defaults.
Setting DUPLEXMODE to "0" or "1" will print single-sided, while
double-sided printing can be set by making DUPLEXMODE anything else.
If DUPLEXMODE is unset, two sided printing is: on Max job size: 131072 KB
SUPPORTED FILES> ps, pdf, dvi, txt, and others.
EXAMPLES> Print pages 1-3, 7-10 of an article: Print -p-3,7-10 paper.dvi
Show the ps source onscreen only: Print -a -d paper.ps
Print a pdf file to lw3: Print -Plw3 paper.pdf
PUBLIC PRINTERS> http://ps.math.toronto.edu:631/printers
HELP> Having problems or need extra help? Email: requests@math.toronto.edu
for more information (or click on it to expand in your browser). You
can of course also print using a file viewer such as
okular, or directly from your text editor e.g.
kwrite.
If you wish to use our print server with your personal Linux computer first make sure you have CUPS installed and running:
systemctl status cups
and that you can access the print server by navigating to http://ps.math.toronto.edu:631/printers in your web browser (if you cannot access the web page please contact requests@math.utoronto.ca with your IP information and how you are connecting to the internet e.g. via the UofT general VPN — you can find out what your IP address is by clicking here).
If both CUPS and the web page are accessible create and save the following file (as root):
/etc/cups/client.conf
with just one line inside:
ServerName ps.math.utoronto.ca
and then:
systemctl restart cups
If you then run:
lpstat -a
you will see a list of all available printers. Note that doing this will
use our print server exclusively, if you have a personal printer the above
procedure will make it unavailable. You can revert the above procedure
by deleting the client.conf file and restarting CUPS.