开发者

How to get a pdf printout in landscape format?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