| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 470 人关注过本帖
标题:VFP如何COM打印?
只看楼主 加入收藏
ljb8864
Rank: 2
等 级:论坛游民
帖 子:171
专家分:14
注 册:2023-6-4
结帖率:2.78%
收藏
已结贴  问题点数:20 回复次数:4 
VFP如何COM打印?
VFP如何COM打印?有没有相关API
搜索更多相关主题的帖子: 打印 VFP API COM 
2023-09-12 09:28
吹水佬
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:451
帖 子:10607
专家分:43186
注 册:2014-5-20
收藏
得分:20 
vfp打印输出通常是使用windwos的打印设备
COM设备厂家有提供接口API时参考开发手册
2023-09-12 09:55
ljb8864
Rank: 2
等 级:论坛游民
帖 子:171
专家分:14
注 册:2023-6-4
收藏
得分:0 
回复 2楼 吹水佬
PrintComm.rar (6.94 KB)


有这个DLL  不知能不能知道里面的函数和参数不?



以下函数怎么调用 :



*!*                                                                                                  
*!*    ??0CPrinterComm@@QAE@XZ                                                                             
*!*    ??1CPrinterComm@@UAE@XZ                                                                             
*!*    ??_7CPrinterComm@@6B@                                                                              
*!*    ?ChkMainboardID@CPrinterComm@@QAEXXZ                                                               
*!*    ?ClearPrinterAlarm@CPrinterComm@@QAEXXZ                                                            
*!*    ?ClosePrintComm@CPrinterComm@@QAEXXZ                                                               
*!*    ?EnableJetPrint@CPrinterComm@@QAEXH@Z                                                               
*!*    ?GetCylinderSensorStatus@CPrinterComm@@QAE?AVCString@@V2@@Z                                         
*!*    ?GetErrMsgCodeNPos@CPrinterComm@@QAE?AVCString@@V2@@Z                                               
*!*    ?GetMainBoardID@CPrinterComm@@QAE?AVCString@@V2@@Z                                                  
*!*    ?GetSensorStatus@CPrinterComm@@QAE?AVCString@@V2@@Z                                                
*!*    ?GetSerialStatus@CPrinterComm@@QAEHVCString@@@Z                                                     
*!*    ?InitPrintComm@CPrinterComm@@QAEHIVCString@@@Z                                                      
*!*    ?IsChastenOver@CPrinterComm@@QAEHVCString@@@Z                                                      
*!*    ?IsLabelClampAway@CPrinterComm@@QAEHVCString@@@Z                                                   
*!*    ?IsPrintOver@CPrinterComm@@QAEHVCString@@@Z                                                         
*!*    ?MoveCylinder@CPrinterComm@@QAEXII@Z                                                               
*!*    ?MoveMotor@CPrinterComm@@QAEXHH@Z                                                                  
*!*    ?PrintLabel@CPrinterComm@@QAEXXZ                                                                    
*!*    ?ResetStepMotor@CPrinterComm@@QAEXXZ                                                               
*!*    ?SendChastenCmd@CPrinterComm@@QAEXVCString@@H@Z                                                     
*!*    ?SendCheckCylinderSensor@CPrinterComm@@QAEXXZ                                                      
*!*    ?SendCheckLabelStatus@CPrinterComm@@QAEXXZ                                                         
*!*    ?SendCheckSensor@CPrinterComm@@QAEXXZ                                                               
*!*    ?SendCheckSerial@CPrinterComm@@QAEXXZ                                                               
*!*    ?SendClampAwayLabel@CPrinterComm@@QAEXXZ                                                            
*!*    ?SendEmpPrnCmd@CPrinterComm@@QAEXXZ                                                                 
*!*    ?SendJetCommand@CPrinterComm@@QAEXAAVCByteArray@@@Z                                                
*!*    ?SendJetDelayTime@CPrinterComm@@QAEXI@Z                                                            
*!*    ?SetClampMode@CPrinterComm@@QAEXI@Z                                                                 
*!*    ?SetLabelitem@CPrinterComm@@QAEXIINVCString@@@Z                                                     
*!*    ?SetPrintSpeed@CPrinterComm@@QAEXI@Z                                                               
*!*    ?SetSuckLBNum@CPrinterComm@@QAEXI@Z   

