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

[REBOL] Re: pdf-maker.r

From: louisaturk:eudoramail at: 19-Apr-2002 6:53

Hi Gabriele and everyone else that has helped me learn how to print to papers, It is early morning here and I haven't gone to bed yet (this is my last day to try to meet a deadline), so please forgive me for not naming all of you that have so graciously helped me, but please accept my sincere thanks. Gabriele, I especially owe you for the excellent job you did with pdf-maker.r and for explaining to me how to use it. You are one of my heros for sure now! Here is how I am using pdf-maker.r to print out my reports (I would appreciate any advice on how this can be improved): REBOL [] do %pdf-maker.r if exists? %pig.pdf [delete %pig.pdf] count: 0 lets: copy [{AAAAAAAAA} {BBBBBBB} {CCCCCC}] ; short informative sample reports :>) pdf: copy {} pdf: {write/binary %pig.pdf layout-pdf [} foreach let lets [ pdf: join pdf compose/deep [{[textbox [} [font Courier 4.4 as-is {^{}(let){^}]]}]] count: count + 1 ] pdf: join pdf {]} pdf: replace/all pdf {^{ } {^{} ;removes leading white space---trim didn't work. pdf: replace/all pdf { ^}} {^}} ;why are these two lines needed? print pdf do pdf browse %pig.pdf ask "Continue? " delete %pig.pdf Thanks again everybody! Louis At 09:45 PM 4/18/2002 +0200, you wrote: