Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 08:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Pdfshuffler .sfs - Edit pdfs :) fantastic!
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [68 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Sun 23 Aug 2009, 09:06    Post subject:  Pdfshuffler .sfs - Edit pdfs :) fantastic!
Subject description: 11MB including mini python, pygtk etc
 

As documented at http://murga-linux.com/puppy/viewtopic.php?t=45219
It lets you combine pdfs, rearrange, delete, rotate and crop pages. I'm pretty sure this is way faster than pdfedit (although I've only got pdfedit in Cygwin, not puppy) and it's certainly a much better interface if you're doing document assembly type stuff.

If you have a Puppy frugal install or live CD, put it at the top level of the drive where your save file (.2fs) is, then run "Menu-setup-wizard wizard-configure startup of puppy" and tell it to load this .sfs at boot.
If you have a full install I recommend extracting it to /, as you can't union an .sfs currently, and python isn't easy to run from /mnt/somewhere.

Get it from http://puppylinux.ca/tpp/disciple/pdfshuffler.sfs
If you have Puppy 4.3 or newer you will need to convert it to SquashFS version 4 - there is a converter in the Utility menu.

Unless your puppy has an updated poppler and glib, you will also need to install these. I didn't think it was wise to add them to the .sfs.
I think they have been updated in Puppy versions 4.3.x.

The .sfs includes python, pygtk, pyglib, pypoppler, pypdf, pycairo, and libxcb. I stripped all the python documentation out, which is how it can be so small Smile

---EDIT---
Embarassed Darn Embarassed
Sorry everyone. I accidentally linked to the wrong poppler upgrade. Fixed now.

---EDIT---
A new version of Pdfshuffler is out.
Install everything as explained above, then install the .pet below (it is only 23kb).
Pdfshuffler-0.5.0.pet
Description 
pet

 Download 
Filename  Pdfshuffler-0.5.0.pet 
Filesize  22.78 KB 
Downloaded  1300 Time(s) 

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

Last edited by disciple on Sat 30 Jan 2010, 19:51; edited 3 times in total
Back to top
View user's profile Send private message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Thu 27 Aug 2009, 13:48    Post subject:  

Refresh my memory. Which version of Puppy will this work on?

4.2 , 4.2.1 , 4.3 , 4.7.6

There are just too many versions and you never know what is for what!

Thanks.

_________________
Puppy 4.2.1 SeaMonkey on 160GB Ext USB Disk on Dell 745 SFF.
Puppy 4.3.0-SCSI on Dell Precision 610 workstation.
Puppy 4.2.1 running on Windows XP under Qemu.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Thu 27 Aug 2009, 17:09    Post subject:  

I'm using 4.1.1, but I'm guessing it will work with Puppies well back into the 2.x series as it requires those glib and poppler updates anyway.

I believe the current testing builds and "2.18" already have updated glib and poppler, and I know some puplets have an updated glib, so if you are using something a non-standard puppy like this you might like to try it first without installing the glib and poppler packages, and tell us whether you needed them or not.

If you have a puppy with a 2.6.30 kernel you'll need to convert it to the new squashfs format Sad

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Thu 27 Aug 2009, 18:13    Post subject:  

disciple,

Thanks. Not your fault be it seems to me with this Linux stuff you can never seem to get to a point where your not updating, upgrading or re-installing it.

BarryK had made an ISO for me that had SCSI enabled at boot time. That was 2.6.25.16 4.3 Beta1. But that had issues with segmentation faults for certain programs. Now we have moved beyond that and SCSI is not enabled again. And that was just a couple of weeks ago.

Sometimes it seems to me this is more a hobby thing that never ends. That's OK I guess if your target is having fun. And, that's OK but this isn't in my opinion production quality. The bugs never really get fixed and we move on to the next version with it's own new bugs...

I'll get off my soapbox now and thank you for your efforts!

I remember when...

http://www.flickr.com/photos/9479603@N02/3311745151/in/set-72157614479572582/

