望指教
谢谢

解决方案 »

  1.   

    是设置PRINTER的ORIENTATION=2为横打吗?
      

  2.   

    Printer.Orientation = vbPRORLandscape
      

  3.   

    Orientation Property
          Returns or sets a value indicating whether documents are printed in portrait or landscape mode. Not available at design time.Syntaxobject.Orientation [= value]The Orientation property syntax has these parts:Part Description 
    Object An object expression that evaluates to an object in the Applies To list. 
    Value A value or constant that determines the page orientation, as described in Settings. 
    SettingsThe settings for value are:Constant Value Description 
    vbPRORPortrait 1 Documents are printed with the top at the narrow side of the paper. 
    vbPRORLandscape 2 Documents are printed with the top at the wide side of the paper. 
    ResThese constants are listed in the Visual Basic (VB) object library in the Object Browser.Note   The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may or may not produce an error. For more information, see the manufacturer's documentation for the specific driver.