<form id="hbx9t"></form>

<noframes id="hbx9t">

    <em id="hbx9t"><span id="hbx9t"></span></em>

        <noframes id="hbx9t"><address id="hbx9t"><th id="hbx9t"><progress id="hbx9t"></progress></th></address>
        office交流網--QQ交流群號

        Access培訓群:792054000         Excel免費交流群群:686050929          Outlook交流群:221378704    

        Word交流群:218156588             PPT交流群:324131555

        access設置報表打印時所用的紙張大小

        2020-07-03 08:00:00
        tmtony8
        原創
        18916

        在access創建報表中,報表默認是A4紙的大小范圍的。

        因為打印的報表大小都可能不同,我們可以通過代碼控制報表打印的紙張大小


        Dim StrName As String
            On Error Resume Next
             StrName =“報表名稱”
            DoCmd.OpenReport StrName , acViewPreview
            Reports(StrName).Printer.PaperSize = acPRPSEnvB5    '設置打印的紙張大小


        PaperSize 屬性一起用來指示在打印時要使用的紙張大小。

        名稱 說明
        acPRPS10x14 16 10 x 14 英寸。
        acPRPS11x17 17 11 x 17 英寸。
        acPRPSA3 8 A3(297 毫米 x 420 毫米)
        acPRPSA4 9 A4(210 毫米 x 297 毫米)
        acPRPSA4Small 10 A4(?。?10 毫米 x 297 毫米)
        acPRPSA5 11 A5(148 毫米 x 210 毫米)
        acPRPSB4 12 B4(250 毫米 x 354 毫米)
        acPRPSB5 13 B5(148 毫米 x 210 毫米)
        acPRPSCSheet 24 C 型紙
        acPRPSDSheet 25 D 型紙
        acPRPSEnv10 20 信封 #10(4-1/8 英寸 x 9-1/2 英寸)
        acPRPSEnv11 21 信封 #11(4-1/2 英寸 x 10-3/8 英寸)
        acPRPSEnv12 22 信封 #12(4-1/2 英寸 x 11 英寸)
        acPRPSEnv14 23 信封 #14(5 英寸 x 11-1/2 英寸)
        acPRPSEnv9 19 信封 #9(3-7/8 英寸 x 8-7/8 英寸)
        acPRPSEnvB4 33 信封 B4(250 毫米 x 353 毫米)
        acPRPSEnvB5 34 信封 B5(176 毫米 x 250 毫米)
        acPRPSEnvB6 35 信封 B6(176 毫米 x 125 毫米)
        acPRPSEnvC3 29 信封 C3(324 毫米 x 458 毫米)
        acPRPSEnvC4 30 信封 C4(229 毫米 x 324 毫米)
        acPRPSEnvC5 28 信封 C5(162 毫米 x 229 毫米)
        acPRPSEnvC6 31 信封 C6(114 毫米 x 162 毫米)
        acPRPSEnvC65 32 信封 C65(114 毫米 x 229 毫米)
        acPRPSEnvDL 27 信封 DL(110 毫米 x 220 毫米)
        acPRPSEnvItaly 36 意大利式信封(110 毫米 x 230 毫米)
        acPRPSEnvMonarch 37 君主式信封(3-7/8 英寸 x 7-1/2 英寸)
        acPRPSEnvPersonal 38 信封(3-5/8 英寸 x 6-1/2 英寸)
        acPRPSESheet 26 E 型紙
        acPRPSExecutive 7 行政公文紙(7-1/2 英寸 x 10-1/2 英寸)
        acPRPSFanfoldLglGerman 41 德國法律文書用復寫簿(8-1/2 英寸 x 13 英寸)
        acPRPSFanfoldStdGerman 40 德國標準復寫簿(8-1/2 英寸 * 12 英寸)
        acPRPSFanfoldUS 39 美國標準復寫簿(14-7/8 英寸 x 11 英寸)
        acPRPSFolio 14 對開紙(8-1/2 英寸 x 13 英寸)
        acPRPSLedger 4 帳單(17 英寸 x 11 英寸)
        acPRPSLegal 5 法律紙(8-1/2 英寸 x 14 英寸)
        acPRPSLetter 1 信函(8-1/2 英寸 x 11 英寸)
        acPRPSLetterSmall 2 簡式信紙(8-1/2 英寸 x 11 英寸)
        acPRPSNote 18 便箋(8-1/2 英寸 x 11 英寸)
        acPRPSQuarto 15 四開本(215 毫米 x 275 毫米)
        acPRPSStatement 6 報告單(5-1/2 英寸 x 8-1/2 英寸)
        acPRPSTabloid 3 文摘(11 英寸 x 17 英寸)
        acPRPSUser 256 用戶自定義
         
          分享