0 Replies Latest reply on Aug 9, 2012 9:50 PM by ASKAK

    Closing the pdf reader window after closeDoc

    ASKAK

      Hi All,

       

      I am trying to print a document as pdf and I am able to do that. But when I try to close the document with the command closeDoc, the pdf document alone is closing, the reader window still remains as the same. The conde snippet I used is given below.

       

      app.beginPriv();

      doc.print(pparams);

      app.endPriv();

      doc.closeDoc();

       

      Can you help me to figure this out?

       

      (I am a newbie in programming and in such related topics. Forgive me if  I made some wrong commands or technical word usage )

       

      I could not find a direct command to close the reader.

       

      Thanks in Advance,

       

      Love and Prayers,

      Akhil