University Systems --> Glue --> Printing --> Printing On A WAM/Glue Sun/Linux Workstation -->

Printing On A WAM/Glue Sun/Linux Workstation

All campus WAM (Workstations at Maryland) machines use Laser Print Cost Recovery (LPCR) Project to print.Therefore, You MUST have a print account to print on Sun or any other WAM machine. Print accounts are available to University of Maryland, College Park undergraduates, graduate students, faculty, staff, and Golden ID holders. For more information on obtaining a print account, go to the Laser Print Cost Recovery Program's home page.


Using the qpr command

Until a X-Windows version of the LPCR program is avalible, printing on Sun machines will be done via the qpr program on WAM.  The syntax of the qpr command when using it at a command prompt is:
 
    sun15csc:~: qpr -q queue-name filename

Where queue-name is the name of print queue in whichever lab you are. (PG2 for the Parking Garage II lab, Hornbake for the Undergraduate Library, and there are others.) filename is the name of a text or postscript file that you wish to send to the printer.

After you issue the qpr command, you will be prompted for your Print Account. This is the number (usually your University ID) issued to you when you obtained your print account. After you enter your print account, you will be prompted for your password. Note: When you type in your account or password, it will NOT be displayed on the screen! If you forget your password or need to change it, go to the Laser Print Cost Recovery Program's home page.


So how do I Print?

You can print from the Suns by having your program direct it's output to a PostScript file instead of a printer, and then sending that postscript file to the print with the qpr command. Many programs on the Suns will automatically do this for you, however, when they run the qpr command, the prompt for your print account will appear in the Xterm window that you opened the program in. Keep this in mind, because if you load the program from the Dash menu, you didn't open an Xterm window first (unless the application was tapped). This means that if you run Firefox from the Button Bar or the Dash menu and hit the Print command, you will never see the prompt asking you for the print account! (In fact, it is redirected to your .xsession-errors file.)


Printing from Applications on the Dash Menu

Until there is a X-Windows version of the qpr program, you can not directly print from applications that you run from the Dash menu. The only way you can directly print from them is to load them from the command line of an Xterm window. Also, the program MUST be the foreground application in that Xterm window when the prompt for your Print Account appears for you to be able to enter it!

Indirectly, if your application supports printing to a postscript file, you can have it save the file on your WAM account, and then send it using the qpr command explained above.

How do I:
How are we doing? Comments on this page?
Office of Information Technology
Office of Information Technology Help Desk Web Site University of Maryland Web Site Office of Information Technology Web Site