Data window print parameter setting

zhaozj2021-02-16  77

DW_1.Object.dataWindow.Print.preview = "yes" // Print preview dw_1.object.dataWindow.Print.preview.zoom = 25 // Print preview percentage size dw_1.object.dataWindow.print.Margin.top = 100 // On the on-page margin 1 cm dw_1.object.dataWindow.print.Margin.bottom = 100 // Next margin 1 cm DW_1.Object.DataWindow.print.Margin.Left = 100 // left page margin 1 Centimeter dw_1.object.dataWindow.print.margin.right = 100 // Right page margin 1 cm dw_1.object.dataWindow.Print.preview.rulers = "YES" // Preview There is a scale dw_1.object.dataWindow.Print .orientation = 1 // Print time horizontal dw_1.object.dataWindow.print.orientation = 2 // Print portrait dw_1.object.dataWindow.Print.Paper.Size = 9 // Set paper size is "A4" dw_1.object .DataWindow.Print.Paper.size = 8 //a3dw_1.object.dataWindow.Print.Paper.size = 12 //b4dw_1.object.dataWindow.Print.Paper.size = 13 // Set paper size is "B5" [ A3 is 8] dw_1.object.dataWindow.print.color = 1 // Monochrome dw_1.object.dataWindow.Print.Color = 2 // Color dw_1.object.dataWindow.Print.page.RangeInClude = 0 // Print All Page dw_1.o Bject.dataWindow.print.page.rangeinclude = 1 // Print even page dw_1.object.dataWindow.print.page.rangeinclude = 2 // Print odd page dw_1.object.dataWindow.Print.FileName = "filename" // Print To file dw_1.describe ('dataWindow.printer') // current printer

转载请注明原文地址:https://www.9cbs.com/read-12789.html

New Post(0)