[REBOL] Re: How to print a document
From: petr:krenzelok:trz:cz at: 12-Jun-2001 10:44
Hi,
so, I know how do you feel. I complained the same some time ago here. Nothing
helped, as RT told us there is no easy multiplatform solution to printing. But
message to RT - who cares? ;-):
1) some multiplatform issues are already broken (e.g. IF someone will use Mac fs
support)
2) strange sound implementation - it is NOT solved in rebol kernel engine
itself:
->> ble: open sound://
** Script Error: Feature not available in this REBOL
** Near: ble: open sound://
->> error? try [ble: open sound://]
== true
So, each time you want to open sound port in your script, you have to state
above condition, or your app will fail. I don't understand why it is not solved
the save way as security box dialog - it just asks for persmission. Maybe it
could be solved that way too? If I don't have sound card in my comp, apps using
sound capabilities don't probably require special versions :-)
I hope that once component system evolves further, these issues will get
resolved ...
Back to printing - for the time being, you will have to reproduce your forms
into html code. It is probably the best solution. It takes some time, but the
aproach is repetitive, so you will reuse your solution once done. It is very
easy to create html output using Rebol and send it to browser via 'browse
function. Every machine out there seems to have browser installed nowadays ...
and in the end - you will like it :-)
3) I wonder if noone of RT's customers asked for printing capabilities? :-)
-pekr-
Thorsten Moeller wrote: