hi,since a couple months, firefox then Chrome removed the option to chose orientation printing to landscape/portrait.
I have a table which list is only 3 columns which fit well in both mode.
i have another table with 10 columns which need to be viewed and printed always in landscape orientation.now the print option is gone from browser, how can i force phpmaker to indicate the good orientation to the printer-mode ?i search both landscape | portrait, in the phpmaker help documentary (online and offline), and there is no result.Best regards
- I use Chrome and there is a “Layout” (landscape/portrait) option.
- Printer-friendly mode just output the HTML for browser to print. You cannot force orientation by PHP. However, you may try @page CSS, e.g.
@media print {
@page {
size: landscape;
}
}
It appears that if the orientation is known (probably because of CSS styles like above), Chrome does not show the “Layout” option. If you don’t see the options in the first place, you might have @page styles in your site’s stylesheets already.