APM Laser Command
-----------------

   The  command  "laser" can be used for placing, examining, and deleteing files
from the laserprinter queue. This command is only available on the 'B' filestore
to users who have been accredited.

Printing a File
---------------
   To print a file type "laser" or "laser filename". In the former case, or if
the file is not found, the program will prompt for a filename. Extensions are
added automatically. Known extensions are: .lay .san .dvi .pdf. Typing a
return in response to the filename prompt will bring the user back to command
level. The message "filename queued for laserprinter" will appear when a file
has been found to print.

You will notice that the name of the file is changed to the name of the user
printing the file plus a unique 2 digit number, a letter and possibly an 
extension.

Examples:

  } laser report                            
  DMB14A.dvi queued for laserprinter

  } laser jim
  Jim not found
  Filename: report.dvi
  DMB15A.dvi queued for laserprinter

  } laser pub:letter
  DMB76A.lay queued for laserprinter

Deleting a file from the queue
------------------------------
  To delete a file from the queue the "-DELete" and "-ENTry" qualifiers can
be used (the capitals show the minimum you have to type). 
Typing "laser-del" will delete the first file belonging to you from
the queue. If you have more than one file in the queue you can delete the
nth entry by typing "laser-del-ent=n", the default for entry being set to 1.
Typing an entry number that does not exist will produce an error.

Examples:

  } laser-del
  lp1:dmb14A.dvi deleted

  } laser-del
  No files found

  } laser-del-ent=3
  2 of your files in queue, couldn't delete entry 3

Looking at the queue
--------------------
  To examine the queue type "laser-Queue" (As above only the 'q' is needed).

Examples:

  } laser-q
  Laserprinter queue:
  DMB168.dvi
  TEXT421.san
  JIM983.lay
  FRED123

  } laser-q
  Laserprinter queue:
  Empty

Special Parameters for DVI files
--------------------------------
  A special parameter -dvi="<string>" exists to allow printing qualifiers to be
used when printing the dvi file, e.g. range of pages, margin offset etc. For the
full list of parameters available see the document `Using TeX in the CS dept.'
A second file is created which contains the parameters. If you subsequently
remove the dvi file from the queue, the parameter file will automatically be
deleted if one exists.

Examples:

  } laser report-dvi="-do=2:5"    Pass the parameter "-do=2:5" to the dvi
                                  printing program.
