Re: MAILING LABELS etc.
Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <1114608365.3619.5.camel@term001> |
On Wed, 2005-04-27 at 15:02 +0530, Pramathesh Ambasta wrote:
> Is it possible to generate non-columnar reports (like mailing labels)
> using rlib? if so, what would the xml look like? I am sorry if this has
> been asked before but I looked around in the list archives and could not
> find something.
> Thanks in advance
> Pramathesh
Yes it is.
You need to get creative in your Field Details. Carol Fouse put this
together a little while ago.
The trick is using the HorizontalLine with a size of XXX in order to
create the correct white space between rows
<FieldDetails>
<Output>
<Line>
<literal width="100" col="1"> </literal>
</Line>
<HorizontalLine size="20" bgcolor="'White'"/>
<Line>
<field value="name1" width="44" align="left" col="1"/>
<field value="name2" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line21" width="44" align="left" col="1"/>
<field value="line22" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line31" width="44" align="left" col="1"/>
<field value="line32" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line41" width="44" align="left" col="1"/>
<field value="line42" width="44" align="left" col="1"/>
</Line>
<Line>
<field value="line51" width="44" align="left" col="1"/>
<field value="line52" width="44" align="left" col="1"/>
</Line>
<HorizontalLine size="10" bgcolor="'White'"/>
</Output>
</FieldDetails>
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix