类似下面代码
Dim t As Table = Tables("报价表")
Dim temp As Double = t.Grid.Rows(0).Height
t.Grid.Rows(0).Height = 0
With t.PrintInfo
.Title = "对账明细报表"
.PageFooter = "第[PageNo]页,共[PageCount]页"
.PageFooterLine = True
.PaperKind = 9
.LandScape = True
.FitIntoPage = True
.PrintFixedCols = False
End With
t.Print(True,True)
t.Grid.Rows(0).Height = temp