Title: Printable PDF Newspaper
Author: Chris Hardie
Published: <strong>25 سپتامبر 2019</strong>
Last modified: 17 آگوست 2024

---

جستجوی افزونه‌ها

![](https://ps.w.org/printable-pdf-newspaper/assets/banner-772x250.png?rev=3137146)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/printable-pdf-newspaper/assets/icon-256x256.png?rev=3137146)

# Printable PDF Newspaper

 توسط [Chris Hardie](https://profiles.wordpress.org/chrishardie/)

[دانلود](https://downloads.wordpress.org/plugin/printable-pdf-newspaper.1.1.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/printable-pdf-newspaper/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/printable-pdf-newspaper/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/printable-pdf-newspaper/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/printable-pdf-newspaper/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/printable-pdf-newspaper/)

## توضیحات

Generates a printable PDF newspaper from post content. Great for distributing your
articles and posts in a print format for offline audiences.

To use, from the admin area of your site, select what content you want to include(
supports posts, pages or custom post types and you can filter by tag or category),
how many items, whether to truncate the body content (or excerpt) at a certain character
length, how many columns to format with, and which fields to display. You can even
upload a “masthead” header image for a more authentic newspaper feel, and the plugin
can automatically generate QR codes to allow link scanning with a mobile phone camera.

Download the resulting PDF or save it to your media library for easy public linking
and sharing.

This plugin does not require any remote PDF generation services or subscriptions
to create the printable PDF file, everything is done within the plugin itself.

Credit to [TCPDF](https://tcpdf.org) for the PDF generation library and [Freepik](https://www.flaticon.com/authors/freepik)
for the plugin icon.

#### Contributing

Feature suggestions, bug reports and pull requests on [GitHub](https://github.com/ChrisHardie/printable-pdf-newspaper)
are welcome.

## عکس‌های صفحه

 * [[
 * Example generated PDF file.
 * [[
 * Admin PDF configuration screen.

## نصب

Printable PDF Newspaper is most easily installed via the Plugins tab in your admin
dashboard.

## سوالات متداول

### How can I customize the PDF content styles?

You can customize the PDF newspaper layout and styles using limited CSS definitions,
in two different ways:

 1. Enter your custom style definitions in the “Custom CSS” input field when generating
    the PDF.
 2. In your theme, filter the output of `ppn_pdf_template_css_file_path` to specify
    the full filesystem path to a file containing CSS styles.

When specifying custom styles, do not enclose them in a `<style>` tag or any other
HTML. Invalid CSS may break the PDF generation process.

Here are the CSS classes you may wish to adjust:

 * _ppn-article-title_: Headlines / post titles
 * _ppn-article-wrapper_: Wrapper around the loop of all included articles
 * _ppn-author_: Author byline and display name (if included)
 * _ppn-date_: Article date (if included)
 * _ppn-content_ and _ppn-excerpt_: article body content
 * _ppn-permalink-text_: the “Continue Reading” permalink introductory text
 * _ppn-permalink-qr-code-image_: image class for the QR Code (if included)
 * _ppn-article-bottom-border_: horizontal line dividing articles

You can view the default style definitions in the plugin file `assets/admin/css/
pdf-template-styles.css` or [in Trac](https://plugins.trac.wordpress.org/browser/printable-pdf-newspaper/trunk/assets/admin/css/pdf-template-styles.css).

Note that TCPDF only supports a limited subset of the full CSS specification. Also
note that any fonts referenced must be available in the TCPDF library used to generate
the PDF. You can [view the TCPDF core font list](https://tcpdf.org/docs/fonts/).

There’s also an experimental filter, `ppn_font_file_paths`, that allows you to add
to or change the array of TTF font file paths being loaded.

Currently the header image size/position and subheading styles are not easily customizable,
but will be in the future.

### What filters and hooks are available?

These filters are available to further customize the plugin functionality:

 * `ppn_post_query_args`: override the array of arguments to WP_Query to control
   which posts are included
 * `ppn_pdf_configuration`: override the array of PDF configuration values specified
   by the admin user
 * `ppn_pdf_template_css_file_path`: override the full filesystem path to a CSS 
   file for PDF content styling
 * `ppn_font_file_paths`: override the array of filesystem paths to TTF font files
   to include in the PDF

For example, to customize the number of posts included in the PDF, add something
like this to your theme:

    ```
    add_filter( 'ppn_pdf_configuration', function( $config ) { $config['number'] = 2; return $config; }, 10, 1 );
    ```

### What features will be added in the future?

 * Allow saving of PDF configuration for easy re-use in future runs
 * More customizable header size and layout
 * Generate QR Codes within the plugin instead of Google Chart API
 * Ability to auto-generate the PDF on a schedule
 * Better controls for limiting number of pages generated and column breaks.

### Why would anyone print anything?

Some people still encounter things and ideas through engagement with objects in 
the physical world. If you are looking to attract readers to your WordPress-powered
writing, distributing a printed “teaser” version might just help.

## نقد و بررسی‌ها

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

### 󠀁[Love the idea 🙂](https://wordpress.org/support/topic/love-the-idea-7/)󠁿

 [kumajo](https://profiles.wordpress.org/kumajo/) 10 دسامبر 2021 1 پاسخ

I Love your work! – i’ve added a polish translation for you 🙂 Waiting for styling
options (i have problems with polish national characters)

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

### 󠀁[perfect for its purpose](https://wordpress.org/support/topic/perfect-for-its-purpose-3/)󠁿

 [spreaditunlimited](https://profiles.wordpress.org/spreaditunlimited/) 29 مارس 
2021

Customizable to taste and perfect output.

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

### 󠀁[Nice Tool](https://wordpress.org/support/topic/nice-tool-120/)󠁿

 [rmfberlin](https://profiles.wordpress.org/rmfberlin/) 12 اکتبر 2019 1 پاسخ

Nice tool to print the complete blog or parts of the blog filtered by catogories
or sites. But headlines lower than h1 have the same font size like the font size
of the textbody. It’s very helpful to print out some blog posts together. I use 
footnotes plug-in. The footnote are printed inline with shortcodes (()) and not 
at the bottom of a page or at the end of a post with footnote marks.

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

### 󠀁[Wow – great plugin](https://wordpress.org/support/topic/wow-great-plugin-20/)󠁿

 [Hanspeter](https://profiles.wordpress.org/haemeulrich/) 11 اکتبر 2019 2 پاسخ

This is what we were looking for! Looking forward to get more style options. How
can we support you?

 [ خواندن تمامی 4 نقد و بررسی‌ ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/)

## توسعه دهندگان و همکاران

“Printable PDF Newspaper” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت 
کرده‌اند.

مشارکت کنندگان

 *   [ Chris Hardie ](https://profiles.wordpress.org/chrishardie/)

“Printable PDF Newspaper” به 8 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/printable-pdf-newspaper/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Printable PDF Newspaper” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/printable-pdf-newspaper)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/printable-pdf-newspaper/),
check out the [SVN repository](https://plugins.svn.wordpress.org/printable-pdf-newspaper/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/printable-pdf-newspaper/)
by [RSS](https://plugins.trac.wordpress.org/log/printable-pdf-newspaper/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.1.2

 * Enhancement: initial support for RTL text
 * Maintenance: Tested against WordPress 5.9

#### 1.1.1

 * Tested against WordPress 5.7
 * Fix: display more useful error message when TCPDF cannot retrieve post images

#### 1.1.0

 * Feature: users can specify custom CSS to control PDF appearance
 * Feature: add WordPress filters so developers can customize functionality
 * Maintenance: upgrade Select2 Javascript library
 * Maintenance: improve internationalization in Javascript UI elements
 * Maintenance: other minor improvements for code standards

#### 1.0.2

 * Maintenance: Tested against WordPress 5.4
 * Maintenance: Updated TCPDF library to latest release

#### 1.0.1

 * Tested against WordPress 5.3
 * Fix: address minor PHP index warning with empty check

#### 1.0.0

 * Initial release.

## اطلاعات

 *  نگارش **1.1.2**
 *  Last updated **2 سال پیش**
 *  نصب‌های فعال **100+**
 *  نگارش وردپرس ** 5.2.2 یا بالاتر **
 *  Tested up to **6.6.5**
 *  نگارش PHP ** 5.6 یا بالاتر **
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/printable-pdf-newspaper/)، [German](https://de.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Chile)](https://cl.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/printable-pdf-newspaper/)،
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/printable-pdf-newspaper/)،
   و [Swedish](https://sv.wordpress.org/plugins/printable-pdf-newspaper/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/printable-pdf-newspaper)
 * Tags
 * [journalism](https://fa.wordpress.org/plugins/tags/journalism/)[newsletter](https://fa.wordpress.org/plugins/tags/newsletter/)
   [newspaper](https://fa.wordpress.org/plugins/tags/newspaper/)[pdf](https://fa.wordpress.org/plugins/tags/pdf/)
   [print](https://fa.wordpress.org/plugins/tags/print/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/printable-pdf-newspaper/advanced/)

## امتیازها

 4.8 از 5 ستاره.

 *  [  امتیاز 3 5-ستاره     ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/?filter=5)
 *  [  امتیاز 1 4-ستاره     ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/?filter=1)

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/printable-pdf-newspaper/reviews/)

## مشارکت کنندگان

 *   [ Chris Hardie ](https://profiles.wordpress.org/chrishardie/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/printable-pdf-newspaper/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://chrishardie.com/refer/donate)