导航:首页 > 文件教程 > delphi生成pdf文件

delphi生成pdf文件

发布时间:2023-03-22 17:15:36

① 如何用delphi 把Excel,word文件中生成到PDF文件

Workbooks(Name).ExportAsFixedFormat Type:=xlTypePDF, Filename:=ThisWorkbook.path & "薯皮\aa.PDF"卖手稿中孝

② delphi 如何将WORD转换为PDF

使用vba来指定保存的文件格式为pdf,当然前提必须已扮盯安装MS Office的PDF输出插件(默认应该有)
procere TForm1.btn1Click(Sender: TObject);
var
wdo,wdoc,wdocs : OleVariant;
begin
wdo := CreateOleObject('Word.Application');
wdocs := wdo.Documents;

wdoc := wdocs.Open('d:\test.docx');

wdoc.ExportAsFixedFormat(OutputFileName:=
'd:\test.pdf', ExportFormat:=17);
//查word的宏帮助
{ OpenAfterExport:='True', OptimizeFor:='圆缺简wdExportOptimizeForPrint', Range:=
'wdExportAllDocument', From:=1, To:=1, Item:='wdExportDocumentContent',
IncludeDocProps:='True', KeepIRM:='True', CreateBookmarks:=
'wdExportCreateNoBookmarks', DocStructureTags:='True', BitmapMissingFonts:=
'True', UseISO19005_1:='False'橘裤); }

end;

③ delphi 怎样导出pdf,要求:1.pdf文件能自动分页2.中文汉字不为乱码

SmartPrinterV4 直接打印 这个虚拟打印机就打印成pdf格式的了

④ delphi系统将信息读取到EXCEL后怎么能导出为PDF呢

  1. 可以直接导出为PDF,而不是先到EXCEL

  2. 如果导出到EXCEL以后,可以安装一个PDF打印机,直接从EXCEL打印成PDF即可

⑤ 生成PDF使用Delphi中的Windows服务的基本知识问题,怎么解决

生槐并成PDF使用源明搭雹拿Delphi中的Windows服务的基本知识

I'm writing a windows service using Delphi XE3. The service is going to read from a database, generate a pdf using quickreport 5.05.1. I plan to generate the pdf using TQRPDFDocumentFilter.

Everything works fine in a normal VCL application, but when I implement it in a windows service the service hangs (without any exceptions) when I do a QuickRep.Prepare.

I have read that it is possible to use QuickReport in a windows service, but I do not know how. Any suggestions?

Where is the code:

procere foo
var
pdfFilter: TQRPDFDocumentFilter;
begin
with TForm2.Create(Self) do
begin
ClientDataSet1.Open;
QuickRep1.Prepare;
pdfFilter := TQRPDFDocumentFilter.Create(GetApplicationFolder() + 'test.pdf');
try
QuickRep1.QRPrinter.ExportToFilter(pdfFilter);
finally
pdfFilter.Free;
ClientDataSet1.Close;
end;
end;
end;

Edit: I have also tried turning off "show progress" on the QuickReport as suggested in another thread. Writing some code to catch an exception reveals that it indeed throws one. The message is "There is no default printer currently selected". So this leads me to believe that the local system user that the service is running under does not have any printers installed and that this is the problem.

I have resolved a similar problem (printing to a shared network printer from a Java server running as a Windows service) with these steps:

⑥ 怎么用delphi 把Excel,Word文件中生成到PDF文件

好像缓喊衡不可以,找个专门扰做的pdf生成软件吧渗伍,我一般都是装一个虚拟打印机,然后直接打印成pdf文件,嘿嘿。

⑦ delphi2010如何生成PDF文件,求详解!

不知道具体的用途,你可以安装个虚拟的PDF打印机,直接打印出PDF文件啊,如PDF工厂

⑧ 如何用delphi 把Excel,Word文件中生成到PDF文件

建议你是用acrobat 或者abbyy 这个 两款软件进行转换编辑

Adobe公司推出的PDF格式是一种全新的电子文档格式。借助 Acrobat ,您几乎可以用便携式文档格

adobe-acrobat-x

式 (Portable Document Format,简称 PDF) 出版所有的文档。 PDF 格式的文档能如实保留原来的面貌和内态掘容,以及字体和图像。这类文档可通过电子邮件发送,也可将它们存储在WWW 、企业内部网、文件系统或CD-ROM上,来供其他用户在 Microsoft Windows , Mac OS和 LINUX 等平台上进行查看。由于该格式使用Adobe公司开发的PostScript页面描述语言,使得页面中的文字和图形的质量得到质的飞跃。无论您是使用PDF文档进行网上阅读,还是打印、印刷出版,Adobe Acrobat都能给你最好效果。

ABBYY 是一家俄罗斯软件公司,在文档识别,数据捕获和语言技术的开发中居皮拍世界领先地位。其获奖产品 FineReader OCR 软件可以把静态燃闭羡纸文件和 PDF 文件转换成可管理的电子数据,可以大大节省您的时间和精力。

阅读全文

与delphi生成pdf文件相关的资料

热点内容
手机测评网站哪个权威 浏览:81
搜狐网站源码下载 浏览:302
如何举报恶性app 浏览:835
一个虚拟主机怎么建多少网站 浏览:825
和家亲app为什么老是掉线 浏览:990
儿童编程思维课有什么用 浏览:600
魔百和网络机顶盒怎么连接电视 浏览:611
国产显示器icc配置文件 浏览:52
java编程常见的语法糖有哪些 浏览:41
jspmysql选课源码 浏览:877
ipadmini2下载app等待 浏览:399
creo工程图配置文件 浏览:699
编程和钢琴哪个贵 浏览:841
移动进销存app哪个好 浏览:600
编程制作游戏什么原理 浏览:97
linux如何查看是否有共享文件夹 浏览:264
u盘拷贝文件以后为空 浏览:917
快云主机数据库连接方法 浏览:756
javagsp定位 浏览:384
jsp页面表格导出excel 浏览:976

友情链接