Modify

Opened 8 years ago

Closed 8 years ago

#837 closed enhancement (fixed)

PageToPdfPlugin patch for page size

Reported by: gannis Owned by: athomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Non US users might appreciate a printout in other than 'Letter' format.

The attached patch makes the plugin read the config file for a page size parameter, which is passed to htmldoc.

trac.ini:

[pagetopdf]
pagesize = A4

Attachments (1)

pagetopdf.patch (1.3 KB) - added by gannis 8 years ago.
Page size parameter patch

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by gannis

Page size parameter patch

comment:1 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

(In [1421]) Any configuration items in the [pagetopdf] section will be passed through to
htmldoc as command line arguments. Closes #664 and #837 (override charset and size, respectively).

comment:2 Changed 8 years ago by gannis

  • Resolution fixed deleted
  • Status changed from closed to reopened

Nice work!
Unfortunately the new code searches in trac.ini for the section [tracpdf]}}, not {{{[pagetopdf] as described.

comment:3 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [1441]) Whoops, wrong section. Fixes #837.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.