Loading...
Skip to main content
Navigation and related functionality and content
Home Page
About
Marketplace
Sample page
Wishlist at dev site
Sitemap (Categories)
Tiki Customization
Creating a theme
Converting a Bootstrap theme
Contributing, sharing or selling
Customizing icons
Tips
Template Tricks
CSS Tricks
Feature Examples
Articles
Blogs
Calendar
Forums
FAQs
Trackers
Files
Links Directory
Wiki Pages
Find
Related content
Upcoming event :
Tiki Roundtable Meeting
Thu 18 of Jul, 2024
Tiki Roundtable Meeting
Start: Thursday 18 July 2024 14:00:00 GMT-0000
End: Thursday 18 July 2024 16:00:00 GMT-0000
Tiki 27 will be the focus at this month's meeting, along with other topics that you can add to at ((Roundtable Meeting 2024 07))
Save this to my calendar
Subscribe to feed
History: Print
View published page
Source of version: 30
(current)
See also: ((Typography)) [http://stackoverflow.com/questions/12302819/how-to-create-a-printable-twitter-bootstrap-page] [http://dev.tiki.org/Print] {maketoc title=""} !! Print options * When printing, there should be a bunch of available options (WikiPublisher.org is a great example) * Most common options are shown by default, and the others in an advanced tab * Since users tend to each have preferred default settings, system should remember last recent print. Ex. with cookies * Default options are Tiki prefs. overridable by perspective !!! List of options !!!! Tiki options * With / without logo / header * With / without footer ** Option to show / hide: The original document is available at ... (which by the way doesn't site language) * Cover page * Table of Content -> Ideas to improve at ((dev:maketoc)) ** JavaScript ** Via wkhtmltopdf ** None * Embellish text via ((typography)) lib. * Links ** Hide ** Show underline and external link icon ** Put link as footnote ** Put link just after label * PluginMouseOver ** Hide ** Show as sidenote ** Show as footer * PluginTabs ** Print current ** Print all * + / - for headers and bullet list, or PluginFade ** Print current ** Open all * PluginVersions ** Print current ** Print all !!!! Feature option * Wiki page may have different options than printing a tracker item !!!! Print engine alternatives * mPDF is a very powerful PHP library * wkhtmltopdf is the reference PDF generator and has many options: http://wkhtmltopdf.org/usage/wkhtmltopdf.txt ** phpwkhtmltopdf and Snappy should make them all available to Tiki * WeasyPrint is a Python library * PhantomJS would be an interesting alternative: http://phantomjs.org/api/webpage/property/paper-size.html ** https://github.com/jonnnnyw/php-phantomjs * SlimerJS now has PDF options: https://github.com/laurentj/slimerjs/pull/195 {HTML()}<script type='text/javascript' src='https://www.openhub.net/p/slimerjs/widgets/project_factoids_stats?format=js'></script>{HTML} !!!! Print engine options See [http://www.mpdfonline.com/repos/mpdfmanual.pdf|mPDF manual] for a large number of examples * PDF outlines ** Table of content -> Ideas to improve at: ((dev:maketoc)) * Header / Footer (Page numbers, title, date / time of print) * Watermark * Page sizes (A4, letter, etc) and options * Print as user X or group Y, which can use to personalize or redact text. Can we use PluginGroup or should be go for creating a PluginRedact? * etc. !! Other ideas * It would be nice to use a wiki page to make the template to layout the header / footer / etc. * Maybe there should be a way to override some mPDF params via a wiki plugin? ex: force a page break. This page in landscape mode. force another page break. This page in portrait mode. Ex.: {print break=page} {print layout=portrait} !! Related links * http://www.sitepoint.com/10-jquery-print-page-options/ -= alias =- * (alias(Bootstrap print))