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 Tue 30 Sep 2014, 16:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
PeasyPDF Convert/Join/Extract/Print
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [53 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
rcrsn51


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

PostPosted: Wed 10 Aug 2011, 08:21    Post subject:  PeasyPDF Convert/Join/Extract/Print  

Update: In v3.1, you can now extract pages from a PDF without knowing the document length. For example, you can extract the entire document just by selecting pages "1-".

Update: PeasyPDF v2.7 has optional support for MuPDF. MuPDF is a fast, accurate PDF viewer that may work better than your regular viewer. Download it here. Click the small grey Download button on the left.

MuPDF uses keyboard controls. There is a list of basic controls under the MuPDF tab.

If you like MuPDF, you can make it your default viewer. Right-click on a PDF file and choose Set Run Action. Change the command to
Code:
mupdf  "$1"

----------------------------

PeasyPDF is a little program for manipulating PDF files. Look for it in the menus under Document. The easiest way to use PeasyPDF is to run it in one window, with the folder containing your source documents in another. Then drag files between the windows.

-------------------------------------

PeasyPDF uses Ghostscript and works better with newer versions. Wary/Racy/Precise all have an obsolete version of Ghostscript, so some files cannot be handled properly. There is a Ghostscript upgrade for the above Puppies to v9.05 here.

If you have problems, look in the log file /tmp/peasypdf.log for any error messages.

----------------------------------

The Convert tool converts JPG, PNG and TIFF graphics files into PDFs. Use this if you have a single photo or scanned image that you need to package as a PDF. Other graphics formats can be converted by first opening them in mtPaint and saving as a PNG.

Text documents or spreadsheets can be converted to PDF by loading them into their default application and using Print > Print to File.

Update: PeasyPDF v2.8 has another Convert tool that batch-converts a folder of graphics files into PDF format. It can optionally combine them into one PDF file. This would be a simple way to package a collection of photos.

--------------------------------------

The Join tool can combine separate PDFs into a single document or add more items to an existing PDF.

1. Click New. This starts a new project in the folder /tmp/PDFJoin.

2. Select a PDF file and click Add. You can:

a. select it through the file chooser dialog.
b. drag a file directly from a ROX window into the file entry box.

3. Repeat Step 2 for all the source files.

4. When done adding files, click Join.

5. Click View to open the project folder in a separate ROX window. The joined file is named PROJECT.PDF. Copy it to a permanent location and rename it.

The project folder also contains the original files numbered sequentially. They will remain until you click New. So if you want to add another file to the project, just use Add and Join again. Or move to a different source folder and add more files from there.

--------------------------------------

The Extract tool pulls one or more pages from a PDF file and converts them to JPG or PNG images. You can also save in PDF format. See below.

Update: PeasyPDF v2.3 can now extract the text from a PDF document. The text is saved in the temporary folder /tmp/PDFExtract under the name EXTRACTED.TXT.

Select the PDF file and enter the page number. You can also specify a list of numbers and/or page ranges, like:
Code:
1 4 9 16-25 36 49-64 81 100

You can optionally change the DPI value to increase/decrease the resolution of the new image.

The extracted files are stored in the folder /tmp/PDFExtract. Click View to see it.

If you extract to PDF format, you have two options:

a. If you do NOT check Combine, the individual pages are stored in /tmp/PDFExtract.
b. If you DO check Combine, the pages are glued back together into a new PDF file named EXTRACTED.PDF.

Use the Clear button to erase the PDFExtract folder if you want to start another set of extractions.

--------------------------------

The Print tool sends a PDF (or selection of pages) directly to a CUPS printer. Use this instead of Puppy's default PDF viewer program, which does not always print correctly.

N-Up Printing lets you print several pages of the PDF document on each sheet of paper. N-Up only works with full documents - it cannot print a selection of pages. If you want to select pages, use the Extract tool first. Extract the desired pages to PDF and combine them. Then print the EXTRACTED.PDF file using N-Up.

------------------------------

Here are some examples:

You have a 10-page PDF file. You just want to delete page 5.

a. Choose Extract with the format PDF + Combine
b. Select the pages using 1-4 6-10.

You have a PDF file. You want to build a new PDF that combines some of the original pages with some of your own.

a. Choose the PDF format but do NOT combine.
b. Extract the pages you want.
c. Click View to open the PDFExtract folder.
d. Click the main Join tab and start a new project.
e. Drag pages from the PDFExtract window into the project and add them. Insert your own pages as needed.
f. When done, join them.

You have a 100-page PDF and you want to insert another item after page 50.

a. Extract pages 1-50 and combine them.
b. Start a new Join project.
c. Add the EXTRACTED.PDF file.
d. Add the additional page.
e. Go back to Extract and click Clear.
f. Extract pages 51-100 and combine them.
g. Add the second EXTRACTED.PDF file to the project. (This is OK because the file gets a new name in the project.)
h. Join the three items.

----------------------------
peasypdf-3.1b.pet
Description  Updated 2014-08-14
New menu icon
pet

 Download 
Filename  peasypdf-3.1b.pet 
Filesize  5.54 KB 
Downloaded  54 Time(s) 
screenie.png
 Description   
 Filesize   175.88 KB
 Viewed   1157 Time(s)

screenie.png

peasypdf-3.1.pet
Description  Updated 2014-06-14
pet

 Download 
Filename  peasypdf-3.1.pet 
Filesize  4.62 KB 
Downloaded  102 Time(s) 

Last edited by rcrsn51 on Thu 14 Aug 2014, 18:17; edited 140 times in total
Back to top
View user's profile Send private message 
disciple

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

PostPosted: Fri 12 Aug 2011, 03:25    Post subject:  

Hey - do you add your guis to the list of programs using gtkdialog?

Also, people might be interested in my old gui for joining pdfs, including recursively finding and joining them http://www.murga-linux.com/puppy/viewtopic.php?t=22978

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

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 01 Jun 2012, 15:49    Post subject:  

I guess this is the correct thread to post in

http://murga-linux.com/puppy/viewtopic.php?t=78579&start=24
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7805
Location: qld

PostPosted: Tue 17 Jul 2012, 19:53    Post subject: Re: Announcing PeasyPDF  

rcrsn51 wrote:

PeasyPDF uses Ghostscript and works better with newer versions. Wary/Racy/Slacko all have an obsolete version of Ghostscript, so some files cannot be converted properly.

There is a Ghostscript upgrade for the above Puppies to v8.64 here.


OK, wasn't aware of the updated ghostscript even though the latest Slacko alpha ships with the Peasy* line of progs.

Do you see this as a drop in replacement?

Thanks

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Tue 17 Jul 2012, 20:27    Post subject: Re: Announcing PeasyPDF  

01micko wrote:
OK, wasn't aware of the updated ghostscript even though the latest Slacko alpha ships with the Peasy* line of progs. Do you see this as a drop in replacement?

In Puppy, the primary role of Ghostscript is for printing - it converts Postscript data from an app into raster data for the printer driver. Since printing still works in Puppies that have the old GS 8.15, it appears to be good enough. In the places where printing is a problem, it's because of the old CUPS version.

However, most modern apps have switched from PS to PDF as the data format for printing work-flow. So it's not clear how well the old GS is coping.

In PeasyPDF, I found many cases where a newer GS was required to process PDF files. I did some print tests in Slacko with the new 8.64 and it looked OK. But it was a small sample. So I'm not going to swear that it's a drop-in replacement.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7805
Location: qld

PostPosted: Tue 17 Jul 2012, 20:53    Post subject:  

Quote:
So I'm not going to swear that it's a drop-in replacement.


Ok, thanks.

If people have issues then at least this package is available. I might upload to Slacko repo under a different name "gostscript_newer" with a modified description or something so it doesn't conflict with the original when building from woof.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Tue 17 Jul 2012, 21:33    Post subject:  

Why does Slacko not have the official Slackware GS package? Lupu has its native version, so PeasyPDF works better in it.

Was this a space issue?
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7805
Location: qld

PostPosted: Tue 17 Jul 2012, 22:27    Post subject:  

Quote:
Why does Slacko not have the official Slackware GS package?


Oversight, fixed.

EDIT:.. Hmm.. Slackware's is rather large, I'll check the size once split into doc,dev,nls

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Dromeno

Joined: 12 Sep 2008
Posts: 538

PostPosted: Thu 31 Jan 2013, 18:18    Post subject: Some ideas for a next version of PeasyPDF  

I like PeasyPDF better than PuppyPDF because it generates better quality PDFs. But allow me to add a few requests for a future edition:

- option to drag a selection of several JPGs or other image files to a box for a quick conversion in a single click

- a batch option to convert a directory full of JPGs or other image files into PDFs quick

- a possibility to add "convert to PDF" in the rox context menu (right click) for pdf-convertable files. Also for dirs (add all files in this directory to pdf)
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1010
Location: South of Belgium

PostPosted: Sat 09 Feb 2013, 01:55    Post subject:  

Hi rcrns51 !
many ... hmm...let's say a TON of thanks for this peasypdf ... i'm using it now regularly ... it prevent me from sam2p's command line operation (which i also like) with substential time saving ! Smile
i also much appreciate the resolution size choice --> to save memory.
cheers, charlie
Back to top
View user's profile Send private message 
Dromeno

Joined: 12 Sep 2008
Posts: 538

PostPosted: Thu 14 Feb 2013, 06:09    Post subject: Puppy OMR
Subject description: audiveris
 

I hope you don't mind if I toss in another request here.

It would be nice if a jpg or pdf of sheet music also could be converted to a .mscz (MuseScore) file

http://wiki.musichackday.org/index.php?title=MuseScore_PDF_import

It seems to be possible by using Audiveris (kind of tesseract for sheet music) but there is no Audiveris version for puppy yet

http://audiveris.kenai.com/
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1138
Location: Republic of Vermont

PostPosted: Wed 13 Mar 2013, 13:05    Post subject:  

Great program! Thank you.

Feature request:

When converting a batch of sequentially numbered named files, the old problem of decimal sequences shuffles the pages in the output .pdf.

In other words files named 30.jpg will get shuffled with a file named 3.jpg in the final pdf.

Any chance of allowing normal decimal numbering for file names?

Thanks!

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Racy 5.5.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

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


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

PostPosted: Wed 13 Mar 2013, 17:03    Post subject:  

vtpup wrote:
In other words files named 30.jpg will get shuffled with a file named 3.jpg in the final pdf.


???

When you run PDF Builder, the files you add to the project are temporarily named 001.pdf, 002.pdf, etc. So they are merged into the final project in the correct order.

Or are you selecting the files using a wildcard like *.jpg? Instead, use ?.jpg followed by ??.jpg.

Or use Ctrl-A to select all the files, then drag them into the project. That method may preserve the order.

Or you could rename 3.jpg as 03.jpg.
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1010
Location: South of Belgium

PostPosted: Mon 15 Apr 2013, 17:19    Post subject: peasypdf-2.4 french translation  

Hi rcrsn51 !
a ton of thanks for this awesome app !
here is a french translation
(... managed to keep the strings as short as possible Smile ).

in attachment:
both peasypdf.mo and if usefull, peasypdf.po files

Cheers, Charlie
20130416peasypdf_french_dotmo.tar.gz
Description  extract to get both peasypdf.mo and if usefull, peasypdf.po files
gz

 Download 
Filename  20130416peasypdf_french_dotmo.tar.gz 
Filesize  2.34 KB 
Downloaded  437 Time(s) 
PeasyPDF.desktop.fr.gz
Description  french desktop file: drop the fake «.fr.gz » extensions; to be placed in /usr/shate/applications
gz

 Download 
Filename  PeasyPDF.desktop.fr.gz 
Filesize  259 Bytes 
Downloaded  447 Time(s) 
capture18118.jpg
 Description   
 Filesize   21.86 KB
 Viewed   2888 Time(s)

capture18118.jpg

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

Joined: 18 Oct 2009
Posts: 238

PostPosted: Sun 11 Aug 2013, 09:16    Post subject: Suggestion for handling backed documents
Subject description: For use with basic scanners
 

Hi,

Thanks for a really useful application. May I make a feature suggestion? Not vital, but it could be useful.

Some scanners with autofeed are not sophisticated enough to handle backed documents. You end up with all the odd pages, then all the even ones. It would be good if there was a "merge like a zip" option for the combine process, to handle that situation.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [53 Posts]   Goto page: 1, 2, 3, 4 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.1009s ][ Queries: 13 (0.0077s) ][ GZIP on ]