in reply to Pretty output on paper - how best to do it?

RTF Files are pretty easy to create, and can be opened in any word processor, windows, mac, linux, or unix. They carry a distinct difference from PDF in being easily editable by end users, whereas PDF authoring is usually left to technical staff or automation.

If this sounds like what you need, try RTF::Document, found at http://search.cpan.org/doc/RRWO/RTF-Document-0.64/Document.pm.

Or here's a code sample of a basic rtf if you prefer to RYO.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset +0 Arial;}{\f1\fnil\fcharset2 Symbol;}} \viewkind4\uc1\pard\b\f0\fs28 Edwards School\b0\fs40\par \fs20 Grade Report\par \par Blah - Blah\par \pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\ +fi-720\li720 yaketty\par {\pntext\f1\'B7\tab}scmaketty\par {\pntext\f1\'B7\tab}placketty\par }

-Jerry
http://www.mtsol.net
"In my line of work, I don't invent many wheels. I just custom fit wheels already in place."

Replies are listed 'Best First'.
Re: Re: Pretty output on paper - how best to do it?
by Matts (Deacon) on Mar 11, 2002 at 17:57 UTC
    The problem with RTF is certain parts of it are open to interpretation by the client that opens them. Widow and Orphan control being just one aspect, font control being another. This means that you can't absolutely 100% guarantee the look of the output. PDF doesn't suffer from that problem, luckily, however you are right that in general you can't edit a PDF.