GENERAL COMMAND LINE PRINTING INFORMATION



  1. CHECK THE PRINT QUEUE ALWAYS 
      1. pdf files
      2. PRINT SETTINGS FOR Kde type Applications
      3. The Print command
      4. Printing in the linux Lab (default printer)
      5. Printing to Durham
      6. Print Queue Status and Job Removal

CHECK THE PRINT QUEUE ALWAYS 

Always use the lpq command to check the status of the queue. If there is a hung job (check the time) you should email jim to flush the jobs. Sometimes large jobs are sent and never checked and they block the printer for hours preventing others from using the printer. This common with the linux printer to which grad students send their print jobs.
<bash> lpq

pdf files

When printing from an application such as the acrobat reader "acroread" the file must be saved as a postcript level 2 file and then printed using the command line <click here>.

PRINT SETTINGS FOR Kde type Applications

  1. When printing from Konqueror or Kghostview use generic printer option option as the print system to be used for the time being.
    • there is a window where you should enter the command lpr as shown in the above link
  2. To see whether your job went through type at the prompt
    • <bash> lpq


The Print command

<bash> lpr -P[address] filename
general form of the command with the printer address set by the -P flag.

Printing in the linux Lab (default printer)

<bash>lpr filename
prints the file to current default printer e.g, the linux lab printer. You can print the file from the linux lab to a printer in the other labs also. To do this you will need to the address of the printer in the other lab
  • <bash> lpr -Phw2332_lj8100 filename

Printing to Durham

When printing large jobs or color plots for some project you should use the Durham Print center. Their printers are very good and the quality is good too!
-B[number]
# stands for the bin number
-m
flag allows notification via email that job has been completed
-S[number]
single or double sides 1 or 2
-Fbond
Do not punch holes
<bash>lpr -Pdu139_lj4 -B310 -S1 -m filename
$5 grant account
<bash>lpr -Pdu139_lj4 -Gubill_joeusr -B310 -S1 -m filename
printing that will come up in your u-bill
<bash>lpr -Pdu139_color -Gsubsidy_joeusr -B310 -S1 -m file
printing in color
<bash>lpr -Pdu139_color -Gubill_joeusr -Fbond -B310 -S1 -m filename
thesis printing which will be billed to your ubill. Use the -Gubill_joeusr for large jobs

Print Queue Status and Job Removal

<bash>lpq
shows your job status or que
<bash>lprm [job #]
removes your job from the que

You should do a "man" on "lpr" to see other options
  • <bash> man lpr