Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

printing

 [1/9] from: gchiu:compkarori at: 13-Dec-2000 8:07


Any way to print the current screen from Rebol/view, or perhaps a way to get the browser to print it's current view from cmd in Win32? -- Graham Chiu PS: there's a market out there for browsers with macro functions ...

 [2/9] from: watterss:pilot:msu at: 12-Dec-2000 14:34


At 08:07 AM 12/13/00 +1300, Graham Chiu wrote:
>Any way to print the current screen from Rebol/view, or >perhaps a way to get the browser to print it's current view >from cmd in Win32? > >-- > >PS: there's a market out there for browsers with macro >functions ...
Will Alt-PrintScrn work? It should put the snapshot of the active window in the clipboard. and then you can print that. Shannon Watters

 [3/9] from: watterss::pilot::msu::edu at: 12-Dec-2000 14:56


D'oh! I'm sorry, I guess I wasn't reading (or thinking) correctly. I don't know how to print from WITHIN Rebol/view. <blush> I apologize. Shannon At 02:34 PM 12/12/00 -0800, you wrote:

 [4/9] from: gchiu:compkarori at: 13-Dec-2000 9:23


On Tue, 12 Dec 2000 14:34:00 -0800 Shannon Watters <[watterss--pilot--msu--edu]> wrote:
> >Any way to print the current screen from Rebol/view, or > >perhaps a way to get the browser to print it's current
<<quoted lines omitted: 9>>
> in the clipboard. > and then you can print that.
Hi Shannon, I should have been more explicit. I want to automate the production of web pages ( or other page layout ) based upon a queue of information which is constantly being updated, and then print them. A job for Arexx or Sheep! Hmm. That's a thought. Run Amiga Forever and use Rebol on that ... -- Graham Chiu

 [5/9] from: johnkenyon:ibm at: 13-Dec-2000 9:24


Hi Graham, This has been asked before and Bo gave the following answer -
>It already can! Just do a TO-IMAGE on your View layout, save it as a .png >with SAVE/PNG, use BROWSE to browse that image and then click PRINT on the >browser! Voila! OK...so I admit it's a hack, but a pretty useful one if I
do say so myself! :-) -Bo Cheers, John -- Hi Shannon, I should have been more explicit. I want to automate the production of web pages ( or other page layout ) based upon a queue of information which is constantly being updated, and then print them. A job for Arexx or Sheep! Hmm. That's a thought. Run Amiga Forever and use Rebol on that ... -- Graham Chiu

 [6/9] from: rphilipp:suffolk:lib:ny:us at: 12-Jan-2001 12:49


Has anyone figured out a work around for printing in REBOL/View? Robert P.

 [7/9] from: bo:rebol at: 12-Jan-2001 11:29


Robert, You mean you didn't like my idea of doing a 'save/png 'to-image on the layout (or face) you want to print and then do a BROWSE on that image and selecting PRINT on the browser? :-) Maybe you were looking for something a little more automatic. I don't blame you. On Amiga it isn't a big issue as you can use BROWSE and then you can use an AREXX <-> REBOL bridge script to send the browser a command to print and close the browser when printing is complete. Unfortunately, all platforms are not this flexible. :-) -Bo On 12-Jan-2001/12:49:31-5:00, [rphilipp--suffolk--lib--ny--us] wrote:
>Has anyone figured out a work around for printing in REBOL/View? >Robert P.
<<quoted lines omitted: 57>>
>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) The Official Source for REBOL Books (http://www.REBOLpress.com)

 [8/9] from: rphilipp:suffolk:lib:ny:us at: 12-Jan-2001 18:55


Bo, Could please give an example of:
> 'save/png 'to-image on the layout (or face) you want to print.
I understand the 'save/png' command, how do you use it with a view face command? Robert

 [9/9] from: rphilipp:suffolk:lib:ny:us at: 13-Jan-2001 8:29


Bo, Never mind, after an 1/2 hour so I got this to work. << save/png %test.png to-image view layout [text "Hello, World!"] >> Problem was in your reply you wrote
> You mean you didn't like my idea of doing a 'save/png 'to-image on the >layout (or face) you want to print and then do a BROWSE on that image and > selecting PRINT on the browser? :-)
You omitted the %file which I figured out but you wrote: << 'save/png 'to-image >> which I mistook for a literal << to-image >>. The reason I'm mentioning this is because many of you have been using REBOL for a while and I wanted to re-acquaint you with some of the problems that us newbies face in working with REBOL. :-) I really would like to thank those of you gurus out there who include examples with their response, it really helps a lot. :-) Robert P.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted