Bruno Lowagie (iText <bruno <at> lowagie.com> writes:

> 
> Maybe you are just asking for something that is impossible...
> br,
> Bruno


Bruno's right.  Acrobat doesn't provide any way for a PDF to communicate with a
browser containing it.  You cannot close the window... directly.

I'm not a Web Guy, but it seems to me that you could send a message to the
server (a submit) that could then send a message to the client browser, that
could close the window.

Here's a situation:
1) A PDF is open in a browser
2) That PDF prints and doc.submits() itself to your server
3) your server replies with an HTML page that is quite capable of closing the
window.

Not very elegant, but effective.  LiquidOffice does this sort of thing to get
PDFs to behave the way we want across our supported browsers.

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::disclaimer<Cardiff> Discard;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to