PDF4NET无法将文件发送到打印机,但可以创建PDF文档。

huangapple go评论60阅读模式
英文:

PDF4NET fails to send file to Printer however is able to created PDF documents

问题

我发现在使用PDF4NET时,它没有将文件发送到打印队列中,即使队列被暂停,文件也永远不会到达,我尝试过各种打印队列。如果我使用PDF4NET创建一个PDF文档,该文件会被创建并保存为PDF文档,然后我可以手动将该PDF文档发送到打印队列并进行打印。

希望 @iPDFdev 能看到这个问题,我从他的活动日志中看到他在这方面有经验。
非常感谢。

英文:

I am finding on the fly PDF4NET is not sending files to the printer queue, with the queue paused no file ever reaches it and have tried various printer queues. If I create a pdf document using PDF4NET the file is created and saved as a pdf document, that pdf document I can then manually send to the printer queue and it prints.

Hopefully @iPDFdev see's this question I I see from his activity log he is experienced in this area.
Thank you very much

答案1

得分: 1

如@KJ提到的,PDF4NET无法打印PDF文件。

如果您可以发布一个示例代码片段,显示您尝试完成的内容,也许我可以帮助。

英文:

As @KJ mentioned, PDF4NET cannot print PDF files.

If you can post a sample code fragment that shows what you try to accomplish, maybe I can help.

答案2

得分: 0

很抱歉,截至今天,可编程打印还不可行。

来源:https://www.o2sol.com/pdf4net/faq.htm#:~:text=Can%20PDF4NET%20be%20used%20as%20a%20printer%20driver%3F

PDF4NET可以用作打印机驱动程序吗?
PDF4NET库不能用作从Windows应用程序创建PDF文件的打印机驱动程序。它是一个.NET类库,可以用于从任何.NET语言中的代码创建PDF文件。

PDF4NET可以将现有的PDF文件打印到已安装的打印机吗?
PDF4NET库无法将现有的PDF文件打印到打印机,它只能从代码中创建PDF文件。

英文:

Unfortunately I have to answer that as of today programmable printing is not possible.

From https://www.o2sol.com/pdf4net/faq.htm#:~:text=Can%20PDF4NET%20be%20used%20as%20a%20printer%20driver%3F

>Can PDF4NET be used as a printer driver?
PDF4NET library can not be used as a printer driver for creating pdf files from Windows applications. It is a .NET class library used from any .NET language to create pdf files from code.

>Can PDF4NET print existing pdf files to an installed printer?
PDF4NET library can not print existing pdf files to a printer, it can only create pdf files from code.

huangapple
  • 本文由 发表于 2023年6月15日 16:13:18
  • 转载请务必保留本文链接:https://go.coder-hub.com/76480424.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定