[publican-list] Page size is A4, how do I make it letter

Jeff Fearn jfearn at redhat.com
Thu Apr 10 22:19:25 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/11/2014 01:30 AM, Bryan Kearney wrote:
> I am running publican with the redhat brand, and the pages are
> coming out as A4. Searching has not led me to a solution which
> works. Is there a way to make it spit out letter sized pages which
> are easier to print?

If you are using FOP to produce PDFs then you have to make a brand,
override pdf.xsl, then change the format in the XSL.

If you are using wkhtmltopdf you can pass it command line options via
the publican config file [1].


$ publican help_config | grep -A2 wkht
	wkhtmltopdf_opts:
		Extra options to pass to wkhtmltopdf. e.g. wkhtmltopdf_opts: "-O
landscape -s A3"

Cheers, Jeff.

1: as per SOPs you can set this at the brand level as well via
defaults.cfg or overrides.cfg.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTRxjtAAoJELVxgDMDV+jw77UP/0O8rIJCMVY3fn5lLwgqtF+g
rmGrKEQqmaT675OMIq8Ed7OAiNgu/rHYLOvoYkLphfNWkQDjXveXGQkoa4qqN1jJ
Pbih8l5gRmTL02x8t0HuXTG9CoQ2h0usya6pJJxP19VbW5V+ue9c7zHCzoW8UZ5a
x/dqnvhBFHHA7Q+tGFOJhN4TJdMNrTDwmwKTJgi//FgTIO4gRQbxOZ/ic5rPOpnT
grIlHcwvHOqLrDwOKJCsbLiqczG7MX8tA4MqXO3HFWk3zFPrWTiYxBFfYUUzfmoS
iporiCKmtHY6Bx3YFPKZYXEOBtuVAo+5pjcajvvYSu6LrrUUGkllD4XCc9DZiSbi
6mS2VotViFIyYL5VdFCA0VjeJ2ZQspY6LpFvHT3NKfws/jTKva1w29DYrlj9YE1/
D1l/5kFkEAOLkJDVV4u85UCYqsTjLoD0wc8+fEFrjX3fy/NokIFY+nBRDlDAhEHi
S1I7MTrbpEtOVlKV0IbzAK6vABJH8u8kGgLdhzyAiN6xUWtFc8lAU3Ck1X3EbRRv
cdVlM6x8mYqLJvMMj+TsQ/ju99dMRL3yTjropy0XlnXT7UtDMjv6AYe+qcavcK4t
58QN8kBslOICLYZtMCysHzssxPgYvLyoIU9hBpzbnprARaIg6MQABGaIPHs3fpL4
6Kcm1rn7xNnUhyOfiMbt
=5Gr6
-----END PGP SIGNATURE-----




More information about the publican-list mailing list