導航:首頁 > 文件教程 > 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文件相關的資料

熱點內容
網路中常用的傳輸介質 瀏覽:518
文件如何使用 瀏覽:322
同步推密碼找回 瀏覽:865
樂高怎麼才能用電腦編程序 瀏覽:65
本機qq文件為什麼找不到 瀏覽:264
安卓qq空間免升級 瀏覽:490
linux如何刪除模塊驅動程序 瀏覽:193
at89c51c程序 瀏覽:329
怎麼創建word大綱文件 瀏覽:622
裊裊朗誦文件生成器 瀏覽:626
1054件文件是多少gb 瀏覽:371
高州禁養區內能養豬多少頭的文件 瀏覽:927
win8ico文件 瀏覽:949
仁和數控怎麼編程 瀏覽:381
項目文件夾圖片 瀏覽:87
怎麼在東芝電視安裝app 瀏覽:954
plc顯示數字怎麼編程 瀏覽:439
如何辨別假網站 瀏覽:711
寬頻用別人的賬號密碼 瀏覽:556
新app如何佔有市場 瀏覽:42

友情鏈接