>It works. Thanks.
>I wonder why is after conversion on the end of file many blank rows. I tried with several pdf files. Any ideas how to remove blank rows?
The PDF creator app made them, and they are included in whatever checksums, lengths and whatnot may exist in the file's header. Don't change anything, because it would invalidate those lengths and checksums, and the client app may simply refuse to open them, considering them irregular and possibly hacked.