Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prf — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

PRINTER

PRSVR

6.0;prf (print_file), revision 6.0, 83/02/19
PRF (PRINT_FILE) -- Print a file on the printer.
usage:  PRF pathname... [-FTN | -NPAG | -PLOT] [-PR printer_name]
            [-S site_name] [-PITCH pitch] [-POINT point_size]
            [-WEIGHT font_weight] [-LQ] [-TRANSPARENT]          {CL}


FORMAT

  PRF [pathname...] [options]


  PRF queues a file for printing on a printer by copying the file specified
  into the /SYS/PRINT directory.  The file must be an ASCII stream (i.e., text)
  file or a graphics metafile (GMF).  After successfully queuing a file, PRF
  displays a message containing the print file name.

  Files queued by PRF are printed using the PRINT_SERVER (PRSVR).


ARGUMENTS

  pathname
  (optional)       Specify the file to be printed.  Multiple pathnames and
                   pathname wildcarding are permitted.
                   Default if omitted: read standard input


OPTIONS

  If no options are specified, the file(s) are printed using ASCII carriage
  control, with pagination enabled, on the default printer (as established
  by PRSVR).

  -NPAG            Suppress pagination.  If this option is NOT specified,
                   the number of lines output to each page is the number
                   set when the PRINT_SERVER is initialized; each page
                   includes white space (blank lines) at the top and
                   bottom, with the file name and current page number at
                   the top.

  -FTN             Force use of FORTRAN carriage control.  The -FTN option
                   causes the PRINT_SERVER to use FORTRAN forms control
                   even if the file does not have the FORTRAN carriage
                   control flag.   Use of this option will cause PRF to
                   interpret the first character of each line as a FORTRAN
                   carriage control character (and not print it).  This can
                   be unfortunate if the file has ASCII carriage control,
                   so be careful.

  -PLOT            Specify plot mode.  Include this option to print bit-map
                   files created by a graphics metafile (GMF) manager or
                   the CPSCR (COPY_SCREEN) command.

  -PR name         Specify the printer 'name' for printing the file. This
                   option is useful only if more than one printer is in use
                   on the network, or if a printer has been assigned a
                   nonstandard name with the "PRINTER_NAME" configuration
                   directive in the PRSVR command.  If you omit this option,
                   PRF uses the default printer name, "P".  Note that "P" is
                   also the default printer name used by the PRINT_SERVER.

  -S entry_dir     Specify print queue (/SYS/PRINT) on alternate node by giving
                   that node's entry directory name. This option allows you to
                   maintain more than one printer queue directory.   You may
                   want to maintain separate queues for different organizations,
                   or you may want two queues to provide redundancy in case of
                   node failure.

  -TRANSPARENT     Specify that when the file is printed, the records of the
                   file are to be passed directly to the USER_$WRITE routine
                   with no processing by the PRINT_SERVER.

  The following options are for use with printers supporting variable font and
  pitch sizes.

  -PITCH n         Set the pitch (characters/inch) at which you wish the
                   document to be printed.

  -POINT n         Set the point size for the font to be used. This is a real
                   number in units of a point which is 1/72 inch.

  -LQ              Specify that the document is to be printed in 'letter quality'
                   as opposed to 'draft' mode.  'Draft' mode is the default.

  -WEIGHT value    Set the weight of the font to be used.  Possible values
                   are 'light', 'medium', and 'bold'.  The default is 'medium'.

  PRF uses the command line parser, and so also accepts the standard command
  options listed in HELP CL.


EXAMPLES

  1. $ prf mary -npag -ftn                             Queue "mary"; suppress
     "mary" copied to "/sys/print/p.a.jtj.mary".       pagination; force FORTRAN
     $                                                 carriage control.

  2. $ prf filex -s //tape                                  Queue "filex" to the
     "filex" copied to "//tape/sys/print/p.b.jtj.mary".     printer queue on the
     $                                                      node called //tape.


RELATED TOPICS

  More information is available.  Type:

    - HELP PRINTER
      for general information about printers supported in a DOMAIN network.

    - HELP PRSVR
      for details about the Print Server.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026