<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>

<!--
     ASCII to XML transformation by Invisible Worlds, Inc.
     http://invisible.net/
     Last transformation: 03-Feb-1999, 02:04:14

     Cannonical version of this document is at:
     http://info.internet.isi.edu/in-notes/rfc/files/rfc2160.txt

     Implementors should verify all content with
     cannonical version.  Failure to do so may result in
     protocol failures.
-->

<rfc number="2160"
     category="std">
<front>
<title abbrev="PostScript in MIME">Carrying PostScript in X.400 and MIME</title>
<author initials="H.T." surname="Alvestrand" fullname="Harald Tveit Alvestrand">
<organization>UNINETT</organization>
<address>
<postal>
<street>Postboks 6883 Elgeseter</street>
<street>N-7002 TRONDHEIM</street>
</postal>
<phone>+47 73 59 70 94</phone>
<email>Harald.T.Alvestrand@uninett.no</email>
</address>
</author>
<date month="January" year="1998"/>
<area>Applications</area>
<keyword>MIME</keyword>
<keyword>PostScript</keyword>
<keyword>ITU message handling service protocol</keyword>
<keyword>multipurpose internet mail extensions</keyword>
</front>
<middle>
<!-- RFC original section: (1.) -->
<section title="Introduction">
<t>
   This document describes methods for carrying PostScript information
   in the two standard mail systems MIME and X.400, and the conversion
   between them. It uses the notational conventions of [BODYMAP], and
   the conversion is further described in [MIXER].
</t>
<t>
   Two ways of carrying PostScript in X.400 are described.  One is using
   the FTAM Body Part, and one uses the Extended Body Part originally
   described in RFC 1494.
</t>
<t>
   The FTAM method is recommended.
</t>
</section>
<!-- RFC original section: (2.) -->
<section title="The PostScript body part">
<t>
   Carrying PostScript in X.400 as an Extended Body Part was originally
   defined in RFC 1494.  This specification carries that work forward
   now that RFC 1494 is obsoleted by [BODYMAP].
</t>
<t>
   The following Extended Body Part is defined for PostScript data
   streams.  It has no parameters.
</t>
<figure><artwork>
      postscript-body-part EXTENDED-BODY-PART-TYPE
        DATA             OCTET STRING
        ::= mime-postscript-body

      mime-postscript-body OBJECT IDENTIFIER ::=
                { mixer-bp-data 2 }
</artwork></figure>
</section>
<!-- RFC original section: (3.) -->
<section title="The PostScript FTBP">
<t>
   The PostScript FTBP is identified by having the
   FileTransferParameters.environment.application-reference set to id-
   mime-ftbp-postscript.
</t>
<t>
   The definition is:
</t>
<figure><artwork>
    id-mime-ftbp-postscript OBJECT IDENTIFIER ::=
                       { mixer-bp-data 6 }
</artwork></figure>
</section>
<!-- RFC original section: (4.) -->
<section title="The Application/PostScript content-type">
<t>
   In MIME, PostScript is carried in the body part
   &quot;application/PostScript&quot;, which is defined in RFC 1521.
</t>
</section>
<!-- RFC original section: (5.) -->
<section title="MIXER conversion">
<t>
   X.400 Body Part: Extended Body Part, OID mime-postscript-body MIME
   Content-Type: application/postscript Conversion Type: No conversion
</t>
<t>
   The two representations of PostScript both contain a single stream of
   octets. This stream of octets can be copied with no problems between
   the representations. No other data needs to be converted.
</t>
</section>
<!-- RFC original section: (6.) -->
<section title="MIXER conversion">
<t>
   X.400 Body Part: FTBP, OID mime-ftbp-postscript-body MIME Content-
   Type: application/postscript Conversion Type: No conversion
</t>
<t>
   The two representations of PostScript both contain a single stream of
   octets. This stream of octets can be copied with no problems between
   the representations. No other data needs to be converted.
</t>
</section>
<!-- RFC original section: (7.) -->
<section title="OID Assignments">
<t>
   The first OID is also defined in [BODYMAP].
</t>
<figure><artwork>
    POSTSCRIPT-MAPPINGS DEFINITIONS ::= BEGIN
    EXPORTS -- everything --;

    IMPORTS
       mixer-bp-data
           FROM MIXER-MAPPINGS

    id-mime-postscript-body OBJECT IDENTIFIER ::=
            { mixer-bp-data 2 };
    id-mime-ftbp-postscript OBJECT IDENTIFIER ::=
            { mixer-bp-data 6 };

    END
</artwork></figure>
</section>
<!-- RFC original section: (8.) -->
<section title="Security Issues">
<t>
   The issues concerning PostScript and security are well discussed in
   RFC 2046.  No additional security issues are identified by this memo.
</t>
</section>
<!-- RFC original section: (9.) -->
<section title="Trademark Issues">
<t>
   PostScript is a trademark of Adobe Systems, Inc.
</t>
</section>
<!-- RFC original section: (10.) -->
<section title="References (BOILERPLATE)">
<t>
This RFC contained boilerplate in this section which has been moved
to the RFC2223-compliant unnumbered section &quot;References.&quot;
</t>
</section>
<!-- RFC original section: (11.) -->
<section title="Author&apos;s Address (BOILERPLATE)">
<t>
This RFC contained boilerplate in this section which has been moved
to the RFC2223-compliant unnumbered section &quot;Author&apos;s Address.&quot;
</t>
</section>
<!-- RFC original section: (12.) -->
<section title="Full Copyright Statement (BOILERPLATE)">
<t>
This RFC contained boilerplate in this section which has been moved
to the RFC2223-compliant unnumbered section &quot;Full Copyright Statement.&quot;
</t>
</section>
</middle>
<back>
</back>
</rfc>
