Delphi 打印纸张选项设置参数

{ paper selections }

{$EXTERNALSYM DMPAPER_LETTER}
DMPAPER_LETTER = 1; { Letter 8 12 x 11 in }
{$EXTERNALSYM DMPAPER_FIRST}
DMPAPER_FIRST = DMPAPER_LETTER;
{$EXTERNALSYM DMPAPER_LETTERSMALL}
DMPAPER_LETTERSMALL = 2; { Letter Small 8 12 x 11 in }
{$EXTERNALSYM DMPAPER_TABLOID}
DMPAPER_TABLOID = 3; { Tabloid 11 x 17 in }
{$EXTERNALSYM DMPAPER_LEDGER}
DMPAPER_LEDGER = 4; { Ledger 17 x 11 in }
{$EXTERNALSYM DMPAPER_LEGAL}
DMPAPER_LEGAL = 5; { Legal 8 12 x 14 in }
{$EXTERNALSYM DMPAPER_STATEMENT}
DMPAPER_STATEMENT = 6; { Statement 5 12 x 8 12 in }
{$EXTERNALSYM DMPAPER_EXECUTIVE}
DMPAPER_EXECUTIVE = 7; { Executive 7 14 x 10 12 in }
{$EXTERNALSYM DMPAPER_A3}
DMPAPER_A3 = 8; { A3 297 x 420 mm }
{$EXTERNALSYM DMPAPER_A4}
DMPAPER_A4 = 9; { A4 210 x 297 mm }
{$EXTERNALSYM DMPAPER_A4SMALL}
DMPAPER_A4SMALL = 10; { A4 Small 210 x 297 mm }
{$EXTERNALSYM DMPAPER_A5}
DMPAPER_A5 = 11; { A5 148 x 210 mm }
{$EXTERNALSYM DMPAPER_B4}
DMPAPER_B4 = 12; { B4 (JIS) 250 x 354 }
{$EXTERNALSYM DMPAPER_B5}
DMPAPER_B5 = 13; { B5 (JIS) 182 x 257 mm }
{$EXTERNALSYM DMPAPER_FOLIO}
DMPAPER_FOLIO = 14; { Folio 8 12 x 13 in }
{$EXTERNALSYM DMPAPER_QUARTO}
DMPAPER_QUARTO = 15; { Quarto 215 x 275 mm }
{$EXTERNALSYM DMPAPER_10X14}
DMPAPER_10X14 = 16; { 10x14 in }
{$EXTERNALSYM DMPAPER_11X17}
DMPAPER_11X17 = 17; { 11x17 in }
{$EXTERNALSYM DMPAPER_NOTE}
DMPAPER_NOTE = 18; { Note 8 12 x 11 in }
{$EXTERNALSYM DMPAPER_ENV_9}
DMPAPER_ENV_9 = 19; { Envelope #9 3 78 x 8 78 }
{$EXTERNALSYM DMPAPER_ENV_10}
DMPAPER_ENV_10 = 20; { Envelope #10 4 18 x 9 12 }
{$EXTERNALSYM DMPAPER_ENV_11}
DMPAPER_ENV_11 = 21; { Envelope #11 4 12 x 10 38 }
{$EXTERNALSYM DMPAPER_ENV_12}
DMPAPER_ENV_12 = 22; { Envelope #12 4 \276 x 11 }
{$EXTERNALSYM DMPAPER_ENV_14}
DMPAPER_ENV_14 = 23; { Envelope #14 5 x 11 12 }
{$EXTERNALSYM DMPAPER_CSHEET}
DMPAPER_CSHEET = 24; { C size sheet }
{$EXTERNALSYM DMPAPER_DSHEET}
DMPAPER_DSHEET = 25; { D size sheet }
{$EXTERNALSYM DMPAPER_ESHEET}
DMPAPER_ESHEET = 26; { E size sheet }
{$EXTERNALSYM DMPAPER_ENV_DL}
DMPAPER_ENV_DL = 27; { Envelope DL 110 x 220mm }
{$EXTERNALSYM DMPAPER_ENV_C5}
DMPAPER_ENV_C5 = 28; { Envelope C5 162 x 229 mm }
{$EXTERNALSYM DMPAPER_ENV_C3}
DMPAPER_ENV_C3 = 29; { Envelope C3 324 x 458 mm }
{$EXTERNALSYM DMPAPER_ENV_C4}
DMPAPER_ENV_C4 = 30; { Envelope C4 229 x 324 mm }
{$EXTERNALSYM DMPAPER_ENV_C6}
DMPAPER_ENV_C6 = 31; { Envelope C6 114 x 162 mm }
{$EXTERNALSYM DMPAPER_ENV_C65}
DMPAPER_ENV_C65 = 32; { Envelope C65 114 x 229 mm }
{$EXTERNALSYM DMPAPER_ENV_B4}
DMPAPER_ENV_B4 = 33; { Envelope B4 250 x 353 mm }
{$EXTERNALSYM DMPAPER_ENV_B5}
DMPAPER_ENV_B5 = 34; { Envelope B5 176 x 250 mm }
{$EXTERNALSYM DMPAPER_ENV_B6}
DMPAPER_ENV_B6 = 35; { Envelope B6 176 x 125 mm }
{$EXTERNALSYM DMPAPER_ENV_ITALY}
DMPAPER_ENV_ITALY = 36; { Envelope 110 x 230 mm }
{$EXTERNALSYM DMPAPER_ENV_MONARCH}
DMPAPER_ENV_MONARCH = 37; { Envelope Monarch 3.875 x 7.5 in }
{$EXTERNALSYM DMPAPER_ENV_PERSONAL}
DMPAPER_ENV_PERSONAL = 38; { 6 34 Envelope 3 58 x 6 12 in }
{$EXTERNALSYM DMPAPER_FANFOLD_US}
DMPAPER_FANFOLD_US = 39; { US Std Fanfold 14 78 x 11 in }
{$EXTERNALSYM DMPAPER_FANFOLD_STD_GERMAN}
DMPAPER_FANFOLD_STD_GERMAN = 40; { German Std Fanfold 8 12 x 12 in }
{$EXTERNALSYM DMPAPER_FANFOLD_LGL_GERMAN}
DMPAPER_FANFOLD_LGL_GERMAN = 41; { German Legal Fanfold 8 12 x 13 in }
{$EXTERNALSYM DMPAPER_ISO_B4}
DMPAPER_ISO_B4 = 42; { B4 (ISO) 250 x 353 mm }
{$EXTERNALSYM DMPAPER_JAPANESE_POSTCARD}
DMPAPER_JAPANESE_POSTCARD = 43; { Japanese Postcard 100 x 148 mm }
{$EXTERNALSYM DMPAPER_9X11}
DMPAPER_9X11 = 44; { 9 x 11 in }
{$EXTERNALSYM DMPAPER_10X11}
DMPAPER_10X11 = 45; { 10 x 11 in }
{$EXTERNALSYM DMPAPER_15X11}
DMPAPER_15X11 = 46; { 15 x 11 in }
{$EXTERNALSYM DMPAPER_ENV_INVITE}
DMPAPER_ENV_INVITE = 47; { Envelope Invite 220 x 220 mm }
{$EXTERNALSYM DMPAPER_RESERVED_48}
DMPAPER_RESERVED_48 = 48; { RESERVED--DO NOT USE }
{$EXTERNALSYM DMPAPER_RESERVED_49}
DMPAPER_RESERVED_49 = 49; { RESERVED--DO NOT USE }
{$EXTERNALSYM DMPAPER_LETTER_EXTRA}
DMPAPER_LETTER_EXTRA = 50; { Letter Extra 9 \275 x 12 in }
{$EXTERNALSYM DMPAPER_LEGAL_EXTRA}
DMPAPER_LEGAL_EXTRA = 51; { Legal Extra 9 \275 x 15 in }
{$EXTERNALSYM DMPAPER_TABLOID_EXTRA}
DMPAPER_TABLOID_EXTRA = 52; { Tabloid Extra 11.69 x 18 in }
{$EXTERNALSYM DMPAPER_A4_EXTRA}
DMPAPER_A4_EXTRA = 53; { A4 Extra 9.27 x 12.69 in }
{$EXTERNALSYM DMPAPER_LETTER_TRANSVERSE}
DMPAPER_LETTER_TRANSVERSE = 54; { Letter Transverse 8 \275 x 11 in }
{$EXTERNALSYM DMPAPER_A4_TRANSVERSE}
DMPAPER_A4_TRANSVERSE = 55; { A4 Transverse 210 x 297 mm }
{$EXTERNALSYM DMPAPER_LETTER_EXTRA_TRANSVERSE}
DMPAPER_LETTER_EXTRA_TRANSVERSE = 56; { Letter Extra Transverse 9\275 x 12 in }
{$EXTERNALSYM DMPAPER_A_PLUS}
DMPAPER_A_PLUS = 57; { SuperASuperAA4 227 x 356 mm }
{$EXTERNALSYM DMPAPER_B_PLUS}
DMPAPER_B_PLUS = 58; { SuperBSuperBA3 305 x 487 mm }
{$EXTERNALSYM DMPAPER_LETTER_PLUS}
DMPAPER_LETTER_PLUS = 59; { Letter Plus 8.5 x 12.69 in }
{$EXTERNALSYM DMPAPER_A4_PLUS}
DMPAPER_A4_PLUS = 60; { A4 Plus 210 x 330 mm }
{$EXTERNALSYM DMPAPER_A5_TRANSVERSE}
DMPAPER_A5_TRANSVERSE = 61; { A5 Transverse 148 x 210 mm }
{$EXTERNALSYM DMPAPER_B5_TRANSVERSE}
DMPAPER_B5_TRANSVERSE = 62; { B5 (JIS) Transverse 182 x 257 mm }
{$EXTERNALSYM DMPAPER_A3_EXTRA}
DMPAPER_A3_EXTRA = 63; { A3 Extra 322 x 445 mm }
{$EXTERNALSYM DMPAPER_A5_EXTRA}
DMPAPER_A5_EXTRA = $40; { A5 Extra 174 x 235 mm }
{$EXTERNALSYM DMPAPER_B5_EXTRA}
DMPAPER_B5_EXTRA = 65; { B5 (ISO) Extra 201 x 276 mm }
{$EXTERNALSYM DMPAPER_A2}
DMPAPER_A2 = 66; { A2 420 x 594 mm }
{$EXTERNALSYM DMPAPER_A3_TRANSVERSE}
DMPAPER_A3_TRANSVERSE = 67; { A3 Transverse 297 x 420 mm }
{$EXTERNALSYM DMPAPER_A3_EXTRA_TRANSVERSE}
DMPAPER_A3_EXTRA_TRANSVERSE = 68; { A3 Extra Transverse 322 x 445 mm }
{
** the following sizes are reserved for the Far East version of Win95.
** Rotated papers rotate the physical page but not the logical page.
}
{$EXTERNALSYM DMPAPER_DBL_JAPANESE_POSTCARD}
DMPAPER_DBL_JAPANESE_POSTCARD = 69; { Japanese Double Postcard 200 x 148 mm }

{$EXTERNALSYM DMPAPER_A6}
DMPAPER_A6 = 70; { A6 105 x 148 mm }

{$EXTERNALSYM DMPAPER_JENV_KAKU2 }
DMPAPER_JENV_KAKU2 = 71; { Japanese Envelope Kaku #2 }
{$EXTERNALSYM DMPAPER_JENV_KAKU3 }
DMPAPER_JENV_KAKU3 = 72; { Japanese Envelope Kaku #3 }
{$EXTERNALSYM DMPAPER_JENV_CHOU3 }
DMPAPER_JENV_CHOU3 = 73; { Japanese Envelope Chou #3 }
{$EXTERNALSYM DMPAPER_JENV_CHOU4 }
DMPAPER_JENV_CHOU4 = 74; { Japanese Envelope Chou #4 }
{$EXTERNALSYM DMPAPER_LETTER_ROTATED }
DMPAPER_LETTER_ROTATED = 75; { Letter Rotated 11 x 8 1/2 11 in }
{$EXTERNALSYM DMPAPER_A3_ROTATED }
DMPAPER_A3_ROTATED = 76; { A3 Rotated 420 x 297 mm }
{$EXTERNALSYM DMPAPER_A4_ROTATED }
DMPAPER_A4_ROTATED = 77; { A4 Rotated 297 x 210 mm }
{$EXTERNALSYM DMPAPER_A5_ROTATED }
DMPAPER_A5_ROTATED = 78; { A5 Rotated 210 x 148 mm }
{$EXTERNALSYM DMPAPER_B4_JIS_ROTATED }
DMPAPER_B4_JIS_ROTATED = 79; { B4 (JIS) Rotated 364 x 257 mm }
{$EXTERNALSYM DMPAPER_B5_JIS_ROTATED }
DMPAPER_B5_JIS_ROTATED = 80; { B5 (JIS) Rotated 257 x 182 mm }
{$EXTERNALSYM DMPAPER_JAPANESE_POSTCARD_ROTATED }
DMPAPER_JAPANESE_POSTCARD_ROTATED = 81; { Japanese Postcard Rotated 148 x 100 mm }
{$EXTERNALSYM DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED }
DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED = 82; { Double Japanese Postcard Rotated 148 x 200 mm }
{$EXTERNALSYM DMPAPER_A6_ROTATED }
DMPAPER_A6_ROTATED = 83; { A6 Rotated 148 x 105 mm }
{$EXTERNALSYM DMPAPER_JENV_KAKU2_ROTATED }
DMPAPER_JENV_KAKU2_ROTATED = 84; { Japanese Envelope Kaku #2 Rotated}
{$EXTERNALSYM DMPAPER_JENV_KAKU3_ROTATED }
DMPAPER_JENV_KAKU3_ROTATED = 85; { Japanese Envelope Kaku #3 Rotated}
{$EXTERNALSYM DMPAPER_JENV_CHOU3_ROTATED }
DMPAPER_JENV_CHOU3_ROTATED = 86; { Japanese Envelope Chou #3 Rotated}
{$EXTERNALSYM DMPAPER_JENV_CHOU4_ROTATED }
DMPAPER_JENV_CHOU4_ROTATED = 87; { Japanese Envelope Chou #4 Rotated}
{$EXTERNALSYM DMPAPER_B6_JIS }
DMPAPER_B6_JIS = 88; { B6 (JIS) 128 x 182 mm }
{$EXTERNALSYM DMPAPER_B6_JIS_ROTATED }
DMPAPER_B6_JIS_ROTATED = 89; { B6 (JIS) Rotated 182 x 128 mm }
{$EXTERNALSYM DMPAPER_12X11 }
DMPAPER_12X11 = 90; { 12 x 11 in }
{$EXTERNALSYM DMPAPER_JENV_YOU4 }
DMPAPER_JENV_YOU4 = 91; { Japanese Envelope You #4 }
{$EXTERNALSYM DMPAPER_JENV_YOU4_ROTATED }
DMPAPER_JENV_YOU4_ROTATED = 92; { Japanese Envelope You #4 Rotated}
{$EXTERNALSYM DMPAPER_P16K }
DMPAPER_P16K = 93; { PRC 16K 146 x 215 mm }
{$EXTERNALSYM DMPAPER_P32K }
DMPAPER_P32K = 94; { PRC 32K 97 x 151 mm }
{$EXTERNALSYM DMPAPER_P32KBIG }
DMPAPER_P32KBIG = 95; { PRC 32K(Big) 97 x 151 mm }
{$EXTERNALSYM DMPAPER_PENV_1 }
DMPAPER_PENV_1 = 96; { PRC Envelope #1 102 x 165 mm }
{$EXTERNALSYM DMPAPER_PENV_2 }
DMPAPER_PENV_2 = 97; { PRC Envelope #2 102 x 176 mm }
{$EXTERNALSYM DMPAPER_PENV_3 }
DMPAPER_PENV_3 = 98; { PRC Envelope #3 125 x 176 mm }
{$EXTERNALSYM DMPAPER_PENV_4 }
DMPAPER_PENV_4 = 99; { PRC Envelope #4 110 x 208 mm }
{$EXTERNALSYM DMPAPER_PENV_5 }
DMPAPER_PENV_5 = 100; { PRC Envelope #5 110 x 220 mm }
{$EXTERNALSYM DMPAPER_PENV_6 }
DMPAPER_PENV_6 = 101; { PRC Envelope #6 120 x 230 mm }
{$EXTERNALSYM DMPAPER_PENV_7 }
DMPAPER_PENV_7 = 102; { PRC Envelope #7 160 x 230 mm }
{$EXTERNALSYM DMPAPER_PENV_8 }
DMPAPER_PENV_8 = 103; { PRC Envelope #8 120 x 309 mm }
{$EXTERNALSYM DMPAPER_PENV_9 }
DMPAPER_PENV_9 = 104; { PRC Envelope #9 229 x 324 mm }
{$EXTERNALSYM DMPAPER_PENV_10 }
DMPAPER_PENV_10 = 105; { PRC Envelope #10 324 x 458 mm }
{$EXTERNALSYM DMPAPER_P16K_ROTATED }
DMPAPER_P16K_ROTATED = 106; { PRC 16K Rotated }
{$EXTERNALSYM DMPAPER_P32K_ROTATED }
DMPAPER_P32K_ROTATED = 107; { PRC 32K Rotated }
{$EXTERNALSYM DMPAPER_P32KBIG_ROTATED }
DMPAPER_P32KBIG_ROTATED = 108; { PRC 32K(Big) Rotated }
{$EXTERNALSYM DMPAPER_PENV_1_ROTATED }
DMPAPER_PENV_1_ROTATED = 109; { PRC Envelope #1 Rotated 165 x 102 mm}
{$EXTERNALSYM DMPAPER_PENV_2_ROTATED }
DMPAPER_PENV_2_ROTATED = 110; { PRC Envelope #2 Rotated 176 x 102 mm}
{$EXTERNALSYM DMPAPER_PENV_3_ROTATED }
DMPAPER_PENV_3_ROTATED = 111; { PRC Envelope #3 Rotated 176 x 125 mm}
{$EXTERNALSYM DMPAPER_PENV_4_ROTATED }
DMPAPER_PENV_4_ROTATED = 112; { PRC Envelope #4 Rotated 208 x 110 mm}
{$EXTERNALSYM DMPAPER_PENV_5_ROTATED }
DMPAPER_PENV_5_ROTATED = 113; { PRC Envelope #5 Rotated 220 x 110 mm}
{$EXTERNALSYM DMPAPER_PENV_6_ROTATED }
DMPAPER_PENV_6_ROTATED = 114; { PRC Envelope #6 Rotated 230 x 120 mm}
{$EXTERNALSYM DMPAPER_PENV_7_ROTATED }
DMPAPER_PENV_7_ROTATED = 115; { PRC Envelope #7 Rotated 230 x 160 mm}
{$EXTERNALSYM DMPAPER_PENV_8_ROTATED }
DMPAPER_PENV_8_ROTATED = 116; { PRC Envelope #8 Rotated 309 x 120 mm}
{$EXTERNALSYM DMPAPER_PENV_9_ROTATED }
DMPAPER_PENV_9_ROTATED = 117; { PRC Envelope #9 Rotated 324 x 229 mm}
{$EXTERNALSYM DMPAPER_PENV_10_ROTATED }
DMPAPER_PENV_10_ROTATED = 118; { PRC Envelope #10 Rotated 458 x 324 mm }
{$EXTERNALSYM DMPAPER_LAST}
DMPAPER_LAST = DMPAPER_PENV_10_ROTATED;
{$EXTERNALSYM DMPAPER_USER}
DMPAPER_USER = $100;

Delphi 打印纸张选项设置参数

上一篇:c# 事件与委托


下一篇:(五)WebDriver API之定位元素-Link定位