2005-8-27 10:26
sdshw
增加一个关于打印机的组件吧
增加一个关于打印机的组件吧
实现对打印机的绝对控制
比如可以象在dos中一样,可以检测到打印机是关机还是开机,是否准备好等...
可以方便的切换打印机,可以方便的自定义纸张,
可以方便的精确控制打印位置
打印的项目是一个类 有位置,内容等
将打印项目放入打印机类中
比如:
PrintItem.top=10;
PrintItem.left=10;
PrintItem.caption='adfdsfds';
...
MyPrinter.Printer='Epson LQ-300K';
MyPrinter.PrintItems.Add(PrintItem);
...
MyPrinter.Print;
[[i] Last edited by sdshw on 2005-8-27 at 10:28 [/i]]