打印
e.Graphics.DrawString("记录", new Font("宋体", 8), Brushes.Black, 20, 220);
e.Graphics.DrawString("区域", new Font("宋体", 8), Brushes.Black, 90, 220);
e.Graphics.DrawString("位置", new Font("宋体", 8), Brushes.Black, 160, 220);
e.Graphics.DrawString("段号", new Font("宋体", 8), Brushes.Black, 230, 220);
e.Graphics.DrawString("面位号", new Font("宋体", 8), Brushes.Black, 300, 220);
e.Graphics.DrawString("部门", new Font("宋体", 8), Brushes.Black, 370, 220);
e.Graphics.DrawString("SKU编号", new Font("宋体", 8), Brushes.Black, 440, 220);
e.Graphics.DrawString("商品名称", new Font("宋体", 8), Brushes.Black, 570, 220);
e.Graphics.DrawString("售价", new Font("宋体", 8), Brushes.Black, 690, 220);
e.Graphics.DrawString("数量", new Font("宋体", 8), Brushes.Black, 750, 220);
e.Graphics.DrawString("—
————————————————————", new Font("宋体", 8), Brushes.Black, 10, 240);
怎么打印一条直线啊? 还有打印的格式怎么弄,字符怎么从右到左?
------解决方案--------------------
e.Graphics.DrawLine
MSDNhttp://msdn.microsoft.com/zh-cn/library/system.drawing.graphics.drawline(VS.80).aspx