On occasion I receive forms to fill in as PDFs intended for printing (these are not true PDF forms, they do not contain fields). I would like to type onto them, and perhaps add a scanned copy of my signature. This way I could just email them back. Is this possible?
There is no perfect way to do this yet. The best existing way is to install Xournal from the software center and open PDF files with it. It allows you to annotate them and then export the whole thing as a new PDF.
Since you are basically marking up a new layer on top of the original PDF, you have to line up everything as you type, and manually position all your notes. For a simple document it's pretty easy to do. It's not very practical for longer documents, though.
Open the pdf in LibreOffice Draw and copy/paste there any image, including that of a signature (or Insert -Picture - From File), which then can be easily adjusted/resized to fit the purpose. After that, under File - 'Export as PDF'
Here's a 2014 answer to this 2011 question, if you have a google account you can use a free web-based tool to do this job easily:
https://dochub.com/
I tried a number of the methods/softwares mentioned above, and just wanted to share my experiences.
(I have inlcuded some comments on the possibility of adding lines, rectangles and shapes, although the original question did not request this.)
LibrOffice Draw
Could have been the ideal solution. Has all the drawing tools etc. and supports text and inserting images. Imports multi-page PDFs fine. However, many of my PDFs will get corrupted when imported; fonts seem to be changed wich leads to placement/spacing problems (all fonts were embedded in the PDFs). I've tried both version 4 and 5, and installing package
libreoffice-pdfimport
didn't help.Xournal
Free and open source. Imports multi-page PDFs fine. Has tools pen, highlighter, text, insert image. (No rectangles or other shapes.)
Master PDF Editor
Proprietary, Paid. Good for editing text, creating/filling in forms, inserting images. Also support lines and rectangles - with custom line widths, colors and fills.
PDF-XChange Editor
Formerly called PDF-XChange Viewer. Commercial product, with a free version with basic functionality. It's a Windows program but it works well with
wine
.Very similar to Master PDF Editor (see above).
Gimp
Good option in some limited circumstances. Will rasterize everything that isn't rasterized, and of course you'll get individual images for individual pages, so a page merge is needed later on. See http://colans.net/blog/signing-document-image-ubuntu-1210 for some suggestions on signing PDF forms with
gimp
.dochub.com
Online editing/annotaion of PDFs. Supports text annotations, but not lines and rectangles. Almost all the pdfs I've tried were however corrupted when imported.
Scribus
Free and open-source desktop publishing software.
Most of the PDFs I tried were corrupted when imported (much worse than LibrOffice Draw import) - fonts are changed or placement of characters is wrong.
Sejda PDF provides a PDF Editor that allows you to add signatures, images, text and edit existing text in PDF Files.
You can edit PDF files online or use the desktop pdf editor.
https://www.sejda.com/pdf-editor
https://www.sejda.com/desktop
You can edit online 3 docs/hour for free. Open source PDF engine, I'm one of the developers.
I've had a reasonably good experience with uPdf.
Installation
Then fix a bug by editing 2 lines in a Python script.
Usage
Launch uPdf, select the Add an image tool, draw a rectangle around the area where you want the signature to go and select the image file with your signature. A PNG with a transparent background works best.
See also How can I edit a picture into an existing PDF file?
Acrobat Fill & Sign
If you just want to add text or signatures to PDF files (even files that are not forms), the easiest solution may be Adobe's free Fill & Sign web service.
It feels a bit hidden, either because of feature bloat or they've actively hidden it in an attempt to direct you to paying features, but this seems to work for me:
Master PDF Editor
If you want a full-fledged PDF editor, Master PDF Editor has a native Linux port. Current versions are demo versions that will add a watermark, however previously it was free for non-commercial use. Binaries for the last free version are still available to download:
The binaries were removed at one point but seem to be available again. Here are the checksums in case the downloads are removed again:
PDFedit
I don't really recommend this, but it's good to have options :)
PDFedit is an open-source PDF editor that has been unmaintained for nearly a decade. The last available package was for Ubuntu 12.04. It can be installed in modern versions of Ubuntu, although installing packages manually could break some dependencies. If you still want to try, this may work:
(https://gist.github.com/bmaupin/a23161b50f27179e6e5b064d6066b034)
Since it is open-source, someone could in theory package it for a modern version of Ubuntu.
You can easily copy and paste part of a pdf document using PDF-XChange Viewer (running flowlessly with wine). (Google it you will see a lot of ubuntu users love it, it is very useful to annotate pdf documents.)
You select the signature (a rectangle around it) from another document, copy it and paste it where you want on the new document...
The sample C# code listed in following example can be used to add an image to PDFdocument file. you can easily insert an image into any desired PDF page with accurate location.:
Another option is Scribus. I've used it to do the same task you're asking for (pasting an image of a signature).
As Tom Brossman said there is no perfect way to do that, and Scribus is the case. It has to import the file from the pdf format to the native one, and depending on the document it can get the text scrambled or the layers showed differently.