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

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

don at lexmark.com don at lexmark.com
Fri Mar 9 12:38:19 EST 2001



I thought this was either "LineData" or "LinePrinter" in the current
document?????

**********************************************
* Don Wright                 don at lexmark.com *
* Chair, Printer Working Group               *
* Chair, IEEE MSC                            *
*                                            *
* Director, Strategic & Technical Alliances  *
* Lexmark International                      *
* 740 New Circle Rd                          *
* Lexington, Ky 40550                        *
* 859-232-4808 (phone) 859-232-6740 (fax)    *
**********************************************



"Carl Kugler" <kugler%us.ibm.com at interlock.lexmark.com> on 03/09/2001 11:58:14
AM

To:   ipp%pwg.org at interlock.lexmark.com
cc:   "Harry Lewis" <harryl%us.ibm.com at interlock.lexmark.com> (bcc: Don
      Wright/Lex/Lexmark)
Subject:  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.









More information about the Ipp mailing list