Commit 8d595ab6 authored by lukas.niegsch's avatar lukas.niegsch

swapped width and height swapping landscape mode

parent 593d78f0
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
*/ */
var optionsForPrintToPdf = var optionsForPrintToPdf =
{ {
landscape: true, landscape: false,
displayHeaderFooter: false, displayHeaderFooter: false,
printBackground: true, printBackground: true,
scale: 1, scale: 1,
paperWidth: mm2inches(297 /* millimetre */), paperWidth: mm2inches(210 /* millimetre */),
paperHeight: mm2inches(210 /* millimetre */), paperHeight: mm2inches(297 /* millimetre */),
marginTop: mm2inches(10 /* millimetre */), marginTop: mm2inches(10 /* millimetre */),
marginBottom: mm2inches(10 /* millimetre */), marginBottom: mm2inches(10 /* millimetre */),
marginLeft: mm2inches(10 /* millimetre */), marginLeft: mm2inches(10 /* millimetre */),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment