| Author |
Message |
rcrsn51

Joined: 05 Sep 2006 Posts: 7753 Location: Stratford, Ontario
|
Posted: Wed 10 Aug 2011, 08:21 Post subject:
PeasyPDF Convert/Build/Extract |
|
Update: PeasyPDF v2.3 can now extract the text from a PDF document.
Update: PeasyPDF v2.2 supports a wider variety of file formats. If you select an alternate type like GIF, TIF, TXT or DOC, PeasyPDF will pass it over to Abiword for conversion to PDF. However, you may get better results by converting these files manually. For example:
1. A TIFF graphic can be converted to PNG using mtPaint, then loaded into PeasyPDF.
2. To convert a text file to PDF, open it in your text editor and use Print to File.
Update: PeasyPDF v2.0 now has a Quick button. If you just want to convert a single file to PDF format, drag it into the File box and hit the Quick button. The new filename is the original name with ".pdf" tacked on the end.
If you are converting a high-resolution graphic, you may also need to select the "fill the page" option.
----------------------------
PeasyPDF is a little program for manipulating PDF files. The Builder component can convert single items to PDF format or assemble multi-page PDF documents. The Extractor component extracts pages from a PDF file and saves them in various formats.
Look for PeasyPDF in the menus under Document. The easiest way to use PeasyPDF is to have it running in one window with the folder containing your documents in another.
You may prefer to run PeasyPDF from inside the documents folder by opening a terminal window there and typing "peasypdf". Then you can use wildcards like "*.jpg".
-------------------------------------
PeasyPDF uses Ghostscript and works better with newer versions. Wary/Racy/Slacko 533/Precise all have an obsolete version of Ghostscript, so some files cannot be converted properly.
There is a Ghostscript upgrade for the above Puppies to v9.05 here.
Fatdog64-600 users can upgrade their Ghostscript to a more compatible version here.
If you have problems, look in the log file /tmp/peasypdf.log for any error messages.
----------------------------------
PDF Builder will be useful if:
1. You have a single photo or scanned document that you need to package as a PDF file. Some organizations only accept email attachments in PDF form.
2. You want to package several graphic items into a single multi-page PDF file. Your PDF reader program then acts as a simple slide-show viewer.
3. You want to add more items to an existing PDF file.
4. You want to combine some individual PDF's into a single document.
Click "New". This starts a new project in the folder /tmp/PeasyPDF.
Click the "View" button to open the project folder in a separate ROX window.
Select a file and click "Add". You can:
a. select it through the file chooser window.
b. drag a file directly from a ROX window into PeasyPDF's file entry box.
c. type in the name of a file.
d. enter a list of names separated by spaces.
e. use wild cards.
f. use a combination of the above methods.
If the filenames or their paths contain spaces, you must pick them individually. For example, you would use this method to add files from your Windows "Documents and Settings" folder.
If the filenames do not contain spaces, you can type a list of names or you can drag a group of files from a ROX window into the File box. But first click the "No" button.
You can even add all the files in a folder at once. Drag the folder into the File box and add a wildcard to the end of the name, like "/*" or "/*.jpg". This also works with subfolders by using "/*/*". Just remember to click the "No" button.
When all the files are added, click "Save". The project is saved in the project folder under the name "PROJECT.PDF".
Copy your project to a permanent location and give it a descriptive name.
The project folder also contains the original files in PDF form numbered sequentially. They will remain until you click "New". So if you want to add another file to the project, just use "Add" and "Save" again. Or move to a different source folder and add more files from there.
--------------------------------------
Many applications have a "Print to File" option that lets you save your work in PDF format. For example, you can capture web pages from your browser and add them to a PeasyPDF project. However, you may get better results saving them in PostScript (PS) format instead of PDF.
---------------------------------------
PDF Extractor 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.
Drag the PDF into the file input box and enter the page number. Or you can enter 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 new file is written to the same folder as the PDF.
-----------------------------
If you extract to PDF format, you have two options:
a. If you do NOT check "Combine", the individual pages are stored in the temporary folder /tmp/PDFExtractor.
b. If you DO check "Combine", the pages are glued back together into a new PDF file. You will be asked to add a string onto the end of the filename to distinguish the new file from the original PDF.
------------------------------
Here are two examples:
You have a 10-page PDF file. You want to delete some pages and add your own items.
a. Extract all 10 pages but do NOT combine.
b. Start a Builder project,.
c. Add the pages you want from /tmp/PDFExtractor and insert your items in the desired positions.
d. Save.
You have a 100-page PDF named foo.pdf and you want to insert another page after page 50.
a. Extract pages 1-50 and combine them. Name the file foo_1-50.pdf.
b. Extract pages 51-100 and combine them. Name the file foo_51-100.pdf.
c. Start a Builder project.
d. Add the items foo_1-50.pdf, your own page and foo_51-100.pdf.
e. Save.
----------------------------
 |
| Description |
Updated 2013-02-20 - gettexted
|

Download |
| Filename |
peasypdf-2.4.pet |
| Filesize |
3.02 KB |
| Downloaded |
131 Time(s) |
Last edited by rcrsn51 on Mon 25 Feb 2013, 13:38; edited 87 times in total
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: 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
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2421
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7753 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7753 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
Dromeno
Joined: 12 Sep 2008 Posts: 469
|
Posted: 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
|
|
 |
charlie6
Joined: 30 Jun 2008 Posts: 802 Location: South of Belgium
|
Posted: 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 !
i also much appreciate the resolution size choice --> to save memory.
cheers, charlie
|
|
Back to top
|
|
 |
Dromeno
Joined: 12 Sep 2008 Posts: 469
|
Posted: 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
|
|
 |
vtpup

Joined: 15 Oct 2008 Posts: 1077 Location: Republic of Vermont
|
Posted: 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!
_________________ New Acer Aspire 5349-2635 dual proc, 4gb ram, re-partitioned with frugal Racy 5.3, dual boot, running rings around Win 7.
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7753 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
charlie6
Joined: 30 Jun 2008 Posts: 802 Location: South of Belgium
|
Posted: 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 ).
in attachment:
both peasypdf.mo and if usefull, peasypdf.po files
Cheers, Charlie
| Description |
extract to get both peasypdf.mo and if usefull, peasypdf.po files
|

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

Download |
| Filename |
PeasyPDF.desktop.fr.gz |
| Filesize |
259 Bytes |
| Downloaded |
30 Time(s) |
| Description |
|
| Filesize |
21.86 KB |
| Viewed |
214 Time(s) |

|
|
|
Back to top
|
|
 |
|