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

熱點內容
打開數據為什麼網路沒法用 瀏覽:314
台式電腦連接無線網路怎麼連接網路連接 瀏覽:300
網路傳輸介質的選擇 瀏覽:253
fpga設計教程pdf 瀏覽:352
在哪個網站學資料庫 瀏覽:705
jsp中包含外部文件的方式 瀏覽:179
applewatch打電話功能 瀏覽:73
編程中無法載入圖片是怎麼回事 瀏覽:487
房地產采購庫有哪些網站 瀏覽:450
文件名添加斜杠 瀏覽:645
java上傳文件到linux轉碼 瀏覽:243
sel文件如何轉成excel 瀏覽:942
汽車微信廣告語 瀏覽:931
單精度浮點數據怎麼算 瀏覽:609
網路營銷論文怎麼寫 瀏覽:326
在編程語言中函數是什麼 瀏覽:516
開票軟體金稅盤裡面怎麼數據遷移 瀏覽:591
電腦存放圖片有什麼文件夾 瀏覽:260
appleid不對怎麼激活 瀏覽:574
省份表單代碼 瀏覽:194

友情鏈接