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 Sat 20 Sep 2014, 01:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Announcing PeasyP2J
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Author Message
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 29 May 2012, 19:25    Post subject:  

Goldberg Variations: (Doesn't post correctly Crying or Very sad

Edit: converted to png...works!

( format could be an option? )

BTW/ score was posted as freeware
score-2.png
 Description   
 Filesize   69.45 KB
 Viewed   502 Time(s)

score-2.png

Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Wed 30 May 2012, 02:23    Post subject:  

Here's one with the PNG code included:
peasyp2j.tar.gz
Description 
gz

 Download 
Filename  peasyp2j.tar.gz 
Filesize  1.08 KB 
Downloaded  278 Time(s) 
peasyp2j.png
 Description   
 Filesize   26.56 KB
 Viewed   482 Time(s)

peasyp2j.png

Back to top
View user's profile Send private message 
ravensrest


Joined: 22 Feb 2008
Posts: 321
Location: Hood Canal, WA

PostPosted: Thu 31 May 2012, 10:27    Post subject:  

I've run this beautiful piece of software in Puppy528, Slacko53, Wary53, and Racey53. I used it with ghostscript 8.15, 8.64, 8.71, and 9.05. Everything works fine! Really useful utility for me. Currently installed in all four Puppy variants with ghostscript 8.71.

Thanks for a great tool.
BS
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9114
Location: Stratford, Ontario

PostPosted: Thu 31 May 2012, 10:59    Post subject:  

ravensrest wrote:
I've run this beautiful piece of software in Puppy528, Slacko53, Wary53, and Racey53. I used it with ghostscript 8.15...

Ghostscript 8.15 is definitely a problem with some PDFs so it's worthwhile to upgrade.

The version of PeasyP2J that is now included in PeasyPDF goes one step further. It can extract some pages from a PDF document and glue them back together into a new PDF.

You can then run the PDF Builder component to add your own pages to the document.

Thanks for testing.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Thu 31 May 2012, 11:46    Post subject:  

rcrsn51 wrote:
ravensrest wrote:
I've run this beautiful piece of software in Puppy528, Slacko53, Wary53, and Racey53. I used it with ghostscript 8.15...

Ghostscript 8.15 is definitely a problem with some PDFs so it's worthwhile to upgrade.

The version of PeasyP2J that is now included in PeasyPDF goes one step further. It can extract some pages from a PDF document and glue them back together into a new PDF.

You can then run the PDF Builder component to add your own pages to the document.

Thanks for testing.


I can see some advantage to first creating a folder of separate pages, so that I can add the new page anywhere I want instead of at the end. I could also remove/edit existing pages. Maybe I'm not seeing something?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9114
Location: Stratford, Ontario

PostPosted: Thu 31 May 2012, 12:32    Post subject:  

There are a couple of ways to handle this.

1. Edit /sbin/peasypdf and comment out line 217. Run Extractor and select the full page range. This would leave all the individual pages in /tmp.

Then run Builder, reassemble them into a new PDF and include your own pages where you want.

2. Or suppose you just wanted to insert an extra page after page 10 of the original.

Using Extractor, cut out pages 1-10 and save them to temporary file #1

Then cut out pages 11-end and save to temporary file #2

Run Builder. Add file #1, your file and file#2.

For large files, Method #2 strikes me as easier. What do you think?
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Thu 31 May 2012, 13:00    Post subject:  

rcrsn51 wrote:


Then cut out pages 11-end and save to temporary file #2
Run Builder. Add file #1, your file and file#2.

For large files, Method #2 strikes me as easier. What do you think?


Just downloaded updated peasypdf. Excellent !!

note: ..could probably automate Method #2 into one click. Extract to PDF pages on either side with the added file(s) in the middle--build (or to delete a page, extract to PDF pages on either side of removed page--build). The way it is now, the new -EXT.pdf has to be renamed or it gets over-written.

note: The extract to PDF is a terrific addition!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9114
Location: Stratford, Ontario

PostPosted: Thu 31 May 2012, 18:57    Post subject:  

@jpeps: Check out PeasyPDF v1.9. This should provide lots of flexibility for modifying PDF files without adding too many new features. The program has already bloated up to 3K. Wink

I have provided two sample scenarios.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Thu 31 May 2012, 21:30    Post subject:  

That certainly does the job. There might be a way to automate the whole thing by just entering a "split" point. There's allegedly an arg called s.Page.End and s.Page.Start, although I haven't figure out how to use them yet. Two pdf's around the split point could be built with some flag name (eg, front/back). The user would just need to enter the included file name, the include page, and press a button....

edit: I guess s.Page.End just equals LastPage. Maybe there's some other way to indicate the last page.


This works:
Code:

END=`pdfinfo Downloads/score.pdf   | grep Pages | awk '{print $2}'`



SP=$SplitPoint (UserEntry)

1-$((SP-1)) --> Front.pdf
$SP-$END --> Back.pdf

(UserEntry) --> Include.file
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 01 Jun 2012, 14:45    Post subject:  

Here's a version of peasypdf with a Split function. Enter the split page in the page number box, and it creates BACK/FRONT pdfs.

This seems to be a simple solution. I can then sandwich anything I want via the builder.

(uses pdfinfo).
peasypdf.tar.gz
Description 
gz

 Download 
Filename  peasypdf.tar.gz 
Filesize  2.83 KB 
Downloaded  291 Time(s) 
peasypdf.png
 Description   
 Filesize   32.7 KB
 Viewed   409 Time(s)

peasypdf.png

Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sat 02 Jun 2012, 22:11    Post subject:  

rcrsn51 wrote:
The program has already bloated up to 3K. Wink


Looking at alternatives, there's pdftk, a simple command line tool that handles tasks such as merging and splitting PDF docs. With deps, looks to be about 168 Megs.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
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.0697s ][ Queries: 13 (0.0059s) ][ GZIP on ]