[此贴子已经被作者于2023-9-12 13:41编辑过]

2023-09-12 12:32
ljb8864
Rank: 2
等 级:论坛游民
帖 子:171
专家分:14
注 册:2023-6-4
收藏
得分:0 
1      ??0CPrinterComm@@QAE@XZ              037313D0      0      
2      ??1CPrinterComm@@UAE@XZ              03731450      0      
3      ??_7CPrinterComm@@6B@                03734240      0      
4      ?ChkMainboardID@CPrinterComm@@QAEXXZ 03732AF0      0      
5      ?ClearPrinterAlarm@CPrinterComm@@QAEXXZ03732240      0      
6      ?ClosePrintComm@CPrinterComm@@QAEXXZ 03731460      0      
19     ?PrintLabel@CPrinterComm@@QAEXXZ     03731C10      0      
20     ?ResetStepMotor@CPrinterComm@@QAEXXZ 037318B0      0      
22     ?SendCheckCylinderSensor@CPrinterComm@@QAEXXZ037331A0      0      
23     ?SendCheckLabelStatus@CPrinterComm@@QAEXXZ03732EC0      0      
24     ?SendCheckSensor@CPrinterComm@@QAEXXZ03731990      0      
25     ?SendCheckSerial@CPrinterComm@@QAEXXZ037317E0      0      
26     ?SendClampAwayLabel@CPrinterComm@@QAEXXZ03732F90      0      
27     ?SendEmpPrnCmd@CPrinterComm@@QAEXXZ  03731E30      0      
7      ?EnableJetPrint@CPrinterComm@@QAEXH@Z037323C0      1      
12     ?GetSerialStatus@CPrinterComm@@QAEHVCString@@@Z03731580      1      
14     ?IsChastenOver@CPrinterComm@@QAEHVCString@@@Z03732850      1      
15     ?IsLabelClampAway@CPrinterComm@@QAEHVCString@@@Z03733060      1      
16     ?IsPrintOver@CPrinterComm@@QAEHVCString@@@Z03731480      1      
28     ?SendJetCommand@CPrinterComm@@QAEXAAVCByteArray@@@Z03732500      1      
29     ?SendJetDelayTime@CPrinterComm@@QAEXI@Z03731F30      1      
30     ?SetClampMode@CPrinterComm@@QAEXI@Z  03732CA0      1      
32     ?SetPrintSpeed@CPrinterComm@@QAEXI@Z 03731A60      1      
33     ?SetSuckLBNum@CPrinterComm@@QAEXI@Z  03732BC0      1      
8      ?GetCylinderSensorStatus@CPrinterComm@@QAE?AVCString@@V2@@Z03733270      2      
9      ?GetErrMsgCodeNPos@CPrinterComm@@QAE?AVCString@@V2@@Z03732030      2      
10     ?GetMainBoardID@CPrinterComm@@QAE?AVCString@@V2@@Z03732960      2      
11     ?GetSensorStatus@CPrinterComm@@QAE?AVCString@@V2@@Z03731690      2      
13     ?InitPrintComm@CPrinterComm@@QAEHIVCString@@@Z03731D40      2      
17     ?MoveCylinder@CPrinterComm@@QAEXII@Z 03732D80      2      
18     ?MoveMotor@CPrinterComm@@QAEXHH@Z    037326E0      2      
21     ?SendChastenCmd@CPrinterComm@@QAEXVCString@@H@Z037325D0      2      
31     ?SetLabelitem@CPrinterComm@@QAEXIINVCString@@@Z03731B40      5      
2023-09-12 13:51
吹水佬
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:451
帖 子:10607
专家分:43186
注 册:2014-5-20
收藏
得分:0 
回复 3楼 ljb8864
找这个DLL的主人要使用手册
2023-09-12 21:08
快速回复:VFP如何COM打印?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.047819 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved