[REBOL] pdf-maker.r
From: louisaturk::eudoramail::com at: 17-Apr-2002 23:56
Hi Gabriele Santilli and other fellow rebols,
I am only now realizing why make-doc-pro and pdf-maker are so important to
rebol users---platform independent printing. In fact, the only way to
print to paper (am I correct about this?).
Question 1: Why won't page three (below) print the contents of the
variable named letter? I get a blank page, but this is what I need to be
able to do to dynamically create the pages for printing. (The following
best viewed with Courier font.)
REBOL []
do %pdf-maker.r
letter: {Date Check# Reg. Support Special
=========== ========= ============ ===========
26-Jan-2001 298 $40.00 $0.00
9-Feb-2001 315 $40.00 $0.00
22-Mar-2001 344 $40.00 $0.00
}
write/binary %pig.pdf layout-pdf [
[ ;page 1
textbox [font Courier 4.8 "Example text 1."]
] [ ;page 2
textbox [center font Helvetica 2.8 "What?"]
] [ ;page 3
textbox [font Courier 4.8 letter]
]
]
browse %pig.pdf
Question 2: Is it possible to read into pdf-maker.r a pre formatted
text-only document (like that contained in the variable named letter
above), and have it printed as pre formatted without further coding? Or is
it necessary to change linefeeds to newline or ^/ etc.?
Question 3: How can one turn off justification?
Question 4: I have version 1.21.0 of pdf-maker.r. Is that the latest?
Question 5: I have a 6 page pdf-maker-doc.pdf, and a pdf-maker-doc.r. Is
there more documentation somewhere?
Question 6: What is the purpose of the following line at the beginning of
pdf-maker-doc.r:
rebolface: load 64#{..content deleted here..}
Thanks for making pdf-maker.r available, Gabriele!
Louis