创建现在用csharp打印的任何内容的pdf [英] create pdf of anything that now printing in csharp

查看:105
本文介绍了创建现在用csharp打印的任何内容的pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有


csharp或vb.net中的




i想创建一个运行的程序背景和任何文件打印(真正的打印机像佳能,espon,...和虚拟打印机像dopdf,...),打印的一份文件,PDF格式创建并保存在PC上的特殊路径。



示例:



i现在使用我的佳能打印机打印 a.jpg

i想要一份文件副本(在这种情况下,a.jpg)转换为pdf并保存在特殊路径中,如 c:/ pdf files



请帮帮我

非常感谢

解决方案

你可以使用ITextSharp。

ITextSharp Helper Class [ ^ ]


这是关于它的好文章



将图像文件转换为PDF [ ^ ]

hi all

in csharp or vb.net

i want create a program that run in background and when any document printing (really printer like canon , espon , ... and virtual printer like dopdf , ...) , one copy of document that printed , in PDF format create and save it special path on pc .

Example :

i now doing printing of a.jpg with my canon printer .
i want one copy of document (in this case , a.jpg) convert to pdf and save in special path like c:/pdf files

please help me
thanks a lot

解决方案

You can use ITextSharp.
ITextSharp Helper Class[^]


Here is good article on it

Converting Image Files to PDF[^]


这篇关于创建现在用csharp打印的任何内容的pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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