>>>>> "Bruno" == Bruno Lowagie <[EMAIL PROTECTED]> writes:
Bruno> Where can one find the specs of Avery Labels? A good place to look is in the source of the glables program. Cf: http://glabels.sourceforge.net/ Grab the source and look in the glables-*/data/templates directory. In the current src (2.0.2) the templates are xml files that are pretty easy to read. The dimensions are all in (postscript/pdf) points. As an example, Avery 6879 looks like: <Template name="Avery 6879" size="US-Letter" _description="Address Labels"> <Label-rectangle id="0" width="270" height="90" round="5" waste="5"> <Markup-margin size="5"/> <Layout nx="2" ny="6" x0="27" y0="81" dx="288" dy="108"/> </Label-rectangle> <Alias name="Avery 8769"/> </Template> So the labels are 270x90 points, with corners rounded 5 points and 5 point gutters. There are 2 across (nx) and 6 down (ny), they start at '27 81 moveto' (x0,y0) and the origin of each label in a column is 288 points from the origin of the previous, and the origin of each label in a row is 108 points from the origin of the previous (dx, dy). As the templates are XML, one should not have a problem writing java to read them in and automate their use just like glables itself does. -JimC -- James H. Cloos, Jr. <[EMAIL PROTECTED]> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
