简体   繁体   English

如何使用Qt应用程序发送传真?

[英]How can I send a fax with my Qt application?

I have a Qt application which needs to be able to send faxes. 我有一个Qt应用程序,它需要能够发送传真。 I'm wondering if there are any fax libraries I can make use of. 我想知道是否可以使用任何传真库。 I haven't been able to find an obvious solution, so I would appreciate your help. 我还没有找到明显的解决方案,因此,感谢您的帮助。

The application has to run on windows xp / windows 7. 该应用程序必须在Windows XP / Windows 7上运行。

If I am unclear/you need more information, please let me know. 如果我不清楚/您需要更多信息,请告诉我。

EDIT 编辑

There will be a fax machine. 将会有传真机。 I'm not sure how the fax drivers work, but the application should support every fax machine. 我不确定传真驱动程序如何工作,但是应用程序应该支持每台传真机。

I'd make sure your installed fax has a printer driver, that lets you print to it. 我将确保您安装的传真具有打印机驱动程序,以便您进行打印。 Then use the QT print API: http://qt-project.org/doc/qt-5.0/printing.html 然后使用QT打印API: http : //qt-project.org/doc/qt-5.0/printing.html

I'd try it with the print dialog first, and choose the fax machine manually. 我会先在“打印”对话框中尝试一下,然后手动选择传真机。

Then check through all the data in QPrinter 然后检查QPrinter中的所有数据

To see which one has the fax number. 查看哪个有传真号码。 I would hope that it might be the OutPutFileName . 我希望它可能是OutPutFileName


The other way might be to use Microsoft Scripting to send the fax, wrapped in the QtActiveX module 另一种方法可能是使用Microsoft脚本来发送包装在QtActiveX模块中的传真


Finally I googled this: http://msdn.microsoft.com/en-us/library/windows/desktop/ms693482(v=vs.85).aspx 最后我用谷歌搜索了一下: http : //msdn.microsoft.com/zh-cn/library/windows/desktop/ms693482( v=vs.85) .aspx


Sorry it's not a complete answer. 抱歉,这不是一个完整的答案。 I hope it can point you in the right direction though. 我希望它可以为您指明正确的方向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Qt客户端应用程序中显示OSM磁贴? - How can I display my OSM tiles in Qt client application? 如何在Qt应用程序中存储密码? - How can I store a password in my Qt application? 我如何等待由我的应用程序Qt / C ++启动的另一个应用程序启动的应用程序 - How can I wait for an application launched by another application launched by my application Qt/C++ 如何从QT移动应用程序发送和接收Symbian的短信? - How can I Send & Receive SMS from QT mobile application for symbian? 如何使用 Catch 为我的 Qt 应用程序进行第一次测试? - How can I make my first test with Catch for my Qt application? 如何剥离 Qt 库以删除我的应用程序未使用的内容? - How can I strip down the Qt libraries to remove stuff not used by my application? 如何将Qt应用程序主窗口始终置于Windows任务栏上方? - How can I put my Qt Application mainwindow always above the taskbar in Windows? 如果我不能把我的 SQLite 数据库放在我的资源中,我可以把它放在我的 QT 应用程序中的什么位置? - Where can I put my SQLite database in my QT application if I can't put it in my resources? Qt如何向服务器发送https请求? - Qt How can i send https request to server? 如何在 Qt 中为 Windows 设置我的应用程序版本? - How do I set my application version for Windows in Qt?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM