Article2pdf let your visitors download a post as PDF file: images, formats, lists, tables included. You can use a PDF as template file and much more.
The link to use depends on the WordPress permalink settings. If you use the standard permalinks (
?p=123) you can't add a link like
?article2pdf=1 because you can't use the question mark twice in URL transmitted parameters, e.g.:
?p=123?article2pdf=1 will definitly not work! The link has to be
?p=123&article2pdf=1 because multiple URL transitted parameters are seperated by an ampersand. The question mark seperates the requested file from the transmitted options.
If you use not the standard permalink option, then the link has to be created with an question mark because your permalink is something like
/archive/2008/10/my-article/, or simply
/my-article/. If the link
/my-article/?article2pdf=1 is clicked, the plugin creates the pdf.
Another case is if you have an individual permalink structure and the structure set to
/%postname%. A little detail: The trailing slash is missing. Depending on your URL rewrite parameters the pdf link doesen't work sometimes. If that is the case try a link like this:
./?article2pdf=1 or set your permalink structure to
/%postname%/ (add a trailing slash).
In most cases the plugin produces an error and not a pdf file because you have activated caching but the cache directory is not writeable to the webserver. Set the correct user and directory permissons for the cache dir or deactivate caching.
The FPDF library is not able to write UTF charsets. So I have to convert the UTF characters to ISO. If your char isn't available in the ISO charset... hm, no solution yet. But if it's replaceable by an ISO char please drop me an email and I will add that char to the replacement array.
PDF files are cached. Please delete the cache file after editing a post. In the next version I will automate that.
Didn't you read the warning message? That's the bold red text that is displayed when your pdf templates directory is inside of the article2pdf plugin directory. ;) The problem: On plugin update WordPress kills all files in the plugin directory and the reinstalls the plugin. If the pdf templates weren't stored outside the article2pdf directory they are deleted. Reconfigure the template path to something like "
/your/absolute/home/directory/ is the absolute path on the server to your WordPress installation).
Yes, it does if you configure that option in the plugins configuration page. To large images will be resized to fit on the page.
Currently (v0.20 or greater):
Check the html source of your post. If there is a line break in the html code of the link you have to fix that. The link html code has to be in one single line. I don't no why WordPress sometimes adds a line break to the link. I think its a result of the TinyMCE html editor.
You can use the upload option of the plugin configuration manager. If that fails you have to store the pdf template files in the directory you have set in the plugin admin panel. Upload the files with your favourite ftp client. After upload you can choose your pdf template on the plugin admin panel.
Half of the font size always will be rewarded with good results.
Yes, that's the plan. If you have feature requests drop me a mail or leave a comment in my weblog.
Please report in the comments of my weblog or drop me an email.
I use the great FPDF library (freeware). Have a look at http://www.fpdf.org.
I'm from germany, sorry for my bad english.
Requires: 2.5.0 or higher
Compatible up to: 2.8
Last Updated: 2009-6-19
Active Installs: 700+
Got something to say? Need help?