标签: 计算机软件 |
IF messageBox("提示","是否打印?",Exclamation!, OKCancel!,1) = 1 Then
Else
End IF
dw_1.object.datawindow.print.preview
dw_1.object.datawindow.print.preview.zoom
dw_1.object.datawindow.print.margin.top
dw_1.object.datawindow.print.margin.bottom = 100 //下页边距1厘米
dw_1.object.datawindow.print.margin.left
dw_1.object.datawindow.print.margin.right
dw_1.object.datawindow.print.preview.rulers = "yes" //预览时有标尺
dw_1.object.datawindow.print.orientation
dw_1.object.datawindow.print.orientation
dw_1.object.datawindow.print.paper.size
dw_1.object.datawindow.print.paper.size
dw_1.object.datawindow.print.paper.size
dw_1.object.datawindow.print.paper.size
dw_1.object.datawindow.print.color
dw_1.object.datawindow.print.color
dw_1.object.datawindow.print.page.rangeinclude = 0 //打印所有页
dw_1.object.datawindow.print.page.rangeinclude = 1 //打印偶数页
dw_1.object.datawindow.print.page.rangeinclude = 2 //打印奇数页
dw_1.object.datawindow.print.filename
dw_1.describe('datawindow.printer')
dw_report.Object.DataWindow.Print.Orientation = 0 //default 打印机默认dw_report.Object.DataWindow.Print.Orientation = 1 //landscape 横向dw_report.Object.DataWindow.Print.Orientation =