If you go to Script Manager and set compatiblity to Web, you will see that Preview Mode, Print Setup, and Print are greyed out.
Anyone viewing the database would be viewing it in a Web Browser and would have to manually invoke the print command, and then click a return button.
There may be a work around, but I am unaware of any.
A POSSIBLE work around would be to mark the record, have the server check for marks. When found the server could email a PDF to the user.
"A POSSIBLE work around would be to mark the record, have the server check for marks. When found the server could email a PDF to the user."
This is an interesting idea, but how do you mail a PDF with IWP?
You can setup e-mail through the server and then setup scripting. There's plenty of documentation on the forum and help system to guide you through using FMS and FM to setup e-mailing. I'm not sure you can PDF through IWP though. Save Records as PDF is greyed out in the scripting for web compatibility.
Is there a way to pop-up a new window (_blank) in IWP and display a specific form (layout)?
Ah, I understand what you mean. The tricky part is to create the PDF then (it could be done if you mark the record some way, and let a serverside script take care of it. It's doable.)
Regarding the popupwindow the only solution is to take the user to a new page (ie another layout that will act as a dialogue) and then to the original layout again.
IWP is not compatible with the Custom Dialog script step in any way.