_________________
Puppy 4.2.1 SeaMonkey on 160GB Ext USB Disk on Dell 745 SFF.
Puppy 4.3.0-SCSI on Dell Precision 610 workstation.
Puppy 4.2.1 running on Windows XP under Qemu.
Back to top
View user's profile Send private message 
puppyite


Joined: 23 Jul 2009
Posts: 758
Location: U.S., Midwest, Central Time Zone, GMT-6

PostPosted: Thu 27 Aug 2009, 21:22    Post subject: Re: Pdfshuffler .sfs - Edit pdfs :) fantastic!
Subject description: 11MB including mini python, pygtk etc
 

disciple wrote:
If you have a Puppy frugal install or live CD, put it at the top level of the drive where your save file (.2fs) is, then run "Menu-setup-wizard wizard-configure startup of puppy" and tell it to load this .sfs at boot.


Or do what I did and right click the file in ROX-Filer then choose Mount and Use With load_sfs. I tried it this way and your way too. I’m using Puppy 4.2.1 with frugal install. The first time I clicked the app in the menu nothing happened. Then I opened the CLI and tried to start it there and an error told me that libpoppler-glib.so.4 was missing. I saw the links to the pet files in your post for the required files but since I don’t have any pressing need for a PDF editor I didn’t download or install the updates. I’m glad I tried your sfs though, now I know what they're for and I know two ways to use them. Thanks!

_________________
Learn more about Puppy Linux: Puppy Linux FAQ
Protect your privacy: Scroogle.org - Ixquick
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Fri 28 Aug 2009, 02:26    Post subject:  

Quote:
Or do what I did and right click the file in ROX-Filer then choose Mount and Use With load_sfs.

Ah - I haven't seen that. It must be a new feature in Puppy 4.2.x.

Quote:
Sometimes it seems to me this is more a hobby thing that never ends.

Most people don't have a pressing need to update all the time... you're kind of a special case because of the unusual SCSI requirements.

Quote:
And, that's OK but this isn't in my opinion production quality.

Well, since you're using beta releases you shouldn't expect production quality.

Quote:
The bugs never really get fixed and we move on to the next version with it's own new bugs...

It has been kind of like that since Puppy 3. Two of the three long-running bugs I've noticed have only just been fixed in the current release cycle... don't know about the issue with CUPS-pdf creating pdfs with too high a security level Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 648
Location: Chatswood, NSW

PostPosted: Sat 29 Aug 2009, 23:08    Post subject:  

G'day disciple,

Like puppyite, I have tried your pdfshuffler as an sfs and got the missing libpoppler-glib.so.4 problem. I turned the sfs into a pet and ran this in some full installs but again nothing happened because of this missing "so.4" lib.

But I would like to see if the shuffler is as good as Cutepdf (in XP) for creating small pdf files from just about anything.

I see in the libs you listed above as required, and I have subsequently downloaded, that these all reference to or contain xxxx.so.2 type files - nothing I could see with a "so.4" extension.

Is there a symlink I can set up to use an existing file as the missing libpoppler-glib.so.4?

It's probably a good idea now with sfs packages to mention it's a version 3.1 sfs, so pdfshuffler.sfs wont work with the latest kernels that need the sfs4 type, until it's converted.

David S.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Sat 29 Aug 2009, 23:24    Post subject:  

Embarassed Darn Embarassed
Sorry everyone. I accidentally linked to the wrong poppler upgrade. The right one is a couple of posts further down in the same thread.
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=17887

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Sat 29 Aug 2009, 23:32    Post subject:  

Thanks for picking that up.

Quote:
But I would like to see if the shuffler is as good as Cutepdf (in XP) for creating small pdf files from just about anything.

It doesn't creat pdfs from anything other than pdf, and I think it doesn't do much in terms of reencoding the pages or anything - presumably it just delinearises them if they are linearised.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
sullysat


Joined: 16 Oct 2007
Posts: 364
Location: San Antonio, TX

PostPosted: Wed 02 Sep 2009, 17:24    Post subject: Re: Pdfshuffler .sfs - Edit pdfs :) fantastic!
Subject description: 11MB including mini python, pygtk etc
 

