Title: Chronition Print &amp; PDF
Author: BRAJABANDHU MAHANTA
Published: <strong>2026 年 10 月 11 日</strong>
Last modified: 2026 年 10 月 11 日

---

搜尋外掛

![](https://ps.w.org/chronition-print-pdf/assets/banner-772x250.png?rev=3739257)

![](https://ps.w.org/chronition-print-pdf/assets/icon-256x256.png?rev=3739257)

# Chronition Print & PDF

 由 [BRAJABANDHU MAHANTA](https://profiles.wordpress.org/brajabandhu/) 開發

[下載](https://downloads.wordpress.org/plugin/chronition-print-pdf.1.5.0.zip)

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

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

## 外掛說明

Chronition Print & PDF adds “Print” and “Download PDF” buttons to your posts, pages
and custom post types. Visitors get a clean, readable document without your theme’s
menus, sidebars, ads or share bars.

PDFs are generated on your own server by the bundled Dompdf library. No account 
and no third-party PDF service are needed.

#### Highlights

 * **Real PDF files** with selectable text, document title and author metadata, 
   page numbers and caching.
 * **Matches your website.** Brand colour, text colours and fonts are detected from
   your theme (block themes, the Site Editor and popular classic themes such as 
   Astra, GeneratePress, Kadence, OceanWP, Neve, Blocksy and Divi).
 * **Table of contents** on its own page, sized to fit one page, with numbered chapters
   and real page numbers in PDFs. Existing tables of contents (including JavaScript-
   built ones) are kept and repaired.
 * **Tables that fit the page.** Fixed widths are removed, wide tables get a compact
   layout and header rows stay with their data.
 * **All languages.** Posts in Odia, Hindi, Bengali, Tamil, Arabic, Chinese and 
   other complex scripts automatically use the browser’s “Save as PDF”, which shapes
   those scripts correctly.
 * **Print without leaving the page** on desktop, with a dedicated print view on
   mobile.
 * **Five button styles** (Soft, Solid, Pill, Outline, Minimal), three sizes, icon-
   only mode and custom labels, with a live preview.
 * **Document options:** paper size and orientation, typography, logo or site name,
   author, date and reading time, featured image, categories and tags, source link,
   running header and footer, and an optional watermark.
 * **Control where buttons appear:** choose post types, hide on the front page, 
   exclude by ID, or hide per post from the editor.
 * **Privacy-aware:** private, draft and password-protected content is never exposed.
 * **For developers:** shortcode, template tag, theme-overridable template and filters.

#### Pro add-on

Everything above is free and fully functional. An optional, separately sold add-
on, Chronition Print & PDF Pro, adds cover pages, multi-post eBooks, image watermarks,
header and footer layouts, password-protected PDFs, lead-capture and members-only
downloads, download statistics, custom font uploads and QR codes. It is not needed
to use this plugin.

### Usage

Buttons are added automatically above the content. To place them yourself, set **
Placement** to “Manual only” and use:

Shortcode:

    ```
    [cwpp_buttons]
    [cwpp_buttons pdf="no"]
    [cwpp_buttons id="42" align="center" style="solid"]
    [cwpp_buttons print_label="Print article" pdf_label="Save PDF"]
    ```

Template tag:

    ```
    <?php if ( function_exists( 'cwpp_buttons' ) ) { cwpp_buttons(); } ?>
    ```

Direct links: add `?cwpp=print` or `?cwpp=pdf` to the address of any enabled post.
Add `&view=1` to open the PDF in the browser instead of downloading it.

Custom template: copy `templates/document.php` from the plugin to `your-theme/chronition-
print-pdf/document.php`.

Filters: `cwpp_is_enabled`, `cwpp_engine`, `cwpp_document_data`, `cwpp_document_css`,`
cwpp_design_tokens`, `cwpp_template`, `cwpp_filename`, `cwpp_buttons_html`, `cwpp_dompdf_options`,`
cwpp_document_hash_data`, `cwpp_settings_tabs`.

Actions: `cwpp_document_before_sheet`, `cwpp_document_sheet_end`, `cwpp_document_after_sheet`,`
cwpp_pdf_rendered`, `cwpp_before_serve`, `cwpp_pdf_served`, `cwpp_settings_panels`.

### External services

This plugin does not contact any external service by default.

**Google Fonts (optional, off by default).** If you turn on **Settings  Print & 
PDF  Advanced  Theme fonts**, and your theme’s fonts are only available in WOFF2
format, your server requests TrueType versions of those fonts from Google Fonts 
so they can be embedded in PDFs.

 * What is sent: the font family name (for example “Manrope”) in a request to `fonts.
   googleapis.com`, and requests for the font files to `fonts.gstatic.com`. Like
   any web request, this includes your server’s IP address. No information about
   your visitors or your content is sent.
 * When: once per font family, the first time a PDF is generated after the option
   is enabled. The files are then cached on your server. Visitors never connect 
   to Google.
 * Google Fonts terms of service: https://developers.google.com/fonts/terms
 * Google privacy policy: https://policies.google.com/privacy

**Images hosted on other websites (optional, off by default).** If you turn on **
Advanced  Images  Allow images hosted on other domains**, your server downloads 
images that your posts embed from other websites so they can be included in PDFs.
Only the image URLs in your own content are requested.

### Credits

PDF generation by [Dompdf](https://github.com/dompdf/dompdf) (LGPL-2.1) with php-
font-lib and php-svg-lib (LGPL), php-css-parser (MIT) and html5-php (MIT), bundled
in `lib/dompdf`. DejaVu fonts are included under the Bitstream Vera / DejaVu licence.

## 螢幕擷圖

[⌊Print and Download PDF buttons on a post.⌉⌊Print and Download PDF buttons on a
post.⌉[

Print and Download PDF buttons on a post.

[⌊A generated PDF in the site's colours and fonts.⌉⌊A generated PDF in the site's
colours and fonts.⌉[

A generated PDF in the site’s colours and fonts.

[⌊Table of contents on its own page, with page numbers.⌉⌊Table of contents on its
own page, with page numbers.⌉[

Table of contents on its own page, with page numbers.

[⌊Wide tables fitted to the page width.⌉⌊Wide tables fitted to the page width.⌉[

Wide tables fitted to the page width.

[⌊Settings, with live button preview and detected theme colours.⌉⌊Settings, with
live button preview and detected theme colours.⌉[

Settings, with live button preview and detected theme colours.

## 安裝方式

 1. In your dashboard go to **Plugins  Add New**, search for “Chronition Print & PDF”,
    then install and activate it.
 2. Go to **Settings  Print & PDF** to choose where the buttons appear and how documents
    look.

Manual installation: upload the `chronition-print-pdf` folder to `/wp-content/plugins/`
and activate it from the Plugins screen.

The server-side PDF engine needs the PHP `dom` and `mbstring` extensions, which 
almost every host provides. Without them, visitors use their browser’s “Save as 
PDF” instead.

## 常見問題集

### Does it work with my language?

Yes. English and European languages download as a PDF file made on your server. 
Posts written in complex scripts (Odia, Hindi, Bengali, Tamil, Arabic, Chinese and
others) open the print view instead, where the visitor chooses “Save as PDF”. Browsers
shape these scripts correctly; server PDF libraries cannot.

### Why are my theme’s fonts not used in the PDF?

PDFs can embed TTF, OTF and WOFF fonts. Many themes only ship WOFF2 fonts, which
cannot be embedded. You can turn on **Settings  Print & PDF  Advanced  Theme fonts**
to download TrueType copies from Google Fonts (see “External services” below). Otherwise
the closest serif or sans-serif font is used. The print view always uses your theme’s
fonts.

### How do I hide the buttons on a page?

Use the “Hide Print & PDF on this item” box in the editor sidebar, add the ID under**
Exclude IDs**, or turn off the post type. The front page is hidden by default.

### Where are PDFs stored?

Generated PDFs and downloaded fonts are cached in `wp-content/uploads/cwpp-cache/`,
which is protected from direct access. The cache is rebuilt automatically when a
post, your theme or the settings change. You can clear it under **Advanced**. Everything
is removed when you delete the plugin.

### Does it add any links or credits to my site?

No. Nothing is added to your pages or documents except the buttons and the content
you choose.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ BRAJABANDHU MAHANTA ](https://profiles.wordpress.org/brajabandhu/)

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

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

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

## 變更記錄

#### 1.5.0

 * New developer hooks: actions before and after the document sheet, after a PDF
   is laid out (`cwpp_pdf_rendered`), before a document is served and when a PDF
   is sent, plus filters for the cache key and extra settings tabs.
 * New: `CWPP_Renderer::pdf_from_html()` turns any document HTML into a PDF with
   the plugin’s settings, table of contents page numbers and watermark.
 * Added a “Go Pro” link on the Plugins screen for the optional Pro add-on.

#### 1.4.1

 * Updated the bundled Dompdf library to 3.1.6 (and its dependencies to their latest
   releases).
 * Removed the “Custom CSS” setting; use the design options or your theme’s Additional
   CSS instead.
 * Button markup is now passed through wp_kses() after the `cwpp_buttons_html` filter.
 * The plugin no longer defines WordPress’s FS_CHMOD_* constants.

#### 1.4.0

 * Prepared for WordPress.org: new slug `chronition-print-pdf`, styles and scripts
   output through WordPress APIs, file operations through WP_Filesystem, stricter
   escaping.
 * Changed: the shortcode is now `[cwpp_buttons]`.
 * Changed: downloading fonts from Google Fonts is now opt-in (off by default).

#### 1.3.0

 * New: “Hide on the front page” option (on by default), for both a static homepage
   and a latest-posts homepage.
 * Fixed: Print and PDF links on a static front page returned “not found”.

#### 1.2.0

 * New: “Match my theme” design using the theme’s brand colour, text colours and
   fonts.
 * New: table of contents on its own page, sized to fit one page, with page numbers
   in PDFs.

#### 1.1.0

 * Fixed: wide tables overflowing the page, blank pages, and missing tables of contents.
 * New: table of contents setting.
 * Improved: the watermark no longer mixes into copied or searched text.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.5.0**
 *  最後更新 **3 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.3**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/chronition-print-pdf/)
 * 標籤:
 * [download pdf](https://tw.wordpress.org/plugins/tags/download-pdf/)[pdf](https://tw.wordpress.org/plugins/tags/pdf/)
   [print](https://tw.wordpress.org/plugins/tags/print/)[print button](https://tw.wordpress.org/plugins/tags/print-button/)
   [Save as PDF](https://tw.wordpress.org/plugins/tags/save-as-pdf/)
 *  [進階檢視](https://tw.wordpress.org/plugins/chronition-print-pdf/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/chronition-print-pdf/reviews/#new-post)

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

## 參與者

 *   [ BRAJABANDHU MAHANTA ](https://profiles.wordpress.org/brajabandhu/)

## 技術支援

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

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