FAXCOMEXLib 和 Windows 传真服务可以发送彩色传真吗?

发布于 2024-08-26 06:43:48 字数 545 浏览 4 评论 0原文

我们正在测试从 C# 代码发送传真的不同选项(接收传真不是必需的)。这些选项之一是使用 FAXCOMEXLib。

毫不奇怪,我在发送 Black & 广告方面取得了相当大的成功。带有 FAXCOMExLib 的白色传真。但我们也有要求支持发送彩色传真。所以我执行以下代码(只是一个片段):

IFaxDocument oFaxDoc = new FaxDocumentClass();
oFaxDoc.Body = @"C:\Test\color_image.jpg";
oFaxDoc.ConnectedSubmit(m_oFaxServer);

图像为 24 位颜色,1728x2304,204x196 dpi。

在大多数情况下,此过程有效(有一些小问题),并且传真显示在我的“Windows 传真和扫描”发件箱中(我使用的是 Vista)。问题是图像已抖动为 1 位黑色和 1 位黑色。白色图像。我假设我在“Windows 传真和扫描”中看到的内容就是实际传输的内容。

那么有没有办法利用这种技术发送彩色传真呢?我们是否缺少某个配置选项来使其工作?

We are in the process of testing different options for sending faxes from within our C# code (receiving faxes is not necessary). One of those options is to use FAXCOMEXLib.

Without surprise, I've had pretty good success sending out black & white faxes with FAXCOMExLib. But we also have a requirement to support sending color faxes. So I execute the following code (just a snippet):

IFaxDocument oFaxDoc = new FaxDocumentClass();
oFaxDoc.Body = @"C:\Test\color_image.jpg";
oFaxDoc.ConnectedSubmit(m_oFaxServer);

The image is 24bit color, 1728x2304, 204x196 dpi.

For the most part, this process works (with a couple of small quirks) and the fax shows up in my "Windows Fax and Scan" outbox (I'm on Vista). The problem is the image has been dithered to a 1bit black & white image. I assume that what I see in "Windows Fax and Scan" is what is actually transmitted.

So is there a way to send a color fax using this technology? Are we missing a configuration option somewhere to make it work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

迷路的信 2024-09-02 06:43:48

终于在别处得到了答案。 Windows 传真服务不支持彩色传真。

Finally got an answer elsewhere. Windows Fax Service does not support color faxes.

荭秂 2024-09-02 06:43:48

我已经使用这个程序传输传真一年了,它不支持彩色传真传输。

I have been using this program to transmit faxes for a year and it does not support color fax transmissions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文