导航:首页 > 文件教程 > 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文件相关的资料

热点内容
vb文件在哪里 浏览:215
工厂里都招什么编程人员 浏览:932
jspsql登录 浏览:981
网络用语粉丝阅读什么意思 浏览:333
红头文件怎么打印 浏览:94
热血江湖130刺客升级 浏览:106
jsp页面放大镜技术介绍 浏览:101
网络编程udp 浏览:148
加密压缩文件如何打开 浏览:56
微软编程软件有哪些 浏览:736
linux目录中创建文件夹权限设置密码 浏览:759
word文档正式文件模版 浏览:247
linux文件系统的类型是 浏览:111
苹果的无线传输文件找不到了 浏览:102
密件文件名能出现在通知吗 浏览:832
编写一个web应用程序 浏览:350
哪些场所网络好 浏览:171
华为手机怎么找到以前安装过的app 浏览:100
49块一单约人陪的app是什么 浏览:570
ug文件格式图片 浏览:24

友情链接