disciple wrote:

Unless your puppy has an updated poppler and glib, you will also need to install these. I didn't think it was wise to add them to the .sfs


The link given for the glib update above does not exist. Anyone know of another location for it?
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 648
Location: Chatswood, NSW

PostPosted: Wed 02 Sep 2009, 21:04    Post subject:  

G'day disciple,

Thanks for the feedback on what pdfshuffler does, in response to my thought to compare it to Windows' Cutepdf writer.
Checking on other Puppy pdf options, I have just been able to add the CUPS-pdf printer to Puppy 421 and it looks pretty good as a Cutepdf writer alternative in giving reasonably sized pdfs (=small, not Adobe giants).

So the shuffler looks the tool to join up existing pdfs, rather than as I do at present, having to go back to the original documents and merge those together in a new document file and then pdf the merged file?

It would be nice to find something that can truly edit a pdf file, that is, open it up and add/remove stuff without great difficulty. Although that may be against the notion of what a pdf file is supposed to be.

David S.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Thu 03 Sep 2009, 03:22    Post subject:  

Quote:
The link given for the glib update above does not exist. Anyone know of another location for it?

It does exist, I just checked. Sorry - I didn't notice it was on one of the servers that requires the username "puppy" and password "linux". Was that the problem? Otherwise I imagine it will be on puppylinux.ca also, although it may also require the password.

Quote:
I have just been able to add the CUPS-pdf printer to Puppy 421

Was it not already installed by default? What have they done to 4.21? Smile
Be careful - for some reason for me it generates pdfs with too high a security level - can't copy text or something like that.

Quote:
So the shuffler looks the tool to join up existing pdfs, rather than as I do at present, having to go back to the original documents and merge those together in a new document file and then pdf the merged file?

That's right, although if literally joining pdfs is all you want to do you might as well just use the bash script (joinPdf) I wrote a while back, that uses gtkdialog and ghostscript.

Quote:
It would be nice to find something that can truly edit a pdf file, that is, open it up and add/remove stuff without great difficulty. Although that may be against the notion of what a pdf file is supposed to be.

Depending on what you want to add, Pdfedit does that. It is still a little buggy - it tends to not like weirdly built pdfs.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
sullysat


Joined: 16 Oct 2007
Posts: 364
Location: San Antonio, TX

PostPosted: Thu 03 Sep 2009, 10:16    Post subject:  

disciple wrote:
Quote:
The link given for the glib update above does not exist. Anyone know of another location for it?

It does exist, I just checked. Sorry - I didn't notice it was on one of the servers that requires the username "puppy" and password "linux". Was that the problem? Otherwise I imagine it will be on puppylinux.ca also, although it may also require the password.


Sorry disciple,

<SNIP&EDIT> For some reason, Seamonkey in 4.2.1 gives an authentication error rather than allowing me to input the login credentials. Guess I'll have to load a different browser after all. GRRR

My bad.

Sully
Back to top
View user's profile Send private message 
puppyite


Joined: 23 Jul 2009
Posts: 758
Location: U.S., Midwest, Central Time Zone, GMT-6

PostPosted: Thu 24 Sep 2009, 21:38    Post subject:  

davids45 wrote:
It would be nice to find something that can truly edit a pdf file, that is, open it up and add/remove stuff without great difficulty.


This might be what you're looking for: PDFEdit.

_________________
Learn more about Puppy Linux: Puppy Linux FAQ
Protect your privacy: Scroogle.org - Ixquick

Last edited by puppyite on Fri 25 Sep 2009, 14:06; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6439
Location: Auckland, New Zealand

PostPosted: Thu 24 Sep 2009, 22:27    Post subject:  

Like I've said before, I strongly recommend using the latest version of pdfedit, or preferably cvs, due to the number of bugfixes (and some new features too). I can't emphasize this enough.
Also, don't expect it to really compare with Adobe Sad

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [68 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1006s ][ Queries: 13 (0.0059s) ][ GZIP on ]