Hi
Does somebody knows how to run Print2Flash on Ruby on Rails?
I heard that I have to use win32ole but do not know how?
Or does somebody know how to run a VBScript from Ruby?
Do you have tips, suggestions or even a sample program?
Thanks
Terasurfer
Run Print2Flash on Ruby on Rails
Re: Run Print2Flash on Ruby on Rails
We haven't tested this on Ruby but think it is possible to access Print2Flash OLE Automation API from there using win32ole standard Ruby library . You may create a Print2Flash Server object using the code such as this:
and then you may call Server object methods or access properties as described here: http://print2flash.com/help/ServerObject.php
Also you need to setup a Print2Flash service as described here: http://print2flash.com/help/ServerAppli ... window.php
Code: Select all
p2f = WIN32OLE.new(“P2F.Server2â€)
and then you may call Server object methods or access properties as described here: http://print2flash.com/help/ServerObject.php
Also you need to setup a Print2Flash service as described here: http://print2flash.com/help/ServerAppli ... window.php