On Mon, 11 Jun 2012, tlvp wrote:
> On Mon, 11 Jun 2012 16:03:02 +0200, LC's No-Spam Newsreading account wrote:
>> fixed locations), I see that pdftotext has -x -y -H -W options ...
>>
>> ... but the help files does not tell which units are -x and -y in !
>> Any suggestion ?
>
> Default PS units are points, I suppose, but experiment:
The only thing the help file said is that they are integer. So I
expected points or pixels however defined. I tried to experiment before
posting. But my first experiments were
pdftotext -raw -f 1 -l 1 -x 0 -y 0
pdftotext -raw -f 1 -l 1 -x 1 -y 0
(i.e. I moved the origin by 1 unit in x; the result is that 0,0 gives
the entire file, a shift of 1 unit in x gives an empty file (well, it
contains a single linefeed)
The sample pdf files are made like this
http://orari.atm-mi.it/M1_540.pdf