Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 226 Bytes
<?php
require_once __DIR__ . '/../vendor/autoload.php';
$tempDir = __DIR__;
$document = new Kdyby\Wkhtmltopdf\Document($tempDir);
$document->addFile('http://doc.nette.org/cs/presenters');
$document->save(__FILE__ . '.pdf');