Project

General

Profile

Actions

Feature #6851

open

Change PDF page size

Added by Eric Gallimore over 13 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
2010-11-08
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

By default, when exporting issues (or anything else) to a PDF file in Redmine, it creates a PDF file with A4 page sizes.

In some countries (such as the US), letter size paper is commonly used instead of A4 paper, and it is more convenient to print PDF files with letter-sized pages.

RFPDF supports the following page sizes:
  • a3
  • a4
  • a5
  • letter
  • legal

You can trivially modify the default paper size by editing source:trunk/vendor/plugins/rfpdf/lib/rfpdf/fpdf.rb (line 58). However, I suspect that this should be done by reading an administrative setting in source:trunk/lib/redmine/export/pdf.rb and changing the function call on line 35, thus allowing the user to set the default paper size from the administration area.

I'm afraid that properly adding a configuration variable is beyond my abilities

Actions

Also available in: Atom PDF