IPP Mail Archive: IPP> H. Registering Print Document Formats

IPP Mail Archive: IPP> H. Registering Print Document Formats

IPP> H. Registering Print Document Formats (PDLs) as MIME media types

From: Carl Kugler (kugler@us.ibm.com)
Date: Fri Mar 09 2001 - 11:58:14 EST

  • Next message: don@lexmark.com: "Re: IPP> H. Registering Print Document Formats (PDLs) as MIME media types"

    > ftp://ftp.pwg.org/pub/pwg/ipp/new_MIME/Print-MIME-tab-010302-rev.pdf

    Another type: ASA carriage control. On most Unix systems: "man asa".

         -Carl

      asa -- Interpret ASA/FORTRAN carriage control

      Format

      asa [file ...]

      Description

      Historically, printouts created by programs use the first character of
      each line to control the spacing between that line and the previous one.
      For example, if the first character is a space, the rest of that line
      immediately follows the previous line; if it is a 1, that line should
      begin on a new page, and so on.

      asa reads input in this format and writes it out in a normal text format,
      using newlines, formfeeds, and carriage returns to achieve the same
      effects as the carriage control characters.

      If you specify files on the command line, asa reads input from these
      files; otherwise, it reads the standard input (stdin). asa writes output
      to the standard output (stdout).

      It does not copy newline characters in the input to the output. Instead,
      it uses the first character of each line to determine how to print the
      rest of the line. asa interprets the first character as follows:

      Space Outputs the rest of the line without change.

      0 Outputs a newline character before printing line.

      1 Outputs a formfeed (start a new page) sequence before printing
              line.

      + Outputs a carriage return sequence so that line is output over
    the
              previous line. If + starts the first line, it's treated as a
              space.

      Localization

      asa uses the following localization environment variables:

       LANG
       LC_ALL
       LC_CTYPE
       LC_MESSAGES
       NLSPATH

      See Appendix E, "Localization" in topic D.0 for more information.

      Exit Values

      0 Successful completion

      1 Failure due to any of the following:

          Write error on stdout
          Inability to open the input file

      2 Unknown command-line option

      Portability

      POSIX.2, X/Open Portability Guide, UNIX System V.



    This archive was generated by hypermail 2b29 : Fri Mar 09 2001 - 11:59:43 EST