CnPack Forum


 
Subject: 增加一个关于打印机的组件吧
sdshw
新警察
Rank: 1



UID 978
Digest Posts 0
Credits 38
Posts 21
点点分 38
Reading Access 10
Registered 2005-8-8
Status Offline
Post at 2005-8-27 10:26  Profile | Blog | P.M. 
增加一个关于打印机的组件吧

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

[ Last edited by sdshw on 2005-8-27 at 10:28 ]
Top
leon.huang
新警察
Rank: 1



UID 1013
Digest Posts 0
Credits 4
Posts 4
点点分 4
Reading Access 10
Registered 2005-8-31
Status Offline
Post at 2005-8-31 09:19  Profile | Blog | P.M.  | QQ
支持楼上的说法

Top
 




All times are GMT++8, the time now is 2024-5-2 13:29

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006812 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP