将原始数据发送到虚拟PDF打印机 [英] Send raw data to virtual PDF printer
本文介绍了将原始数据发送到虚拟PDF打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现了这个 http://support.microsoft.com/kb/322091 [ ^ ]在microsoft suport中的类,解释如何将原始数据发送到打印机......但是,当我尝试使用它在虚拟PDF打印机中打印时,无法正常工作。我测试了foxit pdf打印机和pdf创建者..我在代码中做了一些更改,如授权打印到文件等,但没有任何效果。
怎么能为了工作,发送RawData用于虚拟打印机?
I found this http://support.microsoft.com/kb/322091[^] class in microsoft suport, explaining how to send a raw data to printer... but, when I try to use this to print in virtual PDF printer, not work. I tested wth foxit pdf printer and pdf creator.. I made some changes in the code, as authorizing print to file and etc, but nothing worked.
How can it be made to work, sending the RawData for virtual printer?
推荐答案
将RAW数据打印到打印机正在向打印机理解的打印机发送字节。 />
PDF打印机可能不支持此功能,因为它可能会对您在预制PDF文档中发送给它的任何内容进行框架。您必须咨询编写您正在使用的PDF打印机的人,看看它是否支持您想要做的事情。
Printing RAW data to a printer is sending bytes to the printer that the printer understands.
A PDF "printer" may not support this as it may frame anything you send to it in a pre-made PDF document. You'll have to consult with the people who wrote the PDF printer you're using to see if it supports what you want to do.
这篇关于将原始数据发送到虚拟PDF打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文