Printing with Core/View
[1/7] from: Steven:White:ci:bloomington:mn:us at: 28-Apr-2003 12:53
Just a question to confirm what I believe I know already.
Is it possible, using just the free version of Rebol View, to print on
actual paper? It seems to me that it is not possible.
I want to write what might be considered a "data processing"
application that would have to produce printed reports. The only idea I
can think of is to generate HTML and let the operator "print" on paper
using a web browser.
Thank you.
Steven White
City of Bloomington
2215 W Old Shakopee Rd
Bloomington MN 55431-3096
USA
952-563-4882 (voice)
952-563-4672 (fax)
[swhite--ci--bloomington--mn--us]
[2/7] from: greggirwin:mindspring at: 28-Apr-2003 13:57
Hi Steven,
SW> Just a question to confirm what I believe I know already.
SW> Is it possible, using just the free version of Rebol View, to print on
SW> actual paper? It seems to me that it is not possible.
Have you tried this approach:
write/binary %//prn read/binary %your-file-here.dat
Not terribly flexible, but perhaps workable in some situations.
-- Gregg
[3/7] from: gerardcote:sympatico:ca at: 28-Apr-2003 19:36
Hi Steven,
> Is it possible, using just the free version of Rebol View, to print on
> actual paper? It seems to me that it is not possible.
>
> I want to write what might be considered a "data processing"
> application that would have to produce printed reports. The only idea I
> can think of is to generate HTML and let the operator "print" on paper
> using a web browser.
>
Another somewhat similar alternative - if you don't need a sophisticated
wysiwyg
print - is to dump your data to a simple ASCII file instead
of using an HTML one and ask the operator to print on paper using a simple text editor.
But the effect is the same .... only easier to work with fixed width columns,
like in the old ages of computing !!!
Regards,
Gerard
[4/7] from: gchiu:compkarori at: 29-Apr-2003 13:25
On Mon, 28 Apr 2003 12:53:12 -0500
"Steven White" <[Steven--White--ci--bloomington--mn--us]>
wrote:
> The only idea I
>can think of is to generate HTML and let the operator
>"print" on paper
>using a web browser.
Apart from Gregg's idea, there is also pdf maker from
Gabriele, and another Greg posted a html print server
recently.
--
Graham Chiu
http://www.compkarori.com/vanilla/
[5/7] from: brett:codeconscious at: 29-Apr-2003 11:02
Hi Steve,
There are no File/Print commands in REBOL right now. So yes, you have to
produce some code to achieve printing.
Some options,
1) Text files - output straight to the printer.
2) HTML as you have suggested.
2b) XHTML + CSS print specifications
3) PDF
Using templates for 2 (and maybe even 3) would simplify your programming.
There are REBOL programs around for producing 2 and 3.
It really comes down to what you need to achieve, and what environment you
have to do it within.
Regards,
Brett.
[6/7] from: gschwarz:netconnect:au at: 29-Apr-2003 11:59
HTML Print server address is
http://www.pirella.com/products/html-printer.html
The pro version will have, Page formatting (margins, portrait, landscape),
Duplex printing (double sided), Paper size and number of pages. This is done
by a control tag in the header of the HTML file to be printed.
Regards,
Greg
[7/7] from: sisbro::pipo::com at: 30-Apr-2003 16:53
Hi
> Just a question to confirm what I believe I know already.
>
> Is it possible, using just the free version of Rebol View, to print on
> actual paper? It seems to me that it is not possible.
You cannot do that directly BUT, you can use external program to help you in your task.
If you work with linux, you can output text based report in a directory and use a script
(launch each minute with the crontab) to print it. You can also use postscript language
to.
If you are under Windows or if you have a network with a Windows computer, you can use
RPV. take a look at http://www.rpvreport.com/ This is a nice prog for you. Use the free
version. You create a text based report (in a rep or send by FTP), and this prog print
it for you.
Well, ok, this is not a full Rebol solution, but Rebol cannot print easily by itself,
so...
Jerome
French Reboler