Christian-Asche.com

Der Blog des Webentwicklers

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Impressum
  • Was ist das hier?

Daily Archives: 18. April 2007

HTML in PDF wandeln mit PHP und htmldoc

Posted on 18. April 2007 by Christian Asche


$filename = '';

header("Content-Type: application/pdf");
header("Content-Disposition: attachment; filename=convertedDocument.pdf");

passthru("/usr/bin/htmldoc -t pdf12 --quiet --size a4 --bodyfont Arial --fontsize 8.0 --no-links --webpage $filename");

HTML2PDF

Posted in Linux, PHP, Snipped

Recent Posts

  • Profiling von PHP Applikationen mit XHProf unter Ubuntu
  • …
  • Beauty Retusche
  • Variablen in der Shell (bash)
  • Apache und PHP unter Windows und Linux

 

April 2007
M T W T F S S
« Jan   May »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

  • Allgemein
  • Beauty
  • CSS
  • Das Leben
  • Firefox
  • htaccess
  • icons
  • IE
  • IT Business
  • Javascript
  • Links
  • Linux
  • mSQL
  • mySQL
  • Oracle
  • Outlook
  • Perl
  • Photoshop
  • PHP
  • PHPUGFFM
  • PostgreSQL
  • provider
  • Snipped
  • subversion
  • tortoisesvn
  • Tutorials
  • Windows
  • XHTML
  • XML
Proudly powered by WordPress