print orientation RRS feed

  • Question

  • User-1196640685 posted

    hello, everybody

    really need help on printing

    i have to print following string but in envelope. how can i print it

    Good For Payment Cheque Details:

    IssueDate: 11/27/2018 5:39:56 PM

    Beneficiary: asdfasdfds

    Amount: 50000.0000

    Note: You can validate this document online at

    https://idocs.shangrilabank.comwith validation code:DRQW-CUIY

    Tuesday, November 27, 2018 2:46 PM

All replies

  • User503812343 posted

    Call this code from your Print button

    var css = '@page { size: landscape; }',
        head = document.head || document.getElementsByTagName('head')[0],
        style = document.createElement('style');
    style.type = 'text/css';
    style.media = 'print';
    if (style.styleSheet){
      style.styleSheet.cssText = css;
    } else {

    Tuesday, November 27, 2018 9:47 PM
  • User1520731567 posted

    Hi silverlightjashmin,

    I enter validation code and click search button,it shows a table...

    I can not understand what your mean clearly.

    Do you mean you would like to print as a envelope style?

    Best Regards.

    Yuki Tao

    Wednesday, November 28, 2018 9:22 AM