Bug 951290 - Feature request: brand or book access to control the command line options for wkhtmltopdf
Summary: Feature request: brand or book access to control the command line options for...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.2
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-12 01:38 UTC by Tomas Dabašinskas
Modified: 2013-08-09 04:48 UTC (History)
4 users (show)

Fixed In Version: 3.2.0
Clone Of:
Environment:
Last Closed: 2013-08-09 04:48:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Dabašinskas 2013-04-12 01:38:39 UTC
Hi, it would be really nice to be able to give wkhtmltopdf command line arguments when building pdf format. It would be used to change pdf layout from portrait to landscape.

I imagine others would find it useful specifying page layout for certain pages of the document. I have no suggestions on how this could be achieved and it's not a requirement for me atm.

Many thanks,
Tomas

Comment 1 HSS Product Manager 2013-07-16 04:07:38 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.

Comment 2 Jeff Fearn 🐞 2013-07-16 05:14:15 UTC
Add wkhtmltopdf_opts parameter, updated docs, tweaked CSS to format better in landscape.

To ssh://git.fedorahosted.org/git/publican.git
   957a957..563519d  HEAD -> devel

Comment 3 Petr Bokoc 2013-07-23 08:56:07 UTC
Tested with the example from documentation (wkhtmltopdf_opts: "-O landscape -s A3") and several different sizes, works nicely.

Verified in publican-3.1.5-0.fc17.t62.noarch.

Comment 4 Jeff Fearn 🐞 2013-08-09 04:48:01 UTC
The fix for this bug has been shipped in publican 3.2.0


Note You need to log in before you can comment on or make changes to this bug.