0
votes
1answer
96 views

convert.im6: Unable to open image `xxx': Permission denied @ error/blob.c/OpenBlob/2638

I just tried converting several different images into a PDF file using the 'convert' command in a terminal, but when I did so, it returned: convert.im6: Unable to open image 'xxx.pdf': Permission ...
3
votes
1answer
26 views

Concatenate single common PDF to directory of PDF files

I use PDFtk, and the PDF Chain gui. Despite reading the man page and investing time in a variety of web searches, I can't find the answer to this one - I have a directory of PDF files, and I want to ...
3
votes
3answers
85 views

How to remove images from a pdf file

I've got a rather large (~100Mo) pdf document with lots of images in it (as illustrations and background images), and I'd like to have a copy of that pdf without images but I can't find out how to do ...
1
vote
1answer
90 views

Possible to call GIMP via to the commant line to flatten and export a pdf image? [duplicate]

I've got a pdf figure with millions of semi-transparent points that I made in R. I want to flatten it to reduce filesize and then export it back out as a PDF (as a vector still, not a bitmap). If ...
2
votes
1answer
566 views

problem running a command with incron

I try to print some ODT documents from LibreOffice 4 (Ubuntu 13.04 OS) to a Toshiba e-Studio 167 printer. When the document has fonts like Liberation Sans, Liberation Serif, etc., I get a printed page ...
0
votes
1answer
227 views

Help with “advanced” shell scripting | how to create an image preview of a pdf

First of all, sorry for my english: i'm not british/american. Here is my problem. I've got a folder named pdf with lots of files pdf inside it. I've got another folder named thumbnail, which is ...
6
votes
3answers
1k 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 ...
2
votes
3answers
3k views

How to crop a multi-page (image/scanned) pdf file (which won't crop with pdfcrop)?

Usually, I'm pretty happy using pdfcrop, even though the cropped output usually consumes significantly more disk space. Note that comparable code does exist, which addresses and resolves this issue. ...
4
votes
1answer
3k views

LibreOffice Command Line Conversion - No Output File?

I am using LibreOffice installed on my Linux box and I seem to be having a weird problem in that the conversion seems to be taking place, and there seem to be no errors, but there is no output file in ...
2
votes
1answer
256 views

Creating .PDF from Terminal

it it possible that to make PDF of any webpage using any command in Terminal
18
votes
3answers
3k views

How do I search a PDF file from command line?

I'm checking references of a paper and want to find the positions in the body where some paper (in the references list) is referenced. Is there a PDF editor which supports search via bash and extract ...
3
votes
1answer
529 views

read pdf document properties from terminal as seen in nautilus

From the terminal I would like to be access the data that is readable when right clicking on a pdf file and selecting "document". example I have tried reading metadata with tools such as mminfo and ...
12
votes
4answers
14k views

Command line tool to crop PDF files

I am looking for an open source command line tool to crop PDF file just like we can do in Adobe Acrobat Pro. I have tried PdfTk, ImageMagick, PyPDF, and GhostScript—all with no success so far.
1
vote
4answers
2k views

Open file using custom command: how to specify the file in cmd line?

I want to open PDF using PDF-XChange Viewer through WINE. How should I specify the pdf file name in the "custom command" line so that I can open a PDF file using PDF-XChange Viewer by double clicking ...
1
vote
1answer
482 views

Getting the “Created” timestamp of a PDF file in the CLI

I'd like to know if there's a CLI command to get the "Created" timestamp from the "Document" tab (from file properties of a PDF) in the CLI? I know that I can use stat to get Access/Modified/Changed ...
2
votes
2answers
1k views

PDFtk Password Protection Help

I am using Ubuntu 11.10 and am looking for a solution to password protect a bunch of pdf files in a directory in batch. I came across PDFtk and it looks like it might do what I need, but I've reviewed ...
2
votes
2answers
876 views

Open Source Command Line Tools to Remove Hyperlinks in PDFs?

Are there any Open Source Tools to Remove PDF links in Ubuntu. I use PDFtk and i am not able to find any internal links in it. Due to the Internal links my python script that uses PyPdf to merge the ...
3
votes
1answer
505 views

find links in pdf

I need to find all links in a pdf file, but also their position x,y on those pages. I want to create pictures out of a pdf (that I know hw to do) which I will use on a web site, but I need to know ...
7
votes
1answer
2k views

Open Source command line tool for optimizing PDF

Are there any open-source command line tool for optimizing PDF in Ubuntu. I have used Ghost Script and i am able to convert the PDF into 72 dpi, gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 ...
2
votes
2answers
755 views

What is a quick way to connect two or more pdfs together using the command-line?

I have a few pdf files (e.g., small1.pdf, small2.pdf, small3.pdf) that I'd like to be able to join together to form one larger pdf (e.g., large.pdf). What is a good option for doing this on the ...
52
votes
5answers
110k views

How to open a PDF file from terminal?

I used to work on the Mac terminal before and I used: open file2open.pdf and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I ...
21
votes
2answers
13k views

How to edit pdf metadata from command line?

I need a command line tool for editing metadata of pdf-files. I'm using a Aiptek MyNote Premium tablet for writing my notes and minutes on this device, import them later and convert them to pdf ...
10
votes
7answers
9k views

How to print a regular file to pdf from command line

In gedit, printing a file gives an option of printing to file where the file can be saved as a pdf. How can I do the same thing from the command line?
3
votes
4answers
3k views

Handle Doc/Docx Templates on a headless server to produce PDFs preferably without using OpenOffice.org

On a production web server I have to produce letters based on a template I got in MS-Word binary format. I use PHP and for the search and replace task I found PHPWord, which can handle Docx files, so ...
19
votes
3answers
16k views

How can I convert a ppt to a pdf from the command line?

I have a folder containing a bunch of ppts, each of which I'd like to convert to an individual pdf. I'm using Ubuntu 10.04 with whatever comes installed on it.