Skip to content

Enhancement: Add paper size format options for PDF  #155

@phicote

Description

@phicote

First I have to say that I love the plugin, the developers have done a fantastic job and I use this tool every day. THANKS!

When exporting metadata to PDF, it would be really nice to be able to select between A4 and Letter paper sizes, which is the most common size in North America, rather than just A4. I know it is possible to change the scale of a pdf when printed, but the result gives very wide left/right margins.

from qgis.PyQt.QtCore import QLocale, QUrl, QSizeF
printer.setPaperSize(QSizeF(215.9,279.4), QPrinter.Millimeter)
printer.setPageMargins(20, 10, 20, 10, QPrinter.Millimeter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions