Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
print
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
print
Commits
6aba2cfe
Commit
6aba2cfe
authored
Aug 16, 2011
by
João Ventura
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation.
parent
e707d6ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
INSTALL.txt
+9
-18
9 additions, 18 deletions
INSTALL.txt
README.txt
+5
-8
5 additions, 8 deletions
README.txt
with
14 additions
and
26 deletions
INSTALL.txt
+
9
−
18
View file @
6aba2cfe
...
...
@@ -22,9 +22,7 @@ supported paths:
dompdf support:
The dompdf tool produces results that are more faithful to the HTML
printer-friendly page. Unicode is not supported (only ISO-8859-1).
This tool is not supported and there are several known bugs that result
from its incomplete implementation.
printer-friendly page. Good support of CSS 2.1 and partially CSS3.
1. Download dompdf from http://code.google.com/p/dompdf/downloads/list
2. Extract the contents of the downloaded package into one of the
...
...
@@ -42,10 +40,9 @@ dompdf support:
7. Check http://code.google.com/p/dompdf/ for further information.
TCPDF support:
TCPDF seems to be more actively developed than dompdf, but it's support
for CSS is considerably worse. Unicode is supported (use of Unicode fonts
result in HUGE files). Page header and footer are supported. This module
requires TCPDF >= 4.0.000.
TCPDF's support for CSS is considerably worse than the other tools.
Unicode is supported (use of Unicode fonts result in HUGE files). Page
header and footer are supported. This module requires TCPDF >= 5.9.012.
1. Download TCPDF from http://sourceforge.net/projects/tcpdf/
2. Extract the contents of the downloaded package into one of the
...
...
@@ -56,6 +53,11 @@ TCPDF support:
4. Check http://tcpdf.sourceforge.net/ for further information.
wkhtmltopdf support:
wkhtmltopdf is a webkit-based tool that actually is a browser in order to
generate the PDF. Resource hungry: expect to need some 30Mb+ of RAM and
some seconds of CPU power. The static binaries may need additional
libraries in your site, which may present problems in shared hosting
environments. The best, if you can run it.
1. Download wkhtmltopdf from
http://code.google.com/p/wkhtmltopdf/downloads/list. You can choose to
...
...
@@ -81,14 +83,3 @@ can be placed in your robots.txt file after the User-agent line to prevent
search engines from even asking for the page:
Disallow: /print/
Also, for updates from older versions (<=4.7.x-1.0 and <=5.x-1.2) which used
node/nnn/print instead of print/nnn, the following lines can prevent
requests from Google for the obsolete print URLs:
Disallow: /*/print$
Note that pattern matching in robots.txt is a Google extension (see
http://www.google.com/support/webmasters/bin/answer.py?answer=40367 for more
information).
This diff is collapsed.
Click to expand it.
README.txt
+
5
−
8
View file @
6aba2cfe
...
...
@@ -50,14 +50,11 @@ print.tpl.php or the css/print.css files.
- It is possible to set per-content-type and/or theme-specific templates
which are searched for in the following order:
1. print_[format].node-[type].tpl.php in the theme directory
2. print_[format].node-[type].tpl.php in the module directory
3. print_[format].tpl.php in the theme directory
4. print_[format].tpl.php in the module directory
5. print.node-[type].tpl.php in the theme directory
6. print.node-[type].tpl.php in the module directory
7. print.tpl.php in the theme directory
8. print.tpl.php in the module directory (supplied by the module)
1. print--[format]--node--[type].tpl.php in the theme directory
2. print--[format].tpl.php in the theme directory
3. print--node--[type].tpl.php in the theme directory
4. print.tpl.php in the theme directory
5. print.tpl.php in the module directory (supplied by the module)
format is either html, mail or pdf, and type is Drupal's node type (e.g.
page, story, etc.)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment