| 1 |
% If your printer doesn't support setpagedevice, and your default paper |
| 2 |
% size is A4, uncomment this. |
| 3 |
%@ A4size 210mm 297mm |
| 4 |
%@+ %%PaperSize: A4 |
| 5 |
|
| 6 |
% If you want the lettersize definition that uses setpagedevice to be |
| 7 |
% the default, comment this out. |
| 8 |
@ letterSize 8.5in 11in |
| 9 |
|
| 10 |
% More paper size information. First definition is the default. |
| 11 |
% These definitions were generated by the contrib/mkdvipspapers Perl 5 script, |
| 12 |
% by [email protected]. |
| 13 |
% |
| 14 |
% If your default is a4 put the a4 definition first (i.e., before the letter |
| 15 |
% definition). You should always keep a definition here in order to have the |
| 16 |
% document print on the desired paper if possible even outside your original |
| 17 |
% environment. |
| 18 |
% |
| 19 |
% If your default is something else than a4, of course, put its |
| 20 |
% definition first! |
| 21 |
|
| 22 |
@ letter 8.5in 11in |
| 23 |
@+ ! %%DocumentPaperSizes: Letter |
| 24 |
@+ %%PaperSize: Letter |
| 25 |
@+ %%BeginPaperSize: Letter |
| 26 |
@+ /setpagedevice where { |
| 27 |
@+ pop 1 dict dup /PageSize [ 612 792 ] put setpagedevice |
| 28 |
@+ } { |
| 29 |
@+ statusdict /lettertray known { |
| 30 |
@+ statusdict begin lettertray end |
| 31 |
@+ /letter where { pop letter } if |
| 32 |
@+ } { |
| 33 |
@+ /letter where { |
| 34 |
@+ pop letter |
| 35 |
@+ } { |
| 36 |
@+ statusdict /setpage known { |
| 37 |
@+ statusdict begin |
| 38 |
@+ 612 792 0 setpage |
| 39 |
@+ end |
| 40 |
@+ } if |
| 41 |
@+ } ifelse |
| 42 |
@+ } ifelse |
| 43 |
@+ } ifelse |
| 44 |
@+ %%EndPaperSize |
| 45 |
|
| 46 |
@ a4 210mm 297mm |
| 47 |
@+ ! %%DocumentPaperSizes: a4 |
| 48 |
@+ %%PaperSize: a4 |
| 49 |
@+ %%BeginPaperSize: a4 |
| 50 |
@+ /setpagedevice where { |
| 51 |
@+ pop 1 dict dup /PageSize [ 595 842 ] put setpagedevice |
| 52 |
@+ } { |
| 53 |
@+ statusdict /a4tray known { |
| 54 |
@+ statusdict begin a4tray end |
| 55 |
@+ /a4 where { pop a4 } if |
| 56 |
@+ } { |
| 57 |
@+ /a4 where { |
| 58 |
@+ pop a4 |
| 59 |
@+ } { |
| 60 |
@+ statusdict /setpage known { |
| 61 |
@+ statusdict begin |
| 62 |
@+ 595 842 0 setpage |
| 63 |
@+ end |
| 64 |
@+ } if |
| 65 |
@+ } ifelse |
| 66 |
@+ } ifelse |
| 67 |
@+ } ifelse |
| 68 |
@+ %%EndPaperSize |
| 69 |
|
| 70 |
@ 11x17 11in 17in |
| 71 |
@+ ! %%DocumentPaperSizes: 11x17 |
| 72 |
@+ %%PaperSize: 11x17 |
| 73 |
@+ %%BeginPaperSize: 11x17 |
| 74 |
@+ /setpagedevice where { |
| 75 |
@+ pop 1 dict dup /PageSize [ 792 1224 ] put setpagedevice |
| 76 |
@+ } { |
| 77 |
@+ statusdict /11x17tray known { |
| 78 |
@+ statusdict begin 11x17tray end |
| 79 |
@+ /11x17 where { pop 11x17 } if |
| 80 |
@+ } { |
| 81 |
@+ /11x17 where { |
| 82 |
@+ pop 11x17 |
| 83 |
@+ } { |
| 84 |
@+ statusdict /setpage known { |
| 85 |
@+ statusdict begin |
| 86 |
@+ 792 1224 0 setpage |
| 87 |
@+ end |
| 88 |
@+ } if |
| 89 |
@+ } ifelse |
| 90 |
@+ } ifelse |
| 91 |
@+ } ifelse |
| 92 |
@+ %%EndPaperSize |
| 93 |
|
| 94 |
@ a3 297mm 420mm |
| 95 |
@+ ! %%DocumentPaperSizes: a3 |
| 96 |
@+ %%PaperSize: a3 |
| 97 |
@+ %%BeginPaperSize: a3 |
| 98 |
@+ /setpagedevice where { |
| 99 |
@+ pop 1 dict dup /PageSize [ 842 1190 ] put setpagedevice |
| 100 |
@+ } { |
| 101 |
@+ statusdict /a3tray known { |
| 102 |
@+ statusdict begin a3tray end |
| 103 |
@+ /a3 where { pop a3 } if |
| 104 |
@+ } { |
| 105 |
@+ /a3 where { |
| 106 |
@+ pop a3 |
| 107 |
@+ } { |
| 108 |
@+ statusdict /setpage known { |
| 109 |
@+ statusdict begin |
| 110 |
@+ 842 1190 0 setpage |
| 111 |
@+ end |
| 112 |
@+ } if |
| 113 |
@+ } ifelse |
| 114 |
@+ } ifelse |
| 115 |
@+ } ifelse |
| 116 |
@+ %%EndPaperSize |
| 117 |
|
| 118 |
@ b5 177mm 250mm |
| 119 |
@+ ! %%DocumentPaperSizes: b5 |
| 120 |
@+ %%PaperSize: b5 |
| 121 |
@+ %%BeginPaperSize: b5 |
| 122 |
@+ /setpagedevice where { |
| 123 |
@+ pop 1 dict dup /PageSize [ 502 709 ] put setpagedevice |
| 124 |
@+ } { |
| 125 |
@+ statusdict /b5tray known { |
| 126 |
@+ statusdict begin b5tray end |
| 127 |
@+ /ab5 where { pop ab5 } if |
| 128 |
@+ } { |
| 129 |
@+ /ab5 where { |
| 130 |
@+ pop ab5 |
| 131 |
@+ } { |
| 132 |
@+ statusdict /setpage known { |
| 133 |
@+ statusdict begin |
| 134 |
@+ 502 709 0 setpage |
| 135 |
@+ end |
| 136 |
@+ } if |
| 137 |
@+ } ifelse |
| 138 |
@+ } ifelse |
| 139 |
@+ } ifelse |
| 140 |
@+ %%EndPaperSize |
| 141 |
|
| 142 |
@ ledger 11in 17in |
| 143 |
@+ ! %%DocumentPaperSizes: Ledger |
| 144 |
@+ %%PaperSize: Ledger |
| 145 |
@+ %%BeginPaperSize: Ledger |
| 146 |
@+ /setpagedevice where { |
| 147 |
@+ pop 1 dict dup /PageSize [ 792 1224 exch ] put setpagedevice |
| 148 |
@+ } { |
| 149 |
@+ statusdict /ledgertray known { |
| 150 |
@+ statusdict begin ledgertray end |
| 151 |
@+ /ledger where { pop ledger } if |
| 152 |
@+ } { |
| 153 |
@+ /ledger where { |
| 154 |
@+ pop ledger |
| 155 |
@+ } { |
| 156 |
@+ statusdict /setpage known { |
| 157 |
@+ statusdict begin |
| 158 |
@+ 792 1224 1 setpage |
| 159 |
@+ end |
| 160 |
@+ } if |
| 161 |
@+ } ifelse |
| 162 |
@+ } ifelse |
| 163 |
@+ } ifelse |
| 164 |
@+ %%EndPaperSize |
| 165 |
|
| 166 |
@ legal 8.5in 14in |
| 167 |
@+ ! %%DocumentPaperSizes: Legal |
| 168 |
@+ %%PaperSize: Legal |
| 169 |
@+ %%BeginPaperSize: Legal |
| 170 |
@+ /setpagedevice where { |
| 171 |
@+ pop 1 dict dup /PageSize [ 612 1008 ] put setpagedevice |
| 172 |
@+ } { |
| 173 |
@+ statusdict /legaltray known { |
| 174 |
@+ statusdict begin legaltray end |
| 175 |
@+ /legal where { pop legal } if |
| 176 |
@+ } { |
| 177 |
@+ /legal where { |
| 178 |
@+ pop legal |
| 179 |
@+ } { |
| 180 |
@+ statusdict /setpage known { |
| 181 |
@+ statusdict begin |
| 182 |
@+ 612 1008 0 setpage |
| 183 |
@+ end |
| 184 |
@+ } if |
| 185 |
@+ } ifelse |
| 186 |
@+ } ifelse |
| 187 |
@+ } ifelse |
| 188 |
@+ %%EndPaperSize |
| 189 |
|
| 190 |
@ note 7.5in 10in |
| 191 |
@+ ! %%DocumentPaperSizes: Note |
| 192 |
@+ %%PaperSize: Note |
| 193 |
@+ %%BeginPaperSize: Note |
| 194 |
@+ /setpagedevice where { |
| 195 |
@+ pop 1 dict dup /PageSize [ 540 720 ] put setpagedevice |
| 196 |
@+ } { |
| 197 |
@+ statusdict /notetray known { |
| 198 |
@+ statusdict begin notetray end |
| 199 |
@+ /note where { pop note } if |
| 200 |
@+ } { |
| 201 |
@+ /note where { |
| 202 |
@+ pop note |
| 203 |
@+ } { |
| 204 |
@+ statusdict /setpage known { |
| 205 |
@+ statusdict begin |
| 206 |
@+ 540 720 0 setpage |
| 207 |
@+ end |
| 208 |
@+ } if |
| 209 |
@+ } ifelse |
| 210 |
@+ } ifelse |
| 211 |
@+ } ifelse |
| 212 |
@+ %%EndPaperSize |
| 213 |
|
| 214 |
@ tabloid 11in 17in |
| 215 |
@+ ! %%DocumentPaperSizes: Tabloid |
| 216 |
@+ %%PaperSize: Tabloid |
| 217 |
@+ %%BeginPaperSize: Tabloid |
| 218 |
@+ /setpagedevice where { |
| 219 |
@+ pop 1 dict dup /PageSize [ 792 1224 ] put setpagedevice |
| 220 |
@+ } { |
| 221 |
@+ statusdict /11x17tray known { |
| 222 |
@+ statusdict begin 11x17tray end |
| 223 |
@+ /11x17 where { pop 11x17 } if |
| 224 |
@+ } { |
| 225 |
@+ /11x17 where { |
| 226 |
@+ pop 11x17 |
| 227 |
@+ } { |
| 228 |
@+ statusdict /setpage known { |
| 229 |
@+ statusdict begin |
| 230 |
@+ 792 1224 0 setpage |
| 231 |
@+ end |
| 232 |
@+ } if |
| 233 |
@+ } ifelse |
| 234 |
@+ } ifelse |
| 235 |
@+ } ifelse |
| 236 |
@+ %%EndPaperSize |