I frequently have to merge a lot of images inside a pdf. Naturally, I’d like to automate this a bit. Here are the things I need: lossless merge into a pdf merge of most common image formats natural sorting of numbers (1.jpg, 2.jpg, and 10.jpg would be merged in this order, not as 1.jpg 10.jpg 2.jpg) can deal with white-spaces
Tag: pdf
Open pdf file created in a docker container(Alpine)
I am trying to open pdf file that I created inside a Docker container. I tried using xdg-open and Firefox but I’m getting the following errors: I don’t know what to do. Please help. Answer Copy the pdf out of the alpine container with docker cp alpine:/path/to/pdf . and open it on the host.
Barcodes too wide in a GoDEX printer with CUPS in Linux
I have a GoDEX RT700i printer (203 DPI) and I want to print barcodes in Linux (Ubuntu 16.04) The barcodes I have are in PDF format. There is a 8 digit number below the barcode. In Windows, there is no problem with GoDEX drivers. The barcodes and the number are printed perfectly. Note: If I print the PDF from google
Add cut/crop marks to pdf with imagemagick
I have a pdf file which is getting generated with Inkscape from SVG and processed with ImageMagick. Now the PDF is a perfect DINA4 @300 DPI How can I add some marks around it? My marks should look like this: http://cl.ly/033g3t2h0U0f/A4_crop.png And I need to place this over the pdf with 3mm to overlap so it’s could be correctly cut.
Check PDF number pages with PHP (in Linux)
I have a webpage where I let users to upload files to the account folder. Exactly PDF and JPG files only. I want to count the number of pages inside each PDF uploaded to show it to the users. To do this, I was using PDFINFO linux library, part of XPDF proyect. This is the man page of the binary
a light solution to convert text to pdf in Linux [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. Closed 9 years
PHP run linux “less” command via exec – binary file warning
I have to convert some PDF files to TXT. I end up with “less” command, because for example pdftotext has some problems with tables in PDF. The problem is that when I ran the command from exec function (or shell_exec/system), less just showing me information, that selected PDF is binary file and result file is just TXT with PDF data
Print contents of a PDF to the command line
I’m looking for a command-line program that will print out the text of a PDF file, just like cat for a text file. I’ve found pdftotxt, and that would be workable, but I’d prefer something that replicates the cat functionality because I want to pipe to grep. Thanks! Answer On the man pages for pdftotext, I found this: pdftotext [options]
How to Generate PDF file from .docx from linux server?
We use on our production server: Ubuntu 10 server edition. We need to create a document that includes text , images and tables in the content and images in header and footer. Now we use http://phpword.codeplex.com/ to create it and it does a great job generating docx files but we need the pdf version of that file. How can we
How to take snapshot of PDF file in linux?
How I can take snapshot of first page of PDF file in Linux? I wanna do this on VPS server automaticaly. My distribution is Debian. Answer ImageMagick can convert PDF pages if you have Ghostscript installed.