这样写
e.Form.Page.LeftMargin = 0 '设置左边距e.Form.Page.RightMargin = 0 '设置右边距e.Form.Page.TopMargin = 0 '设置上边距e.Form.Page.BottomMargin = 0 '设置下边距Dim doc As PrintDoc = e.Form.GernatePrintDoc()doc.Preview()