Click Here
home features news forums classifieds faqs links search
6064 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
78 crawler(s) on-line.
 16 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 smf:  8 mins ago
 eliyahu:  22 mins ago
 Jasper:  26 mins ago
 KimmoK:  30 mins ago
 rzookol:  37 mins ago
 PhantomInterrogative:  44 mins ago
 michalsc:  55 mins ago
 Mobileconnect:  1 hr 4 mins ago
 clint:  1 hr 10 mins ago
 Srtest:  1 hr 46 mins ago

software OS4   software OS4 : PdfToolkit 1.0 released on OS4Depot
   posted by Lazi on 22-Jul-2012 11:09:18 (2348 reads)
A PDF document handling toolkit implemented in python is released.

PDFToolkit allows to reorganize PDF files.
It can split and merge documents.
Additionally it can combine two or three PDF files by stamping over or add header/footer/page numbering to existed documents keeping the contents intact.

Read more...


It uses pyPDF python module by Mathieu Fenniak.
If you are online, it can download and install that module automatically.

Download: http://os4depot.net/?function=showfile&file=utility/text/misc/pdftoolkit.lha

    

Related Links
· More about software OS4
· News by Lazi


Most read story about software OS4
Homebank 4.4 for AmiCygnix released

Last news about software OS4
"CyberSphere - a cyberpunk adventure" now available.
Printer Friendly Page  Send this Story to a Friend

PosterThread
Thematic 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 22-Jul-2012 22:24:03
#1 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

This should be interesting. I always got some trouble with python tools and never got to the bottom of it.


_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Lazi 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 10:33:50
#2 ]
Cult Member
Joined: 5-Apr-2005
Posts: 644
From: Pomaz, Hungary

Quote:
I always got some trouble with python tools and never got to the bottom of it.


I don't know what tool you mention, but this is not a port. It is created on OS4 for OS4 in python.

 Status: Offline
Profile     Report this post  
gerograph 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 12:23:43
#3 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Lazi
well done ! I really appreciate this one ! Functionality wise this is what I would need on top of that:

Doc1.pdf #1 => resultingdoc.pdf #1
Doc2.pdf #1 => resultingdoc.pdf #2
Doc1.pdf #2 => resultingdoc.pdf #3
Doc2.pdf #2 => resultingdoc.pdf #4
Doc1.pdf #3 => resultingdoc.pdf #5
....

Can Phyton handle a proper GUI ? Can this also be command line driven, I could then do a GUI....

regards Gero


_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Lazi 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 13:57:50
#4 ]
Cult Member
Joined: 5-Apr-2005
Posts: 644
From: Pomaz, Hungary

@gerograph

Sadly python can't handle nativ gui. AFAIK it can parse command line arguments, so it is possible to make it work as a command line tool.

If I understand well, you need that multiple pdfs are merged by all first pages then all second pages and so on. It is no problem then for the next version.

 Status: Offline
Profile     Report this post  
broadblues 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 14:57:08
#5 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4427
From: Portsmouth England

Quote:

Sadly python can't handle nativ gui.


Watch this space, I'm working on something ... eta unknown at the moment....


In the meantime you could use blender to create a GUI for any python script, see my pdfmake example on os4depot. linky

or even embed python in a program with a GUI (a far bit of C coding knowledge requied ) and possibly overkill in this case.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Thematic 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 17:22:19
#6 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

Worked just fine here, thanks.


_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 23-Jul-2012 21:00:23
#7 ]
Cult Member
Joined: 31-Jan-2005
Posts: 821
From: Budapest, Hungary

I have made a quick and dirty MorphOS port (screenshot), using Yomgui's Python port and PyMUI. Mostly untested. Grab it here.

This was the first time I hacked into a Python code, so expect bugs. I'll cooperate with Lazi, to have a version which works on both OS4 and MorphOS, if he's interested. (My version kept the OS4 code, but I didn't tested it after my changes.)


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Lazi 
Re: PdfToolkit 1.0 released on OS4Depot
Posted on 24-Jul-2012 6:17:13
#8 ]
Cult Member
Joined: 5-Apr-2005
Posts: 644
From: Pomaz, Hungary

Nice work Charlie!

It crashes badly on OS4.
You made two goals with one attempt. :)

I'll see what can we do ASAP.

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle