Questions tagged [pdf]

PDF (Portable Document Format) is an open standard for fixed format document exchange. Use this tag to indicate questions involving files in this format and also when software is generating/processing this format. When possible and possible relevant indicate the version of the PDF document (as retrieved from the file properties, or using "file document_name.pdf"

2
votes
1answer
21 views

Losslessly upsize PDF canvas to A4 without resizing/modifying the content

I want to losslessly upsize the canvas of a PDF to A4 without resizing/modifying the content. Here's the document I have : $ pdfinfo myFile.pdf Creator: EO.Pdf Producer: EO.Pdf 16.2.50....
0
votes
0answers
7 views

How reclaim pdf file type from FoxitReader?

I installed FoxitReader. Now when I look at the detailed listing in my file browser (Thunar), it displays the filetype of any pdf as 'FoxitReader document'. How do I get it to display simply as PDF?
0
votes
0answers
41 views

PDF is printing as random ASCII characters

When I open a PDF file online and try to print it, I get random ASCII characters instead of normal text. If I save it to my computer, I can then open it and print normally. Adobe doesn't have an ...
0
votes
0answers
9 views

Using convert to crop scanned images and create pdf

I have 3 images I've scanned, that are legal sized (8.5*14), but the scanned paper is actually letter (8.5*11). I want to crop off the bottom 3 in from each image and output 1 image per page. This ...
1
vote
1answer
155 views

How can I fix the font problem of this pdf file?

I have a pdf file, whose text can be shown correctly in evince, but not when text are searched or copied and pasted outside the file. For example, "external transportation." is copied and pasted ...
1
vote
1answer
30 views

How to convert PDF to e pub in a fixed layout in Calibre [closed]

I am trying to use Calibre to convert a PDF file to Epub format with a fixed layout, but I am not able to convert it. Can somebody tell me the steps to convert in a fixed layout in Calibre?
0
votes
0answers
27 views

How can I disable Zathura's statusbar by default?

I'd like to hide the statusbar by default when opening Zathura (Which is normally done with ^n)
1
vote
0answers
34 views

Include index info in pdf man pages

I know that I can get to output manual page content with man -Tpdf. Many pdf readers can display and jump to specific points or sections in the document (i.e. by hitting tab from inside zathura). I ...
2
votes
0answers
14 views

Way to search pdf for annotations, edits and other review markings?

Problem: When I get a proof-read pdf back, sometimes there is only one mark every ten pages or so - and that mark can be so small (missed comma, etc.) that I might miss it when scanning through for ...
10
votes
1answer
522 views

“File type Zip archive (application/zip) is not supported” when opening a .pdf file

I received a .pdf file from someone on a non-linux machine and when i try to open it it says "Unable to open document. File type Zip archive (application/zip) is not supported". So, I rename it "file....
-1
votes
2answers
66 views

Can we search in a pdf file for pages containing several words in no particular order?

I would like to search in a pdf file for all the pages, each containing several given words in no particular order. For example, I want to find all the pages which contain both "hello" and "world" in ...
2
votes
1answer
56 views

Error using ps2pdf

I used to work on linux in a virtual Box and now I'm using a computer with Ubuntu 16.04. I have some ps files I need to convert to pdf and I used to run the command ps2pdf file.ps file.pdf in my ...
0
votes
0answers
17 views

mixing `lp -o raw` with other options

The problem is that our printers have very bad printing quality by default, printing quality of pdfs can be improved by using lp -o raw. Is it generally possible to mix other options, especially -o ...
2
votes
0answers
50 views

How to write romanian special characters with groff?

I've got myself into experimenting with groff and from the start I found out the romanian special characters I type in vim are all fine (I ran setxkbmap ro), but get messed up in the pdf export. ...
1
vote
1answer
38 views

PDF metadata editor - GUI - FEDORA

I can't find a graphical pdf metadata editor for Fedora (Fedora 30). I found "PDFMtEd" which doesn't work in Fedora because it needs "exiftool" but I can't install that. Is there any solution to this?...
2
votes
1answer
199 views

Ubuntu for Windows — Can't open PDF files via xdg-open

My default application for opening PDF files is Adobe Acrobat XI Pro. I would like to be able to open PDF files using this program via the Windows Subsystem for Linux. Currently when I run xdg-open ...
0
votes
0answers
20 views

How can i reduce the size of CentOS OS for it to still work? [duplicate]

So I have a clean installation of CentOS 7 on a virtual machine. The thing is I need to shrink the size of the thing to the lowest and still be able to have javascript supporting browser and a PDF ...
0
votes
0answers
19 views

Convert multi pages PDF to multi images with Inkscape command line

I would like to convert a PDF of X pages into X images with Inkscape command line. I know how to do it with convert : convert myfile.pdf -density 300 -alpha off export/myfile-%02d The result will ...
0
votes
0answers
28 views

Merge multiples PDF with different width into one page

I have three pdf files containing the front page (firstpage.pdf), the last page (lastpage.pdf) and the spin (tranche.pdf) like this: So, the goal is to concatenate the three files into only one ...
0
votes
0answers
16 views

How do I append whitespace to single-page pdf?

Consider the following two pdf files. $ pdfinfo coreBasedAPI.pdf Creator: TeX Producer: pdfTeX-1.40.18 CreationDate: Thu Mar 21 15:56:46 2019 PDT ModDate: Thu Mar 21 15:56:46 ...
2
votes
0answers
28 views

PDF is corrupted after compressing with Ghostscript

Is there a way to revert a PDF after it is compressed? Every PDF is getting corrupted when it gets compressed with our script, which runs gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS="/...
1
vote
0answers
22 views

Non rendered pdf/raw pdf?

If you have an html-file you get two versions, a raw format with tags and warts or the rendered version. What would be the equivalent in the case of pdf? How could you work with the raw form, for ...
0
votes
1answer
25 views

CUPS-PDF not outputting

I have set up a CUPS print server on Raspbian that prints to cups-pdf. I can print to the pdf printer without any trouble from the CUPS settings page. I am not receiving files when I print from ...
0
votes
0answers
7 views

PDF reader with searching word in selected text

I'm reading a 1000+ pages PDF file (for example, a draft of C++ standard document), using evince. This works well, but I often want to search a word in selected text rather than the whole file. For ...
1
vote
0answers
93 views

Preview Pane for PDF Documents in File Manager

Is there a program (e.g., file manager or PDF viewer) that provides a split view having a folder view and preview pane for PDF documents (ideally with the ability to scroll through the document like ...
0
votes
0answers
30 views

Split pdf based on keyword

Is there an utility that would split PDF file based on keyword? I can only find split by pages (e.g. QPDF). I can also see pdfgrep, but I don't know whether this has been already combined in some ...
3
votes
0answers
86 views

Replace Scanned Text with OCRed Text in PDF

I have a scanned book as a PDF. When viewed in Evince, the book appears as it did when scanned, with old fashioned fonts that appear as they were scanned. However, Evince recognises the letters as ...
0
votes
1answer
81 views

img2pdf batch script

I currently have over 10K folders. Each folder has .png and .jpg images that need to be turned into .pdf files. Files are numerically in order already. I am looking for speed. I can currently cd into ...
0
votes
1answer
39 views

Open pdf as tab in running instance of xpdf

I am really fond of xpdf but would like to have a tab-based workflow. If I open a pdf with xpdf file.pdf and then open another pdf with xpdf file2.pdf the scond file is opened in a new instance of ...
1
vote
1answer
91 views

how do I copy or create a new pdf file without password-protection?

Sometimes I get password-protected pdf files from people with passwords in the mail. It becomes a pain to remember them. The pdf file are usually version 1.4 documents, this information I am sharing ...
0
votes
0answers
61 views

Change text color in PDF files

I want to change some Text-Coloring by regex search in one or more PDFs. for example i want to change the color of all appearances of "A[0-9]+.[0-9]" like A120.1, A600.0 and so on. is it even possible ...
1
vote
2answers
106 views

How to set mupdf-gl as a default application with a fixed resolution

I am using Linux Mint Tara (xfce). I would like to use mupdf-gl as a default application for viewing pdf files and automatically set 150 dpi as the resolution, i.e. when I double click a pdf file, it ...
0
votes
2answers
93 views

Extract Part of a Single PDF Page from Bash

In order to extract a part of a PDF page on a Gnu/Linux machine I use the following command: gs -sDEVICE=pdfwrite -o out.pdf -g2300x2300 input.pdf The -g...x... option lets me choose coordinates on ...
0
votes
2answers
126 views

Is there a way to search (grep/find) a specific word within multiple pdf files located on a specific drive?

I am trying to locate a client's pdf file that was saved on an external backup drive, which contains a little over 8000 pdf files and hundreds of folders. For example, if I want to search all pdf ...
1
vote
1answer
57 views

Rearrange pdf pages (swap odd pages and even pages)

I have a pdf and I am in need to replace even and odd pages. If I want to be more specific, I must replace (2n-1) page numbers with (2n) ones (1-->2, 2-->1, 3-->4, 4-->3, and the like). How should I ...
0
votes
2answers
163 views

PDF reader with option to search multiple words at the time/match any of the words

Are there any PDF readers with advanced search options - searching several words at a time to be exact? Adobe has it by the name match any of the words as explained here. Regular (standard) search ...
1
vote
1answer
81 views

Ranger: Add Foxit pdf reader to rifle.conf

I've Zathura as my default pdf viewer which is fine. I've also installed Foxit Reader but it doesn't show up when I try to open any pdf file in ranger with r key. I tried adding following line in my ...
2
votes
1answer
76 views

“Place” Letter Sized PDF to Larger pdf at specific position

Lulu is a print on-demand service. Part of the creation process is to upload a cover. The "cover" is 1 page that has the dimensions 17.25 inches wide by 11.25 inches high. There is a 0.125 "bleed area"...
0
votes
1answer
135 views

Merging PDF files with similar names

I have a folder populated with PDF files in this format: SI-T-xxxxxx.pdf SI-T-xxxxxx-sol.pdf SI-T-yyyyyy.pdf SI-T-yyyyyy-sol.pdf and so forth, with the middle part being digits. I want a way for ...
2
votes
1answer
168 views

How to print table of contents of a pdf?

I have a pdf kinda-book file which has a table of contents as metadata in file but they are not listed on any page of the document. I want to print the file with table of contents, or print the table ...
0
votes
0answers
48 views

How to fix text opacity issues when converting a PDF to black and white?

I'm trying to convert a PDF to black and white but the colored text becomes almost unreadable. Is there a way to fix this ? Or a better way to make the conversion ? Command used : gs -sDEVICE=...
1
vote
1answer
65 views

Convert scanned image to PDF with fixed DPI

Imagine I have a bunch of JPEG files that I have scanned using a known resolution (300 dpi in this case). However the JPEG file has some additional margin at the border because the scanner's area is ...
2
votes
0answers
76 views

Groff long umlaut

I'm Hungarian and I want to use groff to write good-loking pdf files, the problem is even though I used: groff -k -ms test.ms -T pdf > test.pdf eventhough -k took care of the? é,á,ü,ö characters ...
1
vote
3answers
419 views

Where is metadata for PDF files? Can I insert metadata into any PDF file?

I have many files of music; with the program mp3Tag, I had organized all of it. I have the correct metadata as it allows. I am looking for a free software that does the same, but for PDF files.
0
votes
1answer
122 views

Convert an A4R (A4 lanscape) scanned jpeg, to A4R (A4 lanscape) pdf

I have have scanned an A4R paper sheet to a 2048x1443 jpg file. EDIT1 : It's already rotated to landscape (2048x1443). END OF EDIT1 Now if I try convert it with this command : $ convert -page A4R ...
7
votes
1answer
195 views

How to correctly display Polish diacritic symbols in groff?

I'm playing around with groff and I wanted to generate a pdf from the following test.ms .TL Tytuł .AU Imię Nazwisko .NH Wstęp .PP Pierwszy paragraf. Jakieś informacje, żeby były polskie znaki. .PP ...
1
vote
0answers
207 views

mutool pdf split and order

I have a searchable pdf scan of a book that is two book pages per pdf page, flipped counterclockwise. I want to split the pages so that its one page per page. After reading several other threads here ...
0
votes
0answers
36 views

Crop a non-standard size pdf on the bottom on the command line

I have a non-standard sized PDF (used for an 8cm-printer) and want to crop any white-space on the bottom (thus I want to keep the 8cm width and remove the bottom white space, in fact similar as you ...
1
vote
0answers
60 views

How to see qpdfview annotations in other pdf readers?

I am using qpdfview to create annotations to a PDF. These however cannot be seen in Acrobat Reader, the software the OP to which I'm sending the document is using. How can I produce a document that ...
3
votes
0answers
373 views

RGB color space not permitted on grayscale

I tried to convert PDF to PNGs $ convert linkedList.pdf -quality 300 output.png convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `output.png' @ warning/png.c/...