Rename PDF based on the title tag data

Posted by MD     Category: Informatica



Hello,
after several attempts I present a new script for Nautilus (file manager present in most linux distributions): allows you to rename all the PDF files, within the same folder, according to the internal tag of the title (for instance right click, property, document, title); very useful in various cases !!!
first of all download this file:

move the file to
/home/YourName/.local/share/nautilus/scripts/
then by right clicking on the file
go to property > permissions
and put the check mark on “Allow file execution as a program”
Now just select the file or pdf files that interest you and right click
script > renam-Port-title-tag-in-name.sh
NB: ATTENTION the script renames all the PDFs contained in that folder
NB: ATTENTION If the PDF file has no title tag the PDF will be deleted
I hope you come back useful !!!

Convert directly from a link in firefox PDF

Posted by MD     Category: Informatica





Hi today I’ll show you how covertire a page you are viewing in firefox pdf, unlike the virtual printers will have a true conversion, that we will find a pdf editable, with lots of opportunity to make a copy and paste of texts written in it.
First you need to download my script from here:Download
Then move the file to where it suits you better (no longer have to delete it) and give it execute permissions (right-click> properties> permissions)!
Now go back to firefox and download the plugin that will allow you to call my script if necessary: :
Download version 5.4 (tested on firefox 29) alternativ:
Download latest version from the official site and install it.
Also in firefox go to: Tools> Add-ons> Open With; click Preferences, once open, click on add (bottom right), now a window will open dovre’re going to choose my script “convert-html-to-pdf” that you downloaded before!
Then close the add-ons and if there is no appearance this icon Icona estensione Open With right-click on the top bar of firefox (the one containing the address bar www) and click on customize: move the icon to where we please!
To create the pdf, page (site) you are viewing, just click the icon and click “convert-html-to-pdf” and your desktop trovere pdf 😉
This system is very useful and in addition to being able to copy text from the created PDF file generated weighs very little (based on pages that will save it is still lighter than pages printed from other programs to the virtual press)

Have a nice day and the next guide;)

if you want to leave me: comments, report errors, constructive criticism! write here

Compress pdf script with Nautilus

Posted by MD     Category: Informatica

After doing a search on the net I found that pdf file compression is quite dark!

To make life easier I created a script Nautilus (tested on version 10.04 and 11.04 of ubuntu 64bit, but working with all of them)

The script compresses the pdf looking for in the can to maintain good visual quality.

First you need to install a dependency, open the terminal and write

sudo apt-get install ghostscript

Now download the script created by me

Once you have downloaded the script must be placed in

/home/vostronome/.gnome2/nautilus-scripts

then right-clicking on the file

go to properties> permissions

and put the check “Allow executing file as program”

Now just you select the PDF file you need, and right-click

script> Compress-PDF

now wait patiently (depends on the weight of the file)

I hope you might come in handy!

 

if you want to leave me: comments, report errors, constructive criticism! write here