Printing FAQ
1. Where do you find out what printer to print to?
2. How do I print to a specific printer?
3. How do I print dvi files?
4. How do I print ps or text files?
5. How do I print double-sided?
6. How do I preview my paper with all the graphics properly?
7. How do I print just the cover page?
8. How do I only print the page numbered foo?
9. How do I get a listing of print jobs on a printer?
10. How do I cancel a print job?
11. How do I switch my default printer?
1. Where do you find out what printer to print to?
There are a whole lot of ways to do this:
- The printers are labeled with their names.
- The
cview printers command may be useful
- When you print, it'll default to the printer closest to you.
2. How do I print to a specific printer?
athena% lpr -Pprintername or
athena% dvips -Pprintername.
3. How do I print dvi files?
athena% dvips filename
4. How do I print ps or text files?
athena% lpr filename
5. How do I print double-sided?
Two ways:
- First,
athena% add save, then use dvips2 or as appropriate.
- Use the
-Pprintername2 switch. Eg:
athena% lpr -Pcorfu2
athena% dvips -Pcorfu2
6. How do I preview my paper with all the graphics properly?
Sometimes, xdvi doesn't work. This method will
ensure that your grpahics show up in the preview:
athena% dvips -o /tmp/main.ps main.dvi
athena% gv /tmp/main.ps
7. How do I print just the cover page?
athena% dvips -p \=1 -l \=1
8. How do I only print the page numbered foo?
athena% dvips -pp foo
9. How do I get a listing of print jobs on a printer?
athena% lpq -Pprintername
10. How do I cancel a print job?
To find the job number: athena% lpq
To cancel the job: athena% lprm ####, where #### is the job number.
11. How do I switch my default printer?
athena% setenv PRINTER
<printername>. Note that this only affects programs run
in that xterm.
|