Bug 951290

Summary: Feature request: brand or book access to control the command line options for wkhtmltopdf
Product: [Community] Publican Reporter: Tomas Dabašinskas <tdabasin>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: futureCC: aigao, pbokoc, rlandman, xma
Target Milestone: 3.2Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.2.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 04:48:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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