Loading...
 
Change PDF output settings for a portion of a page

New in Tiki18

Introduction

PluginPDFpage is another wiki plugin for mPDF. Its function is to customize page settings for PDF output of any specific page (also works over multiple pages).

PluginPDF sets parameters for the wiki page, while PluginPDFpage changes the parameters just for a specific blob of text.

An example of usage is to switch from portrait to landscape for one large table, and to change back after the table.

Plugin Parameters

Insert page with new settings in PDF
Introduced in Tiki 18.
Go to the source code
Preferences required: wikiplugin_pdfpage

Parameters Accepted Values Description Default Since
(body of plugin) Page Content
footer Possible values: HTML / Wiki Syntax / Plain text, {PAGENO}, {DATE j-m-Y}.
For example: {PAGETITLE}|Center Text|{PAGENO}, Page {PAGENO} of {NB}, .
Set footer value as off, to remove footer from page
pagesize (blank)| Letter| Legal| Tabloid/Ledger| A0| A1| A2| A3| A4| A5| A6 ISO Standard sizes: A0, A1, A2, A3, A4, A5 or North American paper sizes: Letter, Legal, Tabloid/Ledger (for ledger, select landscape orientation)
background Enter a valid CSS color code.
background_image Enter the full URL.
watermark_image To turn off watermark image on the page, set value as off Full URL of watermark image
watermark Watermark text value, for example: Confidential, Draft etc.
orientation (blank)
P
L
Landscape or portrait P
header Enter Wiki Syntax / HTML code / Plain text.
Possible values: Custom HTML / Wiki Syntax / text , {PAGENO}, {DATE j-m-Y}, Page {PAGENO} of {NB}, Left text| Center Text | Right Text.
Set header value as off, to turn off header from page
margin_bottom digits Numeric value, no need to add px. For example 10 10
margin_footer digits Only applicable if footer is set.Numeric value only, no need to add px. Warning: Footer can overlap text if bottom margin is not set properly 5
margin_header digits Only applicable if header is set. Numeric value only, no need to add px.Warning: Header can overlap text if top margin is not set properly 5
hyperlinks (blank)
off
footnote
margin_left digits Numeric value.For example 10 10
columns (blank)
2
(blank)
(blank)
margin_right digits Numeric value, no need to add px. For example 10 10
margin_top digits Numeric value, no need to add px. For example 10 10



Sample PluginPDFpage Code

Copy to clipboard
{PDFPAGE(orientation="L" watermark="Landscape Page")} contents of the page that you want impacted by different parameters than the rest of the page {PDFPAGE}


Do not try to use like this:

Copy to clipboard
{pdfpage orientation="L"}

Aliases

PDFPage

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki