Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim doc As New PrintDoc
Dim rx As prt.RenderText
doc.PageSetting.Landscape = false
doc.PageSetting.PaperKind = 0
doc.PageSetting.Width = 187
doc.PageSetting.Height = 102
Dim x As Integer = tables("打印参数")(0)("X参数")
Dim y As Integer = tables("打印参数")(0)("Y参数")
Dim CurRow As Row = Tables("住院收费").Current
rx = new prt.RenderText
rx.Text = CurRow("住院号")
rx.x = 25 + x
rx.y = 17 + y
doc.body.Children.Add(rx)
Dim d As date = CurRow("结账日期")
rx = new prt.RenderText
rx.Text = d.Year
rx.x = 67 + x
rx.y = 17 + y
doc.body.Children.Add(rx)
...............中间省略..
rx = new prt.RenderText
rx.Text = CUNumber(GetDigit(m,5))
rx.x = 45 + x
rx.y = 74 + y
doc.body.Children.Add(rx)
Doc.Preview()
doc.print()