Drupal 6: use the print module
jcnventura - February 21, 2008 - 10:08
| Project: | Pdfview |
| Version: | 5.x-1.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | jcnventura |
| Status: | closed |
Jump to:
Description
Hello all,
I am the 'print' (Printer-Friendly pages) module maintainer, and I have started development of a PDF creation module that uses TCPDF and/or dompdf.
My intention is that this new sub-module of the print project will replace the pdfview module. A word of caution, though... The TCPDF and dompdf packages are still somewhat buggy...
João Ventura
PS: At the moment of writing this, I haven't committed anything yet to the Drupal CVS. Rest assured that I will in the coming days.

#1
Hello, I was doing the same today, using cURL to obtain the print/node html, but with not success yet... I think it's a great idea, because this way I can configure pdf with an alternative css. I'm using dompdf.
The great problem I have with PDFView it's that don't display the body content, only few fields, but not with the same aspect as my node when it displays.
Good Luck, if you need my collaboration, please tell me.
#2
I have committed the code there.. It's not yet final, and it is still missing some features:
- Administrative settings to:
- enable/disable the PDF version
- select between TCPDF and dompdf (if both are installed)
- provide a PDF CSS file instead of the print version
- Theming of the PDF output.
- Support of CSS and other
- Documentation on installing the modules, etc. etc.
Currently the output looks a lot better with TCPDF than with dompdf, but this will probably change in the future.
As to the 'same aspect as your node', the objective is to not be able to do it... Ideally, one would be able to faithfully reproduce in the PDF version the header and the footer. The sidebars should never be a part of these versions. At least it is my view that people should not put useful content in the sidebars...
João
PS: Please discuss this in the print issues from now on, as I won't be coming back to this module, now that the print_pdf module is generating PDFs.
#3