简体   繁体   English

C#打印PDF格式,而无需诉诸第三方?

[英]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.

相关问题 在没有第三方库的情况下,使用C#.net 3.0或更低版本将pdf转换为tiff? - Converting pdf to tiff using C# .net 3.0 or less without 3rd party libraries? 使用C#和免费的第三方组件签署PDF? - Sign a PDF using C# and a free 3rd party component? C#:不使用第3方框架的单元测试? - C# : Unit testing without using 3rd party framework? 在没有第三方库的Java中使用C#DLL - Using a C# DLL in Java without 3rd party libraries 如何在C#中使用多个PDF文件创建单个PDF而不使用任何第三方库? - How to create a single PDF from multiple PDF files in C# without using any 3rd party library? 在不使用第三方库的情况下以C#在Windows窗体上显示网络摄像头订阅源 - Display webcam feed on windows form in C# without using 3rd party libraries 没有第三方插件,是否可以对OpenCL进行编程? C# - Is there a way to program I OpenCL without 3rd party plugins? C# 如果可能,在C#中使用FtpWebRequest实现没有第三方dll的FTP / SFTP - Achieving FTP/SFTP without 3rd party dll with FtpWebRequest if possible in C# C#AES CFB与第三方C实现的兼容性 - C# AES CFB compatibility with 3rd party C implementation C#控制系统托盘中的第三方程序 - C# control 3rd party program in system tray
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM