Canalblog
Editer l'article Suivre ce blog Administration + Créer mon blog
Publicité
Tux7542
2 octobre 2014

Convertir une page HTLM en PDF

blog

Pour convertir une page HTLM en PDF, grâce à wkhtmltopdf, c'est très ultra simple.

Installation:

  • Archlinux:  sudo pacman -S wkhtmltopdf
  • Ubuntu et dérivées: sudo apt-get install wkhtmltopdf

Utilisation:

Ouvrir un terminal puis taper: wkhtmltopdf url nom_document.pdf

exemple: 

wkhtmltopdf https://www.synology.com/en-global/support/security/bash_shellshock test.pdf 

donnera le résultat suivant: test

 

Publicité
Publicité
Commentaires
Tux7542
Publicité
Visiteurs
Depuis la création 32 493
Tux7542
Archives
Newsletter
Derniers commentaires
Pages
Publicité