4
votes
3answers
871 views

How can I determine the page count of odt, doc, docx and other office documents from the CLI?

It's easy to find the page count of a PDF document from the command line: pdfinfo sample.pdf | grep ^Pages: ... but I haven't been able to find a similar method for odt files and other office ...
1
vote
0answers
260 views

how to determine dpi size of a pdf & djvu

As the title says how would I determine the dpi of a pdf or a djvu document? I am looking for a proper linux solution as opposed to running adobe acrobat professional under wine.
1
vote
2answers
559 views

converting djvu to pdf trouble with this OCR preserving code

I want to convert djvu to pdf while preserving OCR. This page describes how to do so, but I am getting a blank html file. In /home/steven/Documents/djvu2pdf/1/, djvu2hocr -p 1 Intro.djvu gives me: ...
4
votes
4answers
2k views

How can I cut the margin of a PDF or djvu file for optimal booklet printing?

I have a file which has exaggerated margins. This forces me to print it as a booklet, otherwise I feel I'm waisting paper (a good size of the font allows me to do so). But if I print directly in ...
1
vote
1answer
300 views

How can I print to DjVu file as we do create PDF?

How can I print to DjVu file as we do create PDF using 'print' menu item of the programs?
1
vote
2answers
544 views

How to fix error in pdf2djvu: “Bogus memory allocation size”

I am using pdf2djvu to convert a pdf file into a djvu file, but got this error while trying to convert either bundled or indirect multi-page djvu file: $ pdf2djvu 1.pdf -o 1.djvu 1.pdf: - page #1 ...
17
votes
5answers
9k views

Converting DJVU to PDF

I want to convert a DJVU document into a PDF document, separating and preserving the text layer and the images while also keeping the structure from the DJVU. How can I do this in Ubuntu? (I will ...
3
votes
1answer
722 views

Bookmark pdf and djvu files

For pdf: How can I create outlines/bookmarks for and merge them into pdf files in either terminal or in GUI application in Ubuntu? For djvu: I know how to do the same thing for djvu files in terminal ...