Pdfcrowd
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This is an API module. Only install it if another module tells you to or if you are a developer and want to use its functions.
Create PDF from your application using HTML to PDF Pdfcrowd service (SaaS).
How to use it?
This module creates also two delivery callbacks (for menu items or custom use):
pdfcrowd_delivery_display()- display pdf file directly in browser window (works for most modern browsers),pdfcrowd_delivery_download()- force file download.
Conversion methods:
Pdfcrawd gives you three conversion methods:
->convertHtml()- from custom HTML code to PDF->convertFile()- from HTML file to PDF->convertURI()- from URL to PDF
Read more about these and other available methods on Pdfcrowd PHP API documentation page.
Submodules
Pdfcrowd is for module developers but after downloading you will find main module, which integrates external library with Drupal via Libraries API, and two submodules:
- pdfcrowd_node - that module will add link to node (to links element) which allows you to download node content as a PDF file,
- pdfcrowd_textarea - that module will add form with textarea field where you can place your custom HTML which will be transformed into PDF file.
Requirements
- Libraries API 2.x
- curl
- pdfcrowd.php - you can download it from github, pdfcrowd.com or use drush command
Drush
You can use drush dl-pdfcrowd command to download library to /sites/all/libraries/pdfcrowd location. Be sure that pdfcrowd.php file is in /sites/all/libraries/pdfcrowd/pdfcrowd.php
Similar projects
You can find many other HTML to PDF solutions designed for Drupal, like
- FillPDF
- PDF using mPDF
- PDF Version
etc.
Pdfcrowd module was developed to use pdfcrowd.com API as a conversion engine in custom modules.
