To print a pdf file named FILE.pdf doubled sided on the printer in
room 215, type
DVI files from TeX can be conveniently printed on all of the printers.
For example,
There is also a collection of scripts for printing, which some people find
easier to use than the -P option.
They are not printers, but commands you run to print a file.
They all start with dvi
for DVI files and lpr for text and postscript. To print a
DVI file on ljb, type "dvib filename". To print it on the laserjet in
the second floor computer room, type "dvi2 filename".
Duplex printing to lj2: If you are printing a dvi file, you can
print it on two sides of the page on the printer in 215 by typing
To print other types of files on two sides of a page, type
If you know how to add a printer on your Windows machine you can
add a department printer in the usual way, i.e. going to "control
panel", clicking on "printers and faxes", "add a printer", etc.
When asked if you are adding a local printer or a network printer,
select "network printer". At the next step select "add a printer
on the Internet..." and enter the following URL (assuming you
want to add "lj2"):
At the final step you need to select the appropriate driver depending
on the brand and model of the printer you are adding - e.g. lj2 is a
HP LaserJet 4350. Look above for a
complete list of department printers.
Apple > System Preferences > Print & Fax
Click on the "+" button to add another printer.
In the menu that pops up, make sure that "Default Browser" is
selected on top. On the bottom of this window will be "More
Printers..." Instead of just clicking this button, hold down the "alt/
option" key found to the left of the apple key on your keyboard,
while clicking the "More Printers..."
On the top pull down menu, the selection "Advanced" can now be
found. Choose "Advanced"
Now from the Device: pull down menu select Internet Printing Protocol
using HTTP.
Give the Device Name: the printer name for future use and into the
Device URI: insert:
Alternatively, for the Internet Printing Protocol select IPP,
hostname printserver.math.northwestern.edu, queue
printers/<printer name>.
Finally, from the Printer Model, select the printer model given in the
list above.
(i.e., ljb is HP Laser Jet 4250)
- Last Updated: Feb 25, 2008 A Short Guide to Printing in the Math Department
Basically, there are 5 public printers in the department connected to
the Math network. They are
In addition there are several virtual printers
which are the same physical printers as above, but with different
default behavior.
There are three printing commands lpr, enscript, and
dvips which are used with postscript, text and dvi files
respectively as described below. All of these commands permit a
-P, option to specify a non-default printer or non-default
output.
To print postscript, pdf, or text files, use lpr. If you want
to specify a printer other than the default, type "lpr -Pfoo
file", where foo is the name of the printer. Thus, to print a
postscript file named FILE.ps on the second floor B/W printer in 215,
type
lpr -Plj2 FILE.ps
For printing to the color printer type:
lpr -Pcolor FILE.ps
Postscript files should begin with the first line:
%!PS-Adobe
There should not be a space or tab or blank line before this in the file.
So if you got it through the mail, strip the mail headers first.
lpr -Plj2d FILE.pdf
To print a postscript file named FILE.ps doubled sided and stapled
on the Konica copier, type
lpr -Pk2ds FILE.ps
For plain text files, such as email you can obtain nicer output by using the
enscript command. Thus
enscript -Plj2 FILE.txt
will print the file FILE.txt on lj2 nicely formatted with a header
containing the date.
dvips -Plj2d FILE.dvi
will output a double sided document on lj2. Any of the other printers
or virtual printers can be substituted with the -P option to
obtain output on the desired printer in the desired form.
dvi2d filename
To print text or postscript files on two sides of a page on the printer
lj2, type
lpr2d filename
Duplex printing to k2: If you are printing a dvi file, you can
printing it one two sides of the page on the printer in 202 by typing
lprk2d filename
How to add a department printer on a Windows machine
This should work for a machine in the department as well as a
laptop connected to the Northwestern wireless network.
http://printserver.math.northwestern.edu:631/printers/lj2
Replace "lj2" with the name of the printer that you really
want to add. To add the copier use printer name "k2raw"
How to add a department printer on a Mac OS X
(Note: The fine details may vary depending on the machine model and
OS version.)
http://printserver.math.northwestern.edu:631/printers/<printer name>
<sysadm@math.northwestern.edu>