Debian Codegraph @

rfc2346.html

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