Is there any sample of PDF417 with macro?
I mean I've see pieces of code from different email, but I don't know if I
did correctly things like:
1) How many characters or bytes should I use for each block, for each macro
segment, Is it a fixed number or I can set it to any number while it's
valid, for example 800 bytes if it's a byte[] or 850 characters if String...
2) For each MacroSegment and setText do I have to get an
com.lowagie.text.Image and add it to the document or only after all the
setText, I mean wich one of this is the correct one:
option 1)
for(int i=0;......) {
block_of_bytes=get_Next_Block_Of_Bytes();
pdf417_0.setMacroSegmentId(i);
pdf417_0.setText(block_of_bytes);
com.lowagie.text.Image img = pdf417_0.getImage();
document.add(img);
}
document.close();
option 2)
for(int i=0;......) {
block_of_bytes=get_Next_Block_Of_Bytes();
pdf417_0.setMacroSegmentId(i);
pdf417_0.setText(block_of_bytes);
}
com.lowagie.text.Image img = pdf417_0.getImage();
document.add(img);
document.close();
Wich one is the correct one?
3) setMacroFileId name should be set up to file name or is not important?
If nobody can answer me, can somebody tell me if the last version of the
book has a complete sample with pdf417 macro? because we have a copy of the
book, but an "ancient" one, a colleague purchuase it when we use iText the
first time, perhaps two or more years ago, and in the book is only a mention
to barcodes and pdf417 but not any sample with macro options.
Best regards.
--
View this message in context:
http://old.nabble.com/PDF417-with-Macro-tp26708306p26708306.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/