madhavi tondapu

Greenhorn
+ Follow
since Jun 17, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by madhavi tondapu

Hi,

I am trying to generate one pdf file using lowagie package and the text of this pdf file shoudld use OCR Font family ...
That font is not available in lowagie package ..

Thanks.
17 years ago
Hi,

I am generating one pdf file in java. How can I use OCR Font A for text of pdf file ..Please can any one help where can I get OCR Font A and how to use that one in java ... I want to write some text into pdf file and that text should use OCR Font A family ...

Thanks.
17 years ago
Hi,

I am generating one pdf file in java. How can I use OCR Font A to print text of Pdf file ..Please can any one help where can I get OCR Font A and how to use that one in java ...

Thanks.
17 years ago
Hi,

I am reading data from socket channle by connecting to remote server from my machine.
I am reading all the data but the data is going to be duplicate in some cases.
buffer.clear() is not clearing all the data.
Suppose if I read first 100 bytes. Whne reading next 100 bytes and if there any spaces then
the spaces are going to replace with previous data. Why is it happening.
How do I read data with duplicate even if there any spaces in the data.
Here is the code i am trying to use to read data.


try {
requestByteBuffer = ByteBuffer.wrap(request, 0, request.length);
channel.write(requestByteBuffer);

buffer = ByteBuffer.allocate(100);
sbResponse = new StringBuffer();

loop: while (channel.read(buffer) > 0) {

array = new byte[100];

buffer.position(0);

buffer.get(array, 0, 100);

str = new String(array);

sbResponse.append(str);

buffer.clear();

}
}catch(Exception e) { }


Thanks,
Madhavi.