Page 1 of 1

How2Print?

Posted: Wed Mar 05, 2014 1:09 pm
by spezi
The need of a "print" primitive is already asked several times in the past in this forum, but it was not included in the BLUEBIRD christmas version, hope to find it in the next version.

I really missed a printer selection dialog and a printout-tool to make a hardcopy for aquired data and graphics inside flowstone without the need of external software.

Is there a workaround for printing?
Is it doable inside ruby?
How do other flowstoners deal with this?

Thank you

Re: How2Print?

Posted: Wed Mar 05, 2014 6:27 pm
by jjs
If you google it you mostly find redirections to Puts and Print

but maybe the options here can help you:
https://www.ruby-forum.com/topic/190843

or here
http://blade.nagaokaut.ac.jp/cgi-bin/sc ... talk/32861

Re: How2Print?

Posted: Wed Mar 05, 2014 8:19 pm
by spezi
Thanks for your input here. Of course I searched this forum and google before.
I´ve used the notepad/p method for printing text on the standard printer in the past, but this is very limited, for example. bw only.

My compiled *.exe file for data acquisition is installed on a small pc board in an industrial invironement (without office progs and such fancy stuff) and I didn´t want reinvent the wheel for a everydays printing task.

For the 12 year old ruby example it seems I had to dive deep in the machineroom like the old dos days. Coloured graphics printing? Maybe.

So a prefabricated flowstone module would be nice, like in other graphical programming languages like labview or ProfiLab. Examples anyhow?