使用C#直接进行PDF打印 [英] Direct PDF Printing using C#

查看:1987
本文介绍了使用C#直接进行PDF打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要在不使用任何第三方组件的情况下打印PDF文档.

请帮助我解决这个问题.

Hi,

I need to print a PDF document without using any third party component.

Please help me to solve this issue.

推荐答案

您要问的是:我想做一个三明治,但是里面不能有面包.

没有面包的三明治不是三明治.

无需阅读器或等效过程即可打印pdf文件的唯一方法是启动命令提示符,然后输入:
What you are asking is: "I want to make a sandwich, but I can''t have any bread in it".

A sandwich without bread is not a sandwich.

The only way to do print a pdf file without a reader or equivalent process is to start a command prompt, and enter:
copy mypdffile.pdf lpt1:

但是请确保您已在纸上装满纸张,因为它将大量使用

Make sure you load up on paper though, as it is going to use a lot!


这篇关于使用C#直接进行PDF打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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