wkhtmltox\PDF\Converter::__construct

(wkhtmltox >= 0.1.0)

wkhtmltox\PDF\Converter::__constructCreate a new PDF converter

Beschreibung

public wkhtmltox\PDF\Converter::__construct(array $settings = ?)

Creates a PDF converter, using optional configuration settings

Parameter-Liste

settings

Name Description Values Changelog
size.pageSize paper size of output document A4 >= 0.1.0
size.width with of the output document 210mm >= 0.1.0
size.height height of the output document 297mm >= 0.1.0
orientation orientation of the output document
Landscape
Portrait
>= 0.1.0
colorMode color mode of the output document
Color
Greyscale
>= 0.1.0
resolution resoluition of the output document most likely has no effect >= 0.1.0
dpi dpi to use while printing 80 >= 0.1.0
pageOffset integer added to page numbers generating headers, footers, and toc   >= 0.1.0
copies     >= 0.1.0
collate collate copies boolean >= 0.1.0
outline generate PDF outline boolean >= 0.1.0
outlineDepth maximum depth of outline   >= 0.1.0
dumpOutline path of file to dump outline XML   >= 0.1.0
out path of output file, if "-" stdout is used   >= 0.1.0
documentTitle title for the output document   >= 0.1.0
useCompression enable or disable lossless compression boolean >= 0.1.0
margin.top size of the top margin 2cm >= 0.1.0
margin.bottom size of the bottom margin 2cm >= 0.1.0
margin.left size of the left margin 2cm >= 0.1.0
margin.right size of the right margin 2cm >= 0.1.0
imageDPI maximum DPI for images in the output document   >= 0.1.0
imageQuality the jpeg compression factor for images in the output document 94 >= 0.1.0
load.cookieJar path of file used to load and store cookies /tmp/cookies.txt >= 0.1.0

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Grundlagen von Views in MySQL

Views in einer MySQL-Datenbank bieten die Möglichkeit, eine virtuelle Tabelle basierend auf dem Ergebnis einer SQL-Abfrage zu erstellen. ...

admin

Autor : admin
Kategorie: mySQL-Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Schwarzes Brett/ News Script

Informationen zu „Schwarzes Brett“ können nach Stichwort, Kategorie oder Veröffentlichungsdatum durchsucht werden. Die Informationen zum „ ...

Geschrieben von stuart99 am 25.08.2024 13:02:48
Forum: PHP Developer Forum
Schleifenproblem für MYSQL mit gleichen INPUT Feldnamen

It needs to be generic so it can run on any similar form. I've added a change event for every element in the form, but I'm not sure how to derive ...

Geschrieben von LarmanKhemka am 22.08.2024 07:20:22
Forum: PHP Developer Forum
PHPMail - Fatal error: Uncaught Error: Class not found

E-Mail senden scheint so weit zu funktionieren. Nur der Gmail-Server produziert ein timeout. Hat jemand da Einstellungen, die bei ihm funktioniert ...

Geschrieben von Lenno am 15.08.2024 16:23:06
Forum: PHP Developer Forum