Tag Info

New answers tagged

1

Here is a script to do so which works on the example in Marco's comment. It makes use of pdftk. #!/bin/sh PAGES=$(pdftk $1 dump_data | grep PageLabelNewIndex | cut -d' ' -f2 | xargs -n1 expr -1 + | tail -n+2 | ...


0

You can always use the page title for name convention, so it should be unique. Given file with list of addresses, here is the one-liner: while read url; do wkhtmltopdf $url "$(curl -s $url | grep -o "<title>[^<]*" | tail -c+8).pdf"; done < urls.lst where urls.lst is your file with list of urls.


0

Try Okular. It can be used to annotate both PDF and DjVu files.


0

In OS X or any other OS that has CUPS installed, you can convert a text file to a pdf file without installing new software as follows: cupsfilter FILE > FILE.pdf


2

PDF is not exactly plain text file. So you should create text file and then convert it to pdf. First command create PS file from text file. Second get this PS file and create pdf file a2ps <text filename> ps2pdf <ps filename>


0

I rigged together a Ruby script (using Inkscape and ImageMagick as subroutines) pdfinvert. It proceeds as follows: Split PDF into individual pages. Convert each page to SVG. Invert colors┬╣ in the SVG; embedded PNG images are taken care of┬▓. Reconvert each page to PNG. Join pages together for the final result. It was designed for drawings but it may work ...


0

I would suggest using a program like R-Studio to first make an image of your memory stick. You can then run a detailed scan on the image file. Also go through the extra files found when done.


1

http://wkhtmltopdf.org/ should satisfy your HTML to PDF conversion needs. It can combine multiple input files and they can be on the web too.


0

got the same problem, and after fiddling a lot with the settings, an essential one is when saving, to have the compression (under the checkbox downsample) set to JPEG, and a reasonable quality (75 for instance). This really does the difference


0

You could test out if image based PDF's are polluted as well. First convert PDF to (multipage) TIFF, e.g. with ghostscript: gs -sDEVICE=tiffg4 -o sample.tif sample.pdf Then convert the TIFF to PDF, e.g.: tiff2pdf -z -f -F -pA4 -o sample-img.pdf sample.tif This result in a PDF file where the pages are images instead of text. Alternatively, if your ...



Top 50 recent answers are included