I have been looking (google, yahoo, etc) how to generate a pdf to print avery address  labels. There seems to be nothing out there. What I have done is to code the address labels using something like this (pseudo code):

      ColumnText ct = new ColumnText(cb);
      ct.setYLine(document.top() );

      Phrase sellerNumValue = new Phrase( "Peter Pan, fontArialBold24 );
      ct.setSimpleColumn(sellerNumValue, 5, 0, 18,
                         top, 20, Element.ALIGN_JUSTIFIED);
      ct.go();

The document looks good. But it does not print the correct way. The printer seems to change the document's margins. Any ideas will be really aprecciated


Yahoo! Personals
Single? There's someone we'd like you to meet.
Lot's of someone's, actually. Try Yahoo! Personals

Reply via email to