Printing from a UNIX box is accomplished using the lpr command, see below for more information about it. Please note, only text and postscript files can be sent to the printer using lpr. For PDF files, first open Adobe Acrobat (located in /usr/local/Acrobat/bin/acroread, on most systems) and print the file using Adobe Acrobat.
lpr [-Pprinter] [-#copies] [-filter-option] [filename]
This option is used to direct output to a specific printer. If you fail to include this option on the command line, the environmental variable PRINTER is queried to see which printer should be used.
This option is used to specify the number of copies to be printed. For example, -#4, will print four copies.
The following single letter options notify the laser- writer print spooler to use the appropriate filters.
-v standard raster file -t file contains troff binary data -f First character interpreted as Fortan RETURN -d file contains teX data (DVI format from Stanford)
To print two copies of the file HelloWorld.java on the printer called majors, use the following:
lpr -Pmajors -#2 HelloWorld.java
A DVI file (without embedded 1-inch by 1-inch offsets) may be printed using the commands: dvips filename.dvi -Pprinter
For those users who refuse to remove the 1-inch by 1-inch offset from their TeX files, you may still print papers using either
dvips -O -1in,-1in filename.dvi -Pprinter
lpr -d filename.dvi
PRINT QUEUE COMMANDS
lprm [-Pprinter] [-jobID]
This command will display the current print queue for the specified printer.
This command will remove your job from the queue.
This option is used to direct output to a printer, as above.
The ID for your print job can be found by first running lpq and looking for the ID accompanying your username in the list.
man lpr(1), lpq(1), lprm(1), csX(6), cstex(6), a2ps(1), texi2dvi4a2ps(1)
A print accounting system is in place for all users of Computer Science printers. This system records the number of pages printed by each user. A print quota is in place for all users of Computer Science Printers, and is as follows:
- The user shows valid reason for an increase in print quota.
- If the user is a Teaching Assistant, or Research Assistant, and requires printing services for functions directly related to their Assistantship, and the Professor the student is working with requests an increase, not larger than 1,000 pages, to the student’s print quota.
Checking Your Print Quota
To check the status of your print quota use a web browser and go to http://print.cs.fsu.edu. Type in your username. The page will display the number of page you have printed for the semester, the total number of pages you may print, and the number of page credits you have. Credits are how many pages you may print in addition to your quota.