Unoconv LibreOffice Pdf Preview is generating a blank pdf

864 views Asked by At

I am using below configuration

  • Ubuntu 16.04
  • LibreOffice 5.1.6.2
  • Unoconv 0.7

I am trying to generate preview of a pdf file using below command

sudo unoconv  -e PageRange=1-3 -f pdf --output abc-preview.pdf Numberic.pdf

I have also try to install fonts like below

sudo apt-get install fonts-crosextra-carlito fonts-crosextra-caladea

but it is generating blank pdf

original file is here

converted file is here

Please help me its been 2 week, I am not able to solve this problem.

1

There are 1 answers

6
Rolf of Saxony On

That pdf starts at page 207, so it looks a bit queer, try another approach if you're desperate. enter image description here Install qpdf using synaptic or apt, then:

qpdf --empty --pages Numeric.pdf 1-3 -- N1.pdf

Edit:
To convert a .doc or .docx file to pdf

lowriter --convert-to pdf yourfilename.xxx