home *** CD-ROM | disk | FTP | other *** search
/ Internet Core Protocols / Oreilly-InternetCoreProtocols.iso / RFCs / rfc2346.txt < prev    next >
Encoding:
Text File  |  1999-10-14  |  12.4 KB  |  340 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                          J. Palme
  8. Request for Comments: 2346                     Stockholm University/KTH
  9. Category: Informational                                        May 1998
  10.  
  11.  
  12.                 Making Postscript and PDF International
  13.  
  14. Status of this Memo
  15.  
  16.    This memo provides information for the Internet community.  It does
  17.    not specify an Internet standard of any kind.  Distribution of this
  18.    memo is unlimited.
  19.  
  20. Copyright Notice
  21.  
  22.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  23.  
  24. Abstract
  25.  
  26.    Certain text formats, for example Postscript (MIME-Type:
  27.    application/postscript; file extension .ps) and Portable Document
  28.    Format (MIME-Type: application/pdf; file extension .pdf) specify
  29.    exactly the page layout of the printed document. The commonly used
  30.    paper format is different in North America and the rest of the world.
  31.    North America uses the 'Letter' format, while the rest of the world
  32.    mostly uses the ISO-standard 'A4' format. This means that documents
  33.    formatted on one continent may not be easily printable on another
  34.    continent. This memo gives advice on how to produce documents which
  35.    are equally well printable with the Letter and the A4 formats. By
  36.    using the advice in this document, you can put up a document on the
  37.    Internet, which recipients can print without problem both in and
  38.    outside North America.
  39.  
  40.    A very short summary of the advice in this document: If you are using
  41.    U.S. Letter paper format, ensure that both the left and right margins
  42.    are at least 21 mm (0.8 in). If you are using A4 paper format, ensure
  43.    that both the top and bottom margins are at least 33 mm (1.3 in).
  44.  
  45. Table of Contents
  46.  
  47.    1. Introduction                                                  2
  48.    2. Two methods for printing on different paper formats           2
  49.       2.1 Method 1: Use wider margins                               2
  50.       2.2 Method 2: Print with reduced size                         3
  51.       2.3 Method 3: Buy paper in the A4 size                        4
  52.    3. Acknowledgements                                              4
  53.    4. Security Considerations                                       4
  54.    5. References                                                    4
  55.  
  56.  
  57.  
  58. Palme                        Informational                      [Page 1]
  59.  
  60. RFC 2346        Making Postscript and PDF International         May 1998
  61.  
  62.  
  63.    6. Author's Address                                              5
  64.    7. Full Copyright Statement                                      6
  65.  
  66. 1.    Introduction
  67.  
  68.    Certain text formats, for example Postscript (MIME-Type:
  69.    application/postscript; file extension .ps) and Portable Document
  70.    Format (MIME-Type: application/pdf;  file extension .pdf) specify
  71.    exactly the page layout of the printed document. The commonly used
  72.    paper format is different in North America and the rest of the world.
  73.    North America uses the 'Letter' format, while the rest of the world
  74.    uses the 'A4' format.
  75.  
  76.    The North American Letter format is 216 x 279 mm (8.5 x 11 in) while
  77.    the ISO standardised A4 format is 210 x 297 mm (8.3 x 11.7 in). The
  78.    Letter format is thus 6 mm (0.2 inches) wider, while the A4 format is
  79.    18 mm (0.7 inches) taller.
  80.  
  81.    This means that documents formatted on one continent may not be
  82.    printable on another continent. It is oboviously desirable that
  83.    documents on the Internet are printable on all continents. This paper
  84.    gives advice on how to achieve this.
  85.  
  86.    This memo is not intended for HTML documents, but the advice may be
  87.    of value also for HTML developers in case they are using fixed-size
  88.    graphics and fixed WIDTH sizes of objects in HTML documents.
  89.  
  90. 2.    Three methods for printing on different paper formats
  91.  
  92. 2.1   Method 1: Use wider margins
  93.  
  94. Paper format
  95. you use when
  96. converting
  97. the document                                 Suggested minimal margins
  98. to Postscript Paper
  99. or PDF        orien-      Suggested change   Left   Right  Top    Bottom
  100.               tation      of margins
  101. ------------  -----------  -----------------  -----  -----  -----  -----
  102. A4           Portrait     Add 18 mm (0.7     20 mm  20 mm  33 mm  33 mm
  103.              (upright,    inches) to the top 0.8"   0.8"   1.3"   1.3"
  104.              vertical)    of page and bottom
  105.                           of page margins
  106.  
  107. A4           Landscape    Add 18 mm (0.7     33 mm  33 mm  15 mm  15 mm
  108.              (lying,      inches) to the     1.3"   1.3"   0.6"   0.6"
  109.              horizontal)  left and right
  110.                           margins
  111.  
  112.  
  113.  
  114. Palme                        Informational                      [Page 2]
  115.  
  116. RFC 2346        Making Postscript and PDF International         May 1998
  117.  
  118.  
  119. Letter       Portrait     Add 6 mm (0.2      20 mm  26 mm  15 mm  15 mm
  120.              (upright,    inches) to the     0.8"   1.0"   0.6"   0.6"
  121.              vertical)    right margins
  122.  
  123. Letter       Landscape    Add 6 mm (0.2      15 mm  15 mm  21 mm  21 mm
  124.              (lying,      inches) to the top 0.6"   0.6"   0.8"   0.8"
  125.              horizontal)  of page and bottom
  126.                           of page margins
  127.  
  128.    The reason why you have to add 18 respectively 6 mm to both the top
  129.    and the bottom margin is that you do not know what kind of printer
  130.    the recipient uses, and different printers feed paper in different
  131.    ways, requiring the margin to be added either at the top or the
  132.    bottom of the paper. Left and right margins on any paper format
  133.    should be at least 20 mm wide to accomodate filing with ISO 838 hole
  134.    punches.
  135.  
  136.    Note: Ensure that also headers, footers, and page numbers are within
  137.    the suggested minimal margins. Many word processors put headers,
  138.    footers and page numbers outside the specified text margins.
  139.  
  140. 2.2   Method 2: Print with reduced size
  141.  
  142.    This is a method useful for the recipient of a document with the
  143.    wrong paper size: The recipient sets the printer to print with
  144.    reduced size.  When the sender produces the PDF or Postscript files,
  145.    the sender should 'print' with 100 % size, but when the recipient
  146.    prints the PDF or Postscript files, and if the program for printing
  147.    PDF or Postscript files allows this, the recipient should print the
  148.    document with 94% or less of full size. Many programs for printing
  149.    Postscript files do not allow this. In that case, the recipient can
  150.    convert a Postscript document to PDF format and then print it with
  151.    the PDF printing program.  This requires, however, that the recipient
  152.    has the Adobe Acrobat Distiller program, which is not freeware.
  153.    Recent versions of the freeware ghostscript can also convert to PDF
  154.    format. The user may also have to specify the paper size as the
  155.    actual paper size loaded in the printer, not the paper size specified
  156.    when the document was converted to PDF or Postscript format.
  157.  
  158.    It is also possible to edit the Postscript file, and add a scale
  159.    command to it, before sending it to the printer.
  160.  
  161.    Method 2 can be more difficult for the recipient, who has to manage
  162.    these settings himself. However, manufacturers of printing software
  163.    may in the future make method 2 easier by making this service
  164.    automatic, perhaps controlled by a 'shrink to fit paper size'
  165.    checkbox in the printing window and a 'default shrink to fit paper
  166.    size' preference setting.
  167.  
  168.  
  169.  
  170. Palme                        Informational                      [Page 3]
  171.  
  172. RFC 2346        Making Postscript and PDF International         May 1998
  173.  
  174.  
  175.    In general, the authors of this RFC recommend PDF as the prefered
  176.    formatted document distribution format over Postscript, not only
  177.    because PDF printing programs typically feature a 'shrink to fit'
  178.    option to handle different paper sizes elegantly, but also because
  179.    PDF has built-in per page data compression, PDF files can be
  180.    displayed without being fully downloaded, PDF is more portable, PDF
  181.    has a better method of rendering fonts not available in the printer
  182.    and PDF allows to embed URLs.
  183.  
  184. 2.3   Method 3: Buy paper in the A4 size
  185.  
  186.    People in North America who often need to print international
  187.    documents might choose to buy paper in the A4 size. It is available
  188.    in the U.S. from many large paper distribution companies, and almost
  189.    all laser printers support it.
  190.  
  191. 3.    Acknowledgements
  192.  
  193.    Markus Kuhn has provided many helpful suggestions on this document.
  194.  
  195.    Adobe, Acrobat, Distiller, Exchange and Postscript are trademarks of
  196.    Adobe Systems Incorporated or its subsidiaries.
  197.  
  198. 4.    Security Considerations
  199.  
  200.    Adherence to the recommendations in this memo will increase the
  201.    likelihood that a document will be readable, and look the same, to
  202.    all recipients, and thus reduce the risk of misunderstanding. The
  203.    recommendation does not in itself introduce any known new security
  204.    risks. Of course, there might be a risk that reliance on the
  205.    recommendations in this memo will make certain writers too sure that
  206.    their documents will look the same.
  207.  
  208.    Postscript (TM) has well known security risks. These are discussed in
  209.    [MIME].
  210.  
  211. 5.    References
  212.  
  213.    A4     Writing paper and certain classes of printed matter
  214.           - Trimmed sizes - A and B series, International
  215.           Standard ISO 216, International Organization for
  216.           Standardization, Geneva, 1975.
  217.  
  218.    ANSI   Bond Papers and Index Bristols - Common Sheet Sizes,
  219.           North American National Standard ANSI X3.151, North
  220.           American National Standards Institute, 1987.
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Palme                        Informational                      [Page 4]
  227.  
  228. RFC 2346        Making Postscript and PDF International         May 1998
  229.  
  230.  
  231.    ISO    Paper - Holes for general filing purposes -
  232.    838    Specifications, International Standard ISO 838,
  233.           International Organization for Standardization,
  234.           Geneva, 1974.
  235.  
  236.    Kuhn   Markus Kuhn: International Standard Paper Sizes.
  237.           <URL:http://www.ft.uni-erlangen.de/~mskuhn/iso-
  238.           paper.html>.
  239.  
  240.    PDF    Tim Bienz, Richard Cohn, James R. Mechan: Portable
  241.           Document Format Reference Manual, Version 1.2, Adobe
  242.           Systems Incorporated,
  243.           <URL:http://www.adobe.com/supportservice/devrelation
  244.           s/PDFS/TN/PDFSPEC.PDF>.
  245.  
  246.    MIME   Freed, N., and N. Borenstein, "Multipurpose Internet Mail
  247.           Extensions (MIME) Part Two: Media Types", RFC 2046,
  248.           November 1996.
  249.  
  250. 6.  Author's Address
  251.  
  252.    Jacob Palme
  253.    Stockholm University and KTH
  254.    Electrum 230
  255.    S-164 40 Kista, Sweden
  256.  
  257.    Phone: +46-8-16 16 67
  258.    Fax:   +46-8-783 08 29
  259.    EMail: jpalme@dsv.su.se
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Palme                        Informational                      [Page 5]
  283.  
  284. RFC 2346        Making Postscript and PDF International         May 1998
  285.  
  286.  
  287. 7.  Full Copyright Statement
  288.  
  289.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  290.  
  291.    This document and translations of it may be copied and furnished to
  292.    others, and derivative works that comment on or otherwise explain it
  293.    or assist in its implementation may be prepared, copied, published
  294.    and distributed, in whole or in part, without restriction of any
  295.    kind, provided that the above copyright notice and this paragraph are
  296.    included on all such copies and derivative works.  However, this
  297.    document itself may not be modified in any way, such as by removing
  298.    the copyright notice or references to the Internet Society or other
  299.    Internet organizations, except as needed for the purpose of
  300.    developing Internet standards in which case the procedures for
  301.    copyrights defined in the Internet Standards process must be
  302.    followed, or as required to translate it into languages other than
  303.    English.
  304.  
  305.    The limited permissions granted above are perpetual and will not be
  306.    revoked by the Internet Society or its successors or assigns.
  307.  
  308.    This document and the information contained herein is provided on an
  309.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  310.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  311.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  312.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  313.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Palme                        Informational                      [Page 6]
  339.  
  340.