如何为Web服务创建打印机驱动程序 [英] How do I create a printer driver to a web service

查看:318
本文介绍了如何为Web服务创建打印机驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个打印机驱动程序,允许用户(在Windows环境中)将页面打印到传真Web服务 - 驱动程序应创建一个tiff文件并通过将其发布到URL上传,以及一些数据作为电话号码和姓名。

我正在寻找与此类似的代码示例。

谢谢,

Maya



我尝试了什么:



我在网上搜索过代码示例,但只发现了那些做过的驱动程序第一部分 - 创建一个tiff文件。我没有发现任何调用URL的内容。

I need to create a printer driver that will allow users (in windows environment) to print pages to a faxing web service - the driver should create a tiff file and upload it by posting it to a URL, along with some data such as a phone number and name.
I am looking for a code sample that does something similar to this.
thanks,
Maya

What I have tried:

I have looked for code samples on the web but only found drivers that do the first part - create a tiff file. I have not found anything that calls a URL.

推荐答案

编写自己的打印机驱动程序并不是你可以承担的最简单的任务,但有一些替代方案。 />


你可以看一下这篇文章,了解如何使用Redmon和Ghostscript



PDF写手 [ ^ ]



另请查看评论,那里有一些额外的信息。



Redmon让你将打印机输出重定向到一个虚拟端口,然后你可以编写自己的软件并做你想做的事。 />
另请参见 RedMon - 重定向端口监视器 [ ^ ]



有一种叫做Printer ++的东西。这也可能是有趣的。

请参阅 Printer ++ [ ^ ]
Writing your own printer driver is not the most easy task you can take on, but there some alternatives.

You can have a look at this article for how to use Redmon and Ghostscript

PDF Writer[^]

Also check the comments, there are some extra information there.

Redmon lets you redirect the printer output to a virtual port, then you can write your own software and do what you want.
See also RedMon - Redirection Port Monitor[^]

There is something called Printer++. This might be interesting to look into as well.
See Printer++[^]


这篇关于如何为Web服务创建打印机驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