I probably shouldn't even answer this seeing that I doubt you put any effort into looking for the answer yourself. My first google query on 'java label printing' gave about 56 million results. One of those must be adequate for you right? The first page even contains a code snippet for printing with a DYMO label printer which is exactly what you wanted right?
SCJP 6, OCWCD 5, SpringSource Spring 3 Certified Professional (92%)
Actually my project's requirement is i want to print labels (dynamic values) for a jewellery box on a A4 paper so for this I want a java program which will help me to to this work.
Do you actually just want 1 label to be 1 A4 paper? If so, all you need is the generic Java printing API (javax.print or java.awt.print). I have not tried it myself but I would assume that that API would let you print using any regular printer. If you do wish to really print labels using for example a DYMO printer your best bet would be to first find out if the specific label printer you want to use is supported.
As stated before, determine which type of printer you are looking for and use your best friend google. I still can't image how you cannot find one resource about printing in Java..
SCJP 6, OCWCD 5, SpringSource Spring 3 Certified Professional (92%)
no i want more than one label at a time after then they will cut and I searched a lot for printing label in java but not any exact example i found so I am searching it right now still but no success
my need is that what code I should use in java for printing like this. If you have any experience and sample code like this please provide me as soon as possible.