Tutorialpprint




Prev | Up | Next | Back | Forward | Online Documentation Home Page

SYNOPSIS

       pprint [ option ] filelist . . .


DESCRIPTION

       pprint reads each file in filelist and uses Ada-ASSURED in
       batch mode to prettyprint them using the BASEVIEW or  MES-
       SAGES  view.   The name of the formatted version of a file
       is formed by appending a suffix to the original name;  the
       original  file  is  not modified.  The suffix used for the
       BASEVIEW is .pp and for the MESSAGES view it is .enf.

       Operation of pprint requires an Ada-ASSURED batch license.


OPTIONS

       -view viewname
              Prints  the next file in the list in view viewname.
              The default is BASEVIEW.  The  remaining  files  in
              the  argument  list  are  also printed in viewname,
              unless another -view option appears.

       -language 83 | 95
              Use the  specified  choice  for  the  Ada  language
              instead of the default.

       -ps    Produce PostScript output instead of formatting the
              given files.  The default  values  for  the  print-
              setup command will be used and these can be changed
              by using the -xrm option.   This  option  needs  to
              precede  the  filenames.  Only  supported for the X
              version.

       -# n   Print n copies of the given files.  Only valid with
              the -ps or -print option.

       -range from to
              Print the pages starting at from and ending with to
              inclusive.  Only  valid  with  the  -ps  or  -print
              option.

       -xrm string
              Pass the given X resource string string to the edi-
              tor. Only supported for the X version.

       -command command
              Execute the command command before  printing.  Only
              supported  for  the  Microsoft  Windows version and
              should only be used to set  scheme  resource  vari-
              ables using define.

       -print Print  to  the  default printer. Only supported for
              the Microsoft Windows version.

       pprint -ps -xrm '*.sendToPrinter:true' xyz.a
              creates PostScript output and forces the output  to
              the printer.


SEE ALSO

       aa(1).

       Ada-ASSURED User Guide & Reference Manual
       Ada-ASSURED Batch Processing Module Guide
       Part  No. AA-RM-3.5, GrammaTech, Inc.,  317 N. Aurora St.,
       Ithaca, NY 14850.
       Tel: +1 607 273 7340
       Fax: +1 607 273 8752
       Email: admin@grammatech.com
               support@grammatech.com


COPYRIGHT

       Copyright 1997--2004, by GrammaTech, Inc., 317  N.  Aurora
       St., Ithaca, NY 14850.



Ada-ASSURED        Release 3.5, July 2004               PPRINT(l)


Forward