如何使用C#在后台打印.PDF文件 [英] How to print .PDF files in the background using C#
问题描述
我有一个目录,里面有很多.PDF文件我需要打印
打印。
有没有简单的方法可以做到这一点?
使用PdfReader还是什么?
提前致谢。
Steve
Hi,
I have a directory full of a number of .PDF files that I need to
print.
Is there any simple way to do this?
Using PdfReader purhaps?
Thanks in advance.
Steve
推荐答案
" S_K" < st *********** @ yahoo.com写了留言
新闻:df ******************* *************** @ u69g2000 hse.googlegroups.com ...
"S_K" <st***********@yahoo.comwrote in message
news:df**********************************@u69g2000 hse.googlegroups.com...
我有一个目录满了一些.PDF文件,我需要
打印。
有没有简单的方法可以做到这一点?
使用PdfReader可能吗?
I have a directory full of a number of .PDF files that I need to
print.
Is there any simple way to do this?
Using PdfReader purhaps?
由于这是一个ASP.NET新闻组,您是否尝试通过
a web应用程序打印这些文档,即通过Web浏览器。 。?
-
Mark Rae
ASP.NET MVP
http://www.markrae.net
As this is an ASP.NET newsgroup, are you trying to print these documents via
a web application i.e. through a web browser...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
4月22日, 2:24 * pm,Mark Rae [MVP]" < m ... @ markNOSPAMrae.netwrote:
On Apr 22, 2:24*pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
" S_K" < steve_kers ... @ yahoo.com写了留言
新闻:df *********************** *********** @ u69g2000 hse.googlegroups.com ...
"S_K" <steve_kers...@yahoo.comwrote in message
news:df**********************************@u69g2000 hse.googlegroups.com...
我有一个目录,里面有很多.PDF文件我需要打印
打印。
有没有简单的方法可以做到这一点?
使用PdfReader可能吗?
I have a directory full of a number of .PDF files that I need to
print.
Is there any simple way to do this?
Using PdfReader purhaps?
由于这是一个ASP.NET新闻组,您是否尝试通过
a web应用程序打印这些文档,即通过Web浏览器。 。$
-
Mark Rae
ASP.NET MVPhttp://www.markrae.net
As this is an ASP.NET newsgroup, are you trying to print these documents via
a web application i.e. through a web browser...?
--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
对不起。这是一个ASP.NET Web应用程序。
谢谢
I''m sorry. It''s an ASP.NET web application.
Thanks
" S_K" < st *********** @ yahoo.comWrote in message
news:34 ******************* *************** @ e39g2000 hsf.googlegroups.com ...
"S_K" <st***********@yahoo.comwrote in message
news:34**********************************@e39g2000 hsf.googlegroups.com...
>>我有一个目录,里面有很多我需要打印的.PDF文件。有没有简单的方法呢?
使用PdfReader还是什么?
>>I have a directory full of a number of .PDF files that I need to
print. Is there any simple way to do this?
Using PdfReader purhaps?
因为这是一个ASP.NET新闻组,你试图打印这些文件吗?
一个Web应用程序,即通过Web浏览器......?
As this is an ASP.NET newsgroup, are you trying to print these documents
via
a web application i.e. through a web browser...?
对不起。它是一个ASP.NET Web应用程序。
I''m sorry. It''s an ASP.NET web application.
出于安全原因,您无法说服网络应用程序自动控制
打印机 - 所有现代网络浏览器是
专门用于防止这种情况...
最好的办法是将PDF文档作为超链接提供。
这将允许用户单独显示文档并根据需要打印
...
-
Mark Rae
ASP.NET MVP
http://www.markrae.net
You''re not going to be able to persuade a web application to control a
printer automatically for security reasons - all modern web browsers are
designed specifically to prevent this...
Your best bet would be to make the PDF documents available as hyperlinks.
This would allow the user to display the documents individually and print
them as required...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
这篇关于如何使用C#在后台打印.PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!