Eric Summkeller wrote: > If I debug your code, your Stream contains a not coded page number. > > Your Stream as String: > "BT\n/F1 12 Tf\n1 0 0 1 0 0 Tm\n(10)Tj\nET\n
Yes, this is a stream with PDF syntax as described on page 43 (Listing 2.2). > My Stream as String: > "BT\n/F1 10 Tf\n1 0 0 rg\n1 0 0 1 0 0 Tm\n(\u0000\u0015)Tj\nET\n > > How could I change the value (\u0000\u0014)? ??? What is the problem ??? Why not just ignore your stream and create a new one? Tf is explained on p347; /F1 is a font present in your PDf and 10 is the font size. rg is not discussed in the book, it sets the color of the text (in your case to red?). Tm is explained on page 345, nothing special about it. Tj is also explained on p347. It's just regular PDF syntax. You know the total number of pages you want to be printed. Are you telling me you don't know how to compose a String and convert it to a byte[]??? I really, really don't understand your question(s). This is not the first time I have no clue when you ask something. Can't you adapt the way you write down your questions so that they are more straightforward??? br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
