[英]c# printing a pdf landscape without resorting to 3rd party?
I'm trying to simply print a pdf file in landscape in C# code. 我正在尝试简单地以C#代码在横向打印pdf文件。 Is it simply possible to do without 3rd party software perhaps through a system method?
是否可以通过系统方法简单地不使用第三方软件? If so, how?
如果是这样,怎么办?
You cannot do this without 3rd party software, Windows does not have built in printing capabilities. 如果没有第三方软件,您将无法执行此操作,Windows没有内置的打印功能。
If you do not want to use a paid .NET library to integrate printing in your application, you can use Adobe Reader to print the PDF files from command line, see more details here: Adobe Reader Command Line Reference 如果您不想使用付费的.NET库在应用程序中集成打印,则可以使用Adobe Reader从命令行打印PDF文件,请在此处查看更多详细信息: Adobe Reader命令行参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.