KDE 5 Service Menu PDF

Dolphin Service Menus

Source (required if based on other people's work):

18
Score 84%
Description:

I changed username.
If you looking for new version of this package, search for packages by GiuseppeBenigno on this site.
https://www.opendesktop.org/p/1227799/

KDE 5 Service Menu PDF v.1.0!

Here are various KDE 5 service menus for PDF documents

Extract from PDF:
- Images
- Text

Convert PDF to:
- Optimize
- PDF/A1
- Booklet
- DjVu
- HTML
- PNG
- TIFF (FAX)
- PostScript

Repaginate PDF:
- 2 pages per sheet
- 4 pages per sheet
- 6 pages per sheet
- 8 pages per sheet
- Custom pages per sheet

Tools for PDF:
- Join selected PDF (alphabetic order)
- Add another PDF to selected file
- Rotate left
- Rotate right
- Rotate overturn
- Extract pages
- Extraxt all even pages
- Extract all odd pages
- Burst PDF pages
- Remove pages <- from 0.3
- Repair
- Watermark pages of a PDF file
- Stamp
- Lock (give master password, give user password, select permissions)
- Unlock (with master password)
- Attach arbitrary file (not PDF only, but documents audio image movie too)
- Extract all attached files (one or more)
- Uncompress PDF files (Remove PDF page stream compression)
(These are only useful when you want to edit PDF code in a text editor)
- Compress PDF files (Restore page stream compression)
- Document information
- Document information (pdfinfo)
- Print

Enjoy
Thank you.
Giuseppe Benigno
Last changelog:

Version 1.0 2 months ago

kde-service-menu-pdf (1.0) unstable; urgency=medium

* Reorganized menu voices
* Added conversion to PDF/A1
* Support multifile
* Support direct run from script
* Added support for short help (no-arguments/-h/--help option)
* Autodetection of user language
* Autodetection of protection with password then simpler menu
* Increased speed

C

egregorion

9 years ago

I hope this issues became fix in bit time.
I not use gentoo and in debian it's all ok.
I used pdftk because I not know others software with some features.

If you have some hints you are welcome.

Regards

Report

dotancohen

9 years ago

Hello Giuseppe, can you add an option for removing custom fonts from PDF documents? My university has ancient PDF documents (text, not images) that have a terrible font embedded in them and I have difficulty reading them (it is a pseudo-handwriting font)! This would be a terrific accessibility enhancement. Thanks.

Report

C

egregorion

9 years ago

Hi Dotan,
I not have idea how to this.
I now try to know more on this and, if it possible, I add in a servicemenu.

The only ways at the moment I know are:
-import and edit pdf file with openoffice 3.0 (draw + pdf extension)
-use little windows software with wine for now.

Sorry, Regards
Giuseppe Benigno

Report

korrel

9 years ago

Mandriva 2009.0 kde 4.1.3
Thank you for your work but
I found a problem in your script and get the next error message.

/usr/bin/pdftoppm_kmenu.sh: line 117: syntax error near unexpected token `('
/usr/bin/pdftoppm_kmenu.sh: line 117: `select () {'

When I make it select_ ()
the script works for the rest of the functions but not for the select () function of course.

kind regards,

Marco



Report

C

egregorion

9 years ago

I hope fix all bugs :-)
I added some menu and message dialog too.

Thank you for your comment

Report

pyterpalooza

9 years ago

Ciao!

Great stuff!! =D Would it be possible to add some sort of dialog to show a preview or specify a given input - like DPI in pdf, for instance?


Once again, a huuugee thank you!

Pedro

Report

C

egregorion

9 years ago

Hi
For preview sorry but kdialog not permit this.
Can you specify your request, please?
DPI in psdtobooklet or in other servicemenus?

Regards

Report

TubaSoldier

9 years ago

Thank you, a thousand times over.

Report

C

egregorion

9 years ago

You are welcome, a thousand times over.

:-D

Report

andreaskai

9 years ago

is it possible to kompress a pdf file?

for example:
I have a large pdf (with pictures in a good quality) and when I'd like to send the pdf in a mail I have to kompress the file (I use Acrobat writer)

Report

C

egregorion

9 years ago

>is it possible to kompress a pdf file?
Yes, using gzip or other compress software.

In this servicemenu:
raw pdf file -> compress -> pdf file
or
pdf file -> decompress -> raw pdf file

I copying Compress and decompress name from man pages of pdftk.

Hi

Report

andreaskai

9 years ago

I don't want to zip the pdf I'd like to reduce the picture dpi. So that it will be the same pdf in a lower picture quality. because, when you compress a pdf with a lot of pictures the compressed file (zip or whatever) will have nearly the same size.

Do you know a script to reduce the picture quality?

Report

C

egregorion

9 years ago

Oops sorry,
I did not understand you.
This servicemenus are only a GUI for pdftk, pdfjam and poppler-utils softwares.

I think you need a external software for this.

Good luck
bye

Report

chepioq

9 years ago

For reduce a pdf file:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf file_01.pdf file_02.pdf

out.pdf is your new pdf name (like you want) and out.pdf file_01.pdf file_02.pdf is the name of pdf you want to reduce. that work also for one pdf file

Report

C

egregorion

9 years ago

Great!!
I can add this in the next release of this servicemenus. :-)

