
Some time ago I was requested to write custom print functionality for the Webtop. It was necessary to send selected documents to the default user printer. Of course any Applet or ActiveX were not acceptable. After some time of thinking I found quite simple solution for it.
All the client stations were under Windows so I created two Active Script files. The first - “Prepare script” - create folder on the client machine, the second - “Print Script” scan this folder and run shell command ” -print”. After that I create “wsf” - Windows Script Host format in the Docbase and put my two scripts to the Docbase.
The next step requires Export container modification. This was the most complex thing in 5.2.5 and requires couple of lines in 5.3. In general words customized Export container first run View action for the “Prepare script”, then Export selected documents to the given folder on the client machine (the same as configured in scripts) and after that run View action for the “Print Script”. Below is the simple flowchart of the process

So this solution was successfully deployed in two locations . You may download compleate package from here.