PRINT: page orientation

Sciter Forums General discussion PRINT: page orientation

This topic contains 4 replies, has 2 voices, and was last updated by  jacky 1 month ago.

  • Author
    Posts
  • #51366

    jacky
    Participant

    Andrew,ahout printing ,how do I set the page orientation(like landscape or portrait) and page size(like A4)?

  • #51372

    Andrew
    Keymaster

    At the moment this configuration is available only through pager.selectPrinter();

  • #51373

    jacky
    Participant

    oh,Is there any plan of supporting page orientation setting(by pager.print())?

  • #51377

    Andrew
    Keymaster

    I would rather add page-size and page-orientation attribute support to printing templates

    <html page-no page-parity page-size="a4" page-orientation="landscape"> 
       ...
    

    that will define preferred setup.

    I suspect that you will need to load particular page template anyway.

    • #51380

      jacky
      Participant

      great! can’t wait for that~

You must be logged in to reply to this topic.