University Systems --> LPCR - Print Accounts --> General Usage --> LPCR Printing from the Unix Command Prompt -->

LPCR Printing from the Unix Command Prompt

WAM or Glue

Use the qpr command to send a file to the printer. The default printer is defined in the environment variable PRINTER. The default page limit value is 100 cents (10 pages).

The syntax for qpr is: qpr [-q queue] [-m cents] [filename]

You will be prompted for your print account and password, for example:

rac3:~: qpr -q pg2 -m 10 testfile
Print account? [nothing is shown]
Print account password? [nothing is shown]

This command sent the file called "testfile" to the pg2 printer, with a page limit of 10 cents. If testfile was more than 1 page, the other pages would not have printed out.

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