Thank you a lot.

Report

C

egregorion

9 years ago

Ok, I implemented this feature :-)
Thanks to chepioq for hint.

Regards

Report

dotancohen

10 years ago

One tool that I really need is a tool to remove embedded fonts from PDF files. Can you add such a functionality? The trend at my university is to embed these terrible fonts that I can hardly read in distributed PDF files. A simple way to remove them would make my life much easier. Thanks!

Report

BorgQueen

10 years ago

Thanks egregorion

I work with PDFs a lot.I do howtos and the like and sometimes work with other people's PDFs. This makes a lot of things easier. Especially when dealing with PDFs made on MS systems. They always seem to be messed up outside the originating OS.

Report

Sagittarius

11 years ago

Hello egregorion,

Just few words for I feel it would be nice to adapt this perl script to change some meta data: http://www.linhelp.com/pdfmeta.pl

;-)

Report

drumvudu

12 years ago

Your link gives a 404 error. No go. Please fix.

Report

C

egregorion

12 years ago

I'm sorry for the 404 error, my hosting is down at this moment.
I've redirect the download link.

bye

Report

Sagittarius

12 years ago

- make a pack (archive) of PDFtk Tools & Jam, preserving each desktop files

- add in the pack something like:
pdftohtml.desktop

[Desktop Entry]
Encoding=UTF-8
ServiceTypes=application/pdf
Actions=_SEPARATOR_;pdftohtml;_SEPARATOR_
TryExec=pdftohtml

X-KDE-Submenu=PDFtk Tools
X-KDE-Submenu[fr]=Trousse à outils PDF

[Desktop Action pdftohtml]
Name=Convert PDF file to HTML
Name[fr]=Convertir le fichier PDF en HTML

Exec=pdftohtml -c -noframes %f;kdialog --title "HTML convertion" --passivepopup "Done" 3
Exec[fr]=pdftohtml -c -noframes %f;kdialog --title "Conversion HTML" --passivepopup "Opération terminée" 3
Icon=konqueror

- add a functionnality to create easily Watermarks. It could be based on convert from ImageMagick: eg:

convert -size 3333x416 xc:white -font '/usr/X11R6/lib/X11/fonts/drakfont/ttf/Garamond Bold.ttf' -pointsize 300 -draw "text 114,302 'Sagittarius'" -channel RGBA -blur 0x20 -fill red3 -stroke none -draw "text 84,270 'Sagittarius'" -trim +repage -rotate -45 -compress JPEG Sagittarius.pdf

See http://www.cit.gu.edu.au/~anthony/graphics/imagick6/

- find a way to handle internationalized characters set in file names ?

But these my friend are only suggestions ;-)
keep up the good work.

Report

C

egregorion

12 years ago

hi Sagittarius,
your is a good idea!
I'm very busy in this moment but i make changes at first free time.

Thank you.
bye

Egregorion

Report

chandraiitk

12 years ago

hey, it seems to b a very useful menu but the link doesnt seem to b working. Could u please fix the link.

Thanks a lot in anticipation.

Report

C

egregorion

12 years ago

I try to work and no error found.

I try go to google and search "pdf linux sound". I work on first link and all fine.

Can you mail the your link or specify the problems?

Thanks

Report

Version 1.0 2 months ago

kde-service-menu-pdf (1.0) unstable; urgency=medium

* Reorganized menu voices
* Added conversion to PDF/A1
* Support multifile
* Support direct run from script
* Added support for short help (no-arguments/-h/--help option)
* Autodetection of user language
* Autodetection of protection with password then simpler menu
* Increased speed

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv3
version
1.0
updated Apr 22 2018
added Apr 02 2006
downloads today
0
page views today 13
System Tags addon gplv3