Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
fpdf /
help /
Delete
Unzip
Name
Size
Permission
Date
Action
UML
[ DIR ]
drwxr-sr-x
2013-05-22 07:55
css
[ DIR ]
drwxr-sr-x
2013-05-22 07:55
phpdoc
[ DIR ]
drwxr-sr-x
2013-05-22 07:30
samples
[ DIR ]
drwxr-sr-x
2013-05-22 07:55
api.html
12.04
KB
-rw-r--r--
2013-05-22 07:55
api_dom.html
614
B
-rw-r--r--
2013-05-22 07:55
api_events.html
4.18
KB
-rw-r--r--
2013-05-22 07:55
api_fetchers.html
2.5
KB
-rw-r--r--
2013-05-22 07:55
api_samples.html
3.89
KB
-rw-r--r--
2013-05-22 07:55
calling.html
12.27
KB
-rw-r--r--
2013-05-22 07:55
compatibility.css.2.1.html
7.75
KB
-rw-r--r--
2013-05-22 07:55
compatibility.css.3.html
2.43
KB
-rw-r--r--
2013-05-22 07:55
configuration.html
8.99
KB
-rw-r--r--
2013-05-22 07:55
directives.html
1.57
KB
-rw-r--r--
2013-05-22 07:55
faq.html
25.08
KB
-rw-r--r--
2013-05-22 07:55
forms.html
7.38
KB
-rw-r--r--
2013-05-22 07:55
generated_toc.html
4.16
KB
-rw-r--r--
2013-05-22 07:55
howto_afm.html
459
B
-rw-r--r--
2013-05-22 07:55
howto_fonts.html
6.79
KB
-rw-r--r--
2013-05-22 07:55
index.html
1.62
KB
-rw-r--r--
2013-05-22 07:55
install.html
1.49
KB
-rw-r--r--
2013-05-22 07:55
internals_pagebreak.html
3.12
KB
-rw-r--r--
2013-05-22 07:55
internals_reserved.html
419
B
-rw-r--r--
2013-05-22 07:55
misc.html
75
B
-rw-r--r--
2013-05-22 07:55
requirements.html
4.85
KB
-rw-r--r--
2013-05-22 07:55
Save
Rename
<html> <head> <title>Minimal code samples</title> <link rel="stylesheet" type="text/css" medial="all" title="Default" href="css/help.css"/> <style type="text/css"> div.note { margin: 0.5em 0; } div.class { margin: 0.5em 0 0.5em 2em; } div.interface { margin: 1em 0 0.5em 0; padding: 2px 5px; background-color: #f0f0f0; } span.interface_name { font-weight: bold; } span.method_name { font-weight: bold; } </style> </head> <body> <h1>Minimal code</h1> <h2>Using the default pipeline</h2> <pre class="code"> require_once('pipeline.factory.class.php'); parse_config_file('./html2ps.config'); global $g_config; $g_config = array( 'cssmedia' => 'screen', 'renderimages' => true, 'renderforms' => false, 'renderlinks' => true, 'mode' => 'html', 'debugbox' => false, 'draw_page_border' => false ); $media = Media::predefined('A4'); $media->set_landscape(false); $media->set_margins(array('left' => 0, 'right' => 0, 'top' => 0, 'bottom' => 0)); $media->set_pixels(1024); global $g_px_scale; $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media->pixels; global $g_pt_scale; $g_pt_scale = $g_px_scale * 1.43; $pipeline = PipelineFactory::create_default_pipeline("",""); $pipeline->process('http://www.google.com', $media); </pre> <h2>Building your own conversion pipeline</h2> <pre class="code"> require_once('pipeline.class.php'); parse_config_file('html2ps.config'); $g_config = array( 'cssmedia' => 'screen', 'renderimages' => true, 'renderforms' => false, 'renderlinks' => true, 'mode' => 'html', 'debugbox' => false, 'draw_page_border' => false ); $media = Media::predefined('A4'); $media->set_landscape(false); $media->set_margins(array('left' => 0, 'right' => 0, 'top' => 0, 'bottom' => 0)); $media->set_pixels(1024); $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media->pixels; $g_pt_scale = $g_px_scale * 1.43; $pipeline = new Pipeline; $pipeline->fetchers[] = new FetcherURL; $pipeline->data_filters[] = new DataFilterHTML2XHTML; $pipeline->parser = new ParserXHTML; $pipeline->layout_engine = new LayoutEngineDefault; $pipeline->output_driver = new OutputDriverFPDF($media); $pipeline->destination = new DestinationFile(null); $pipeline->process('http://www.yahoo.com', $media); </pre> <h2>Running the script in batch mode</h2> <pre class="code"> require_once('pipeline.factory.class.php'); parse_config_file('./html2ps.config'); global $g_config; $g_config = array( 'cssmedia' => 'screen', 'renderimages' => true, 'renderforms' => false, 'renderlinks' => true, 'mode' => 'html', 'debugbox' => false, 'draw_page_border' => false ); $media = Media::predefined('A4'); $media->set_landscape(false); $media->set_margins(array('left' => 0, 'right' => 0, 'top' => 0, 'bottom' => 0)); $media->set_pixels(1024); global $g_px_scale; $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media->pixels; global $g_pt_scale; $g_pt_scale = $g_px_scale * 1.43; $pipeline = PipelineFactory::create_default_pipeline("",""); $pipeline->process_batch(array('http://www.google.com', 'http://www.yahoo.com'), $media); </pre> </body> </html>