开发者

How to get a pdf printout in landscape format?

开发者 https://www.devze.com 2023-03-01 06:06 出处:网络
This is with reference to this thread How to make a pdf printout occupy the entire A4 page. I am able to bring all the content into a single page, but e开发者_运维知识库ven if I set the printer prefe

This is with reference to this thread How to make a pdf printout occupy the entire A4 page.

I am able to bring all the content into a single page, but e开发者_运维知识库ven if I set the printer preferences to landscape format, it doesn't print it.

What could be the problem?


Are you setting the orientation attribute of the tag? That attribute controls the orientation of the page, and you should set it to landscape.

From the Seam documentation

orientation — The orientation of the page. Valid values are portrait and landscape. In landscape mode, the height and width page size values are reversed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号