We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin for PDF

Development and Programming

_xammax_'s avatar
_xammax_
31 posts
about 16 years ago
_xammax_'s avatar _xammax_

Hi Mark, I put a new version here: http://www.age38dev.com/EE_Tcpdf-0.0.2-20100415.zip

I do some code fix and refactoring, I’m currently using it on my current installation (EE 2 latest build) with success. In README-ENG.txt I wrote more info. In case of problem please activate debug functionality (I mean: $config[‘log_threshold’] = 4) to find some of usefull.

In brief runtime features via tag params are:

author: the author document, by default webmaster name (means: $config[‘webmaster_name’])

title: the title document, by default website name (means: $config[‘site_name’])

subject: the subject of the document, by default the string “PDF file”

keywords: keywords for the document, by default the string “PDF file”

orientation: “P” as portrait, “L” as landscape … by default the first one

unit: unit of measures for this document, by default “mm”

format: standard measures for this document, by default “A4”

language: relative to some string used in the pdf creation, default “eng” (also available: “ita”, “ger” and “bra”)

font-family: the font document, by default “times” (looks on EE_Tcpdf::adjustFontFamily for which fonts are availables). Please note that this seems to be set per document

font-size: the font size for this document, default “12”

logo: the image to use as logo into the document header, by default the tcpdf_logo.jpg file

save: you can choose to force download the document (‘y’) or just print out (‘n’), by default just print out

dfolder: if you want to use a logo from different location (I mean different from system/expressionengine/third_party/ee_tcpdf/tcpdf/images) this params allows you to specify in which physical relative path (relative from EE installation) it reside, example: assets/images (please note no trailing slash) means a full physical path on *nix like /var/www/ee/assets/images or in Windows C:\www\ee\assets\images

Any type of feedback is really appreciated.

PS. please note that I’ve not remove the TCPDF lib for easy and quick testing, so the size of the package to download at this moment is very … big 😕

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.