Hi Paulo, 
this is the code for the barcode, text and page
number.

cb.concatCTM(1, 0, 0, 1, 295, 770);
Barcode128 code128 = new Barcode128();
code128.setCode(BOLNULDV);                  // code
code128.setCodeType(Barcode.CODE128); // type
code128.setBarHeight(15);             // height of the
tall bars
code128.setSize(11);                  // height of the
short bars
code128.setBaseline(12);              // the text
distance under the bar
code128.setN(5f);              // distance between
bars
code128.setX(1f);            // bar width
code128.setFont(courB);
code128.placeBarcode(cb, null, null); 
...
cb.setFontAndSize(cour, 7);
cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "Data e
ora", 450, 754, 0);
...
cb.addTemplate(tplPage, 460,  816);


--- Paulo Soares <[EMAIL PROTECTED]> ha scritto: 

>  
> 
> > -----Original Message-----
> > From:
> [EMAIL PROTECTED] 
> >
>
[mailto:[EMAIL PROTECTED]
> On 
> > Behalf Of beppe costagliola
> > Sent: Friday, June 09, 2006 10:50 AM
> > To: [email protected]
> > Subject: [iText-questions] Put Barcode on existing
> Pdf
> > 
> > I put a barcode and some text (number of picking
> list,
> > number of page, date of printing) on existing PDF
> that
> > contains scanned tiff/g4 images. 
> > 
> > When the underlying image is dark, or the barcode
> is
> > over a black existing logo, it cannot be used.
> > 
> > Is it possible to put the barcode and a text on a
> > small white rectangle that covers the underlying
> image
> > ?
> 
> Of course. What code do you use to create and place
> the barcode?
> 
> Paulo 
> 
> 
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao
> destinatário. Pode conter informação confidencial ou
> legalmente protegida. A incorrecta transmissão desta
> mensagem não significa a perca de confidencialidade.
> Se esta mensagem for recebida por engano, por favor
> envie-a de volta para o remetente e apague-a do seu
> sistema de imediato. É proibido a qualquer pessoa
> que não o destinatário de usar, revelar ou
> distribuir qualquer parte desta mensagem. 
> 
> Disclaimer:
> This message is destined exclusively to the intended
> receiver. It may contain confidential or legally
> protected information. The incorrect transmission of
> this message does not mean the loss of its
> confidentiality. If this message is received by
> mistake, please send it back to the sender and
> delete it from your system immediately. It is
> forbidden to any person who is not the intended
> receiver to use, distribute or copy any part of this
> message.
> 
> 
> > > _______________________________________________
> iText-questions mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to