When i resize the generated buffered image of the barcode, then the resized image is not scanned by the scanner. Please help me, how i can resize the generated buffered image before printing.

Thanks in advance.
Mayur Maheshwari