PB打印设置中纸张大小的设置方法:
dw_1.Modify("DataWindow.Print.Paper.Size='<大小>' ")
<大小>的取值如下:
0 - Default,
1 - Letter 8.5x11,
2 - Letter Small 8.5x11,
3 - Tabloid 11x17,
4 - Ledger 17x11,
5 - Legal 8.5x14,
6 - Statement 5.5x8.5,
7 - Executive 7.25x10.5,
8 - A3 297x420mm,
9 - A4 210x297mm,
10 - A4 Small 210x297mm,
11 - A5 148x210mm,
12 - B4 250x354,
13 - B5 182x257mm,
14 - Folio 8.5x13,
15 - Quarto 215x275mm,
16 - 10x14,
17 - 11x17,
18 - Note 8.5x11,
19 - Envelope #9 3.88x8.88,
20 - Envelope #10 4.13x9.5,
21 - Envelope #11 4.5x10.38,
22 - Envelope #12 4\276x11,
23 - Envelope #14 5x11.5,
24 - C Size Sheet,
25 - D Size Sheet,
26 - E Size Sheet,
27 - Envelope DL 110x220mm,
28 - Envelope C5 162x229mm,
29 - Envelope C3 324x458mm,
30 - Envelope C4 229x324mm,
31 - Envelope C6 114x162mm,
32 - Envelope C65 114x229mm,
33 - Envelope B4 250x353mm,
34 - Envelope B5 176x250mm,
35 - Envelope B6 176x125mm,
36 - Envelope 110x230mm,
37 - Envelope Monarch 3.875x7.5,
38 - 6.75 Envelope 3.63x6.5,
39 - US Std Fanfold 14.88x11,
40 - German Std Fanfold 8.5x12,
41 - German Legal Fanfold 8.5x13