摘要:
Word.Document thisDocument = null; Word.Application thisApplication = null;//new Word.ApplicationClass(); CreateWordDocument(faxfile,ref thisDocument,ref thisApplication); string printer=thisApplication.ActivePrinter; thisApplication.ActivePrinter="I-FaxPrinter"; PrintOutDoc(thisDocument); faxpath=@ 阅读全文
摘要:
I am using iTextSharp in C# to write an application which can print pdfdocuments on a network printer while programmatically configuring theprinter.I am using the PrintDocument class in the System.Drawing.Printing namespacealong with PrinterSettings and PageSettings classesin order to configure the 阅读全文
摘要:
这段时间一直在研究office文档转为PDF或xps格式的方法。查找了一些资料。一下是我所知道的一些方法代码支持任意office格式需要安装office 2007 还有一个office2007的插件OfficeSaveAsPDFandXPS下载地址http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&displaylang=en这是一个微软官方出的office插件。安装好之后,打开VS,以VS2005为例新建windows应用程序项目添加以下com组件的引用Mi 阅读全文