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

Finden Sie die Bestellungen des letzten Monats und die Gesamtausgaben

Ich möchte alle Kunden finden, die im letzten Monat eine Bestellung aufgegeben haben, und den Gesamtbetrag, den jeder Kunde ausgegeben hat. Wenn ...

Geschrieben von Gast am 28.05.2024 11:54:53
Forum: SQL / Datenbanken
PHP cURL Error

Hello I am facing an issue with cURL in my PHP application. When trying to make a secure HTTPS request, I am getting the following error: cURL e ...

Geschrieben von nolanmaris am 27.05.2024 18:27:56
Forum: PHP Developer Forum
Seltsames Verhalten von execute() oder Fehler meinerseits

Hello You can check below steps - Check for errors after executing the statement. Bind parameters to placeholders in the SQL query. Confirm t ...

Geschrieben von nolanmaris am 20.05.2024 12:12:16
Forum: SQL / Datenbanken
Ein Problem mit der Lampe

Yes ..i was facing the same issue .

Geschrieben von nolanmaris am 20.05.2024 12:02:55
Forum: Off-Topic Diskussionen