next up previous contents
Next: Landscape (or Sideways) Mode Up: Printing the File Previous: Printing the File

Printing on Athena

When you are ready to print out the file, you must convert from dvi format to the format of the printer you are using. To translate filename.dvi to PostScript13 and send it to your default printer, use the command:
dvips filename.dvi
If you have no default printer14 or you want to send the printout to a specific printer use the command:

dvips -Pprintername filename.dvi

replacing printername with the name of the printer to which you want to send your document.

It is possible to obtain the intermediate PostScript file with the command

dvips -o filename.ps filename.dvi

or with dvips filename -o if you don't need to set the PostScript filename.

It is possible to select particular pages out of a document, if you are making changes and want to see what they will look like on paper (note that xdvi gives a very accurate rendition, and should be enough for most purposes). The command

dvips -pfirst -llast -Pprintername filename.dvi

will print from the page numbered ``first'' to the page numbered ``last''. To print without a header page, use

dvips -f filename.dvi | lpr -h

To get more information on dvips, consult the manual page (typing man dvips at your athena prompt). Note that the older dvi2ps program no longer exists on Athena.


next up previous contents
Next: Landscape (or Sideways) Mode Up: Printing the File Previous: Printing the File
Alex Rolfe
1999-10-29