Title: PDF-Creator
Author: maartenhemmes
Published: <strong>2014 年 5 月 16 日</strong>
Last modified: 2014 年 5 月 16 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/pdf-creator.svg)

# PDF-Creator

 由 [maartenhemmes](https://profiles.wordpress.org/maartenhemmes/) 開發

[下載](https://downloads.wordpress.org/plugin/pdf-creator.0.2.6.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/pdf-creator/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/pdf-creator/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/pdf-creator/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/pdf-creator/#developers)

 [技術支援](https://wordpress.org/support/plugin/pdf-creator/)

## 外掛說明

Use this plugin to generator PDF’s. Note: this is a beta version!

## 安裝方式

 1.  Download ‘PDF creator’.
 2.  Upload the ‘PDF creator’ directory to your ‘/wp-content/plugins/’ directory, using
     your favorite method (ftp, sftp, scp, etc…)
 3.  Activate ‘PDF creator’ from your Plugins page.
 4.  Initiate and use the plugin in your code by writing :
 5.  4.1. $mode = ‘utf-8’;
      4.2. $size = array(212.72500, 276.22500); 4.3. $html = ‘
 6.  <
 7.  div>’;
      4.4. $css = site_url().’/wp-content/plugins/directorypress-extend-listings/
     includes/pdf-generation/sample-css.css’; $css = file_get_contents($css); 4.5. 
     $footer = ‘
 8.  footer
 9.  ‘;
 10. 4.6. pdf_generation($css, mode, $size, $html, $footer);
 11. Have fun! Send an email to info@hemmes.it or visit http://www.hemmes.it/wordpress-
     pdf-creator/ if you have any questions related to this project.

## 常見問題集

  Please explain this stage

 1. Initiate and use the plugin in your code by writing :
 2. 4.1. $mode = ‘utf-8’;
     4.2. $size = array(212.72500, 276.22500); 4.3. $html = ‘
 3. <
 4. div>’;
     4.4. $footer = ‘
 5. footer
 6. ‘;
     4.5. pdf_generation($mode, $size, $html, $footer); =

You have to run this (without the 4.1. etc.) to generate the PDF. Make sure you 
include the function pdf_generation.
 Your $html is the variable where you store
the content of the PDF, it’s now, as an example, ‘

<

div>’, you need to change that and add your own content. Same goes for the $footer.

## 使用者評論

![](https://secure.gravatar.com/avatar/e7877a1217207ab7f5733b2af340f2e02722c1671ea0a4c30c6e0c1da3224ec8?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-1553/)󠁿

 [lorinc.j](https://profiles.wordpress.org/posuk13/) 2016 年 9 月 3 日

Not working

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/pdf-creator/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈PDF-Creator〉的開發相關工作。

參與者

 *   [ maartenhemmes ](https://profiles.wordpress.org/maartenhemmes/)

[將〈PDF-Creator〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/pdf-creator)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/pdf-creator/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/pdf-creator/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/pdf-creator/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/pdf-creator/)。

## 變更記錄

#### 0.2

11/11/2013

 * Added MDF5.7 class
 * Added function to create directory structure to upload PDF
 * Changed PDF name to result.pdf

#### 0.2.2

04/12/2013

 * Added support for CSS

#### 0.2.4

04/12/2013

 * Added feature to delete (old) PDF before generating a new one
 * Small fixes

#### 0.2.5.

04/12/2013

 * Fixed footer bug (needed to print footer before html-content)

#### 0.2.6.

08/12/2013

 * Added settings for tmp-folders

#### 0.3.

01/31/2014

 * Added PDF Generator menu to backend
 * Created separate section in code for settings
 * Added expirimental API

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.4.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/pdf-creator/)
 * 標籤:
 * [creator](https://tw.wordpress.org/plugins/tags/creator/)[pdf](https://tw.wordpress.org/plugins/tags/pdf/)
 *  [進階檢視](https://tw.wordpress.org/plugins/pdf-creator/advanced/)

## 評分

 1 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pdf-creator/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/pdf-creator/reviews/)

## 參與者

 *   [ maartenhemmes ](https://profiles.wordpress.org/maartenhemmes/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/pdf-creator/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.hemmes.it)