How To Print Files using out systems


My requirement is to print file while click on button , so how can i send file to printer using outsytems and i need print file status like.print completed or file in queue please suggest.

Hi Himanshu,

Are you using any forge component for preview and print? There are few good ones, e.g. SimpleViewer.

Hi Verma,

You can use the JavaScript "window.print();" to bring up the print dialog box. From here, the user can print or send to queue. 

There are many ways to add JavaScripts in OutSystems as shown in the documentation here e.g. onclick button property, or RunJavaScript Action.

Hope this helps. Could you help to verify if it works for you?