Print Preview Different Than Actual Print? RRS feed

  • General discussion

  • Hello

    I am making a Windows 8 Store App using Javascript. I need to Print the content of my IFrame. I went through the sample Print App and using the code snippet registered for Print Contract. I also made some changes in top, height, width of the IFarme so that I get exactly what is needed to be printed. The thing is that when I go to Devices-->"Microsoft XPS Document Writer" the Print Preview shows exactly what I need but as soon as I click on "Print" my document changes entirely the 1-Page Print Preview is printed in 2-Pages, the content is not properly aligned etc. etc.

    What I need is the Print button should print exactly what is shown in the Print Preview. Could anyone please tell me to how to achieve this?



    Sunday, February 3, 2013 10:38 AM