按钮设置如下:
e.Form.Page.Width = 60 '纸张宽度为e.Form.Page.Height = 35 '纸张高度为e.Form.Page.LeftMargin = 3 '设置左边距e.Form.Page.RightMargin = 3 '设置右边距e.Form.Page.TopMargin = 3 '设置上边距e.Form.Page.BottomMargin = 0 '设置下边距Dim doc As PrintDoc = e.Form.GernatePrintDoc()doc.AutoRotate = False doc.Preview()
如何旋转90度打印?谢谢!