Help: Network Printing

Printing:

dogps is the default DogNET printer. If you type:

      $ lpr <filename>

The document will be printed out on the printer on C012.

To print files on a different printer (see list below), type:

      $ lpr -P<printer> <filename>



Canceling a print job:

  1. First list the pending jobs, type lpq -P<printer>. The output should look similar:
    merantn@fang:~>lpq -Pc012
    c012lpr is ready and printing
    Rank   Owner      Job  Files                                 Total Size
    1st    merantn    524  /etc/printcap                         1429 bytes
    2nd    merantn    525  /etc/printcap                         1429 bytes
    3rd    merantn    526  /etc/printcap                         1429 bytes
    
  2. Find the job number to cancel, within the Job column.
  3. Type lprm -P<printer> <job>


Examples:

To print the file testpage on the C122 laser:

      $ lpr -Pc122lpr testpage

To cancel job number 525 on C012lpr:

      $ lprm -Pc012lpr 525

Printers accessible from DogNET

In most cases, the name of the printer is based on its location.

Printer name Location Model
c012lpr C012 HP LaserJet 8150N
c014lpr C014 HP LaserJet 8150DN
c014clr C014 HP Color LaserJet 3800
c107lpr C107 HP DeskJet 6p
c109lpr C109 HP LaserJet 4250
c122lpr C122 HP LaserJet 4250tn
c122clr C122 Lexmark C720 Color Laser
b118lpr B118 HP LaserJet 4350