March 6, 2017 at 16:56
#30000
The simplest solution is to scale down the content to match the given horizontal space.
It can be done by an increasing of htmlWidth conversion parameter value.
Alternatively you may rotate particular pages from portrait to landscape orientation to win some extra horizontal space.
See http://pd4ml.com/cookbook/pdf_dynamic_format_change.htm
But the recent solution unfortunately does not satisfies your “without changing the HTML content” requirement.