lprcommand. The command syntax is:
to send a file to the named printer. The command
reports the status of the print queue on the named printer. If the
printer name is omitted, both commands use the default printer for
Among other things, the
lpq command will show you the job
numbers of your jobs. This is useful if you
change your mind and want to "kill a print job". To do this, type
lprm without a job number will remove all of your
Otherwise, you can use the command
to create a PostScript file, which you can then print via the
lpr command. By specifying the
you can use shell trickery to direct the output directly to the printer
dvips -f filename.dvi | lpr
Another option is to use the command
lpr -d filename
to send a .dvi file directly to the printer, though this may not work if there are included figures or \special commands. For more information, consult the web pages about TeX and including graphics.
To print color graphics requires the use of special commands, and because of media costs, it is usually advisable to consult with the technical staff about color printing. You can learn more about the necessary commands on the printing page of the Center Software Overview.
lprcommand with that given printer name as described above.
The names and locations of the Center printers are indicated on the equipment map. The names of various printers are also indicated on each printer, if you are standing there looking at a printer, wondering how to get your paper to print there.
The only subtlety about the Center printer names is that the big HP4si
in the main common area has two names:
hpsimplex. When a job is sent to
will print on both sides of the paper, while a job sent
hpsimplex is printed one-sided. On the Macintoshes,
there is no way to printed single-sided pages on the HP, so Mac users
need to choose a different printer for single-sided jobs.
PRINTERenvironment variable , and in general, it doesn't change unless you change it. To examine your
PRINTERenvironment variable , issue the command
printenv PRINTER. To change it, use the command
setenv PRINTERprintername. This command works in the c shell environment that is installed in new accounts by default. If you have changed shells, you may need to use a different command. Note, you can set the PRINTER variable in your
.cshrcif you want to permanently change your default printer. On a NeXT computer, nearly all applications use the same system printer dialog box. Thus, if you change the highlighted printer from within the dialog box, things you print from other applications will also go to that printer. Consequently, if you have lost a printout, try popping up the print dialog on a NeXT and see where it points.
If you are printing something reasonably long, and you think
of it in time, you can use the command
above to find out where your job is currently printing.
On Macintosh systems, again the default printer is typically the HP in the common area. To change the default printer, go to the Chooser, under the apple menu, and select printers. The printer which is highlighted is will be the current default printer.
Created: Fri Sep 8 11:39:00 1995 --- Last modified: Jun 18 1996