This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Nov 24, 2014, 2:28 PM
13 Posts

printing an xpage

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 9.0
  • Role: Developer
  • Tags: window.print(); print
  • Replies: 2

I have a button with a server-side JavaScript expression:

window.print()

and this doesn't work.  It gives me an error message.  I am running my xPage on the web.  This command works in a button in a form, but not an xPage. 

How can I print my xPage without going through the browsers print command?

Thank you.

Nov 24, 2014, 4:47 PM
33 Posts
I think window.print() needs to be client side rather than server side....

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal