Title: PDF-Creator
Author: maartenhemmes
Published: <strong>16 maj 2014</strong>
Last modified: 16 maj 2014

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# PDF-Creator

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/pdf-creator/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/pdf-creator/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/pdf-creator/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/pdf-creator/#developers)

 [Support](https://wordpress.org/support/plugin/pdf-creator/)

## Beskrivning

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

## Installation

 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.

## Vanliga frågor

  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.

## Recensioner

![](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/) 3 september 2016

Not working

 [ Läs 1 betyg ](https://wordpress.org/support/plugin/pdf-creator/reviews/)

## Bidragsgivare och utvecklare

”PDF-Creator” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

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

[Översätt ”PDF-Creator” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/pdf-creator)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/pdf-creator/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/pdf-creator/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/pdf-creator/) via [RSS](https://plugins.trac.wordpress.org/log/pdf-creator/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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

## Meta

 *  Version **0.3**
 *  Senast uppdaterat **12 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.4 eller senare **
 *  Testat upp till **3.4.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/pdf-creator/)
 * Etiketter
 * [creator](https://sv.wordpress.org/plugins/tags/creator/)[pdf](https://sv.wordpress.org/plugins/tags/pdf/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/pdf-creator/advanced/)

## Betyg

 1 av 5 stjärnor.

 *  [  0 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=2)
 *  [  1 1-stjärnig recension     ](https://wordpress.org/support/plugin/pdf-creator/reviews/?filter=1)

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

[Visa alla recensioner](https://wordpress.org/support/plugin/pdf-creator/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/pdf-creator/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://www.hemmes.it)