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 21 May 2013, 04:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
PeasyPDF Convert/Build/Extract
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
rcrsn51


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

PostPosted: 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.

----------------------------
peasypdf-2.4.pet
Description  Updated 2013-02-20 - gettexted
pet

 Download 
Filename  peasypdf-2.4.pet 
Filesize  3.02 KB 
Downloaded  127 Time(s) 

Last edited by rcrsn51 on Mon 25 Feb 2013, 13:38; edited 87 times in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6179
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: 2421

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: 7018
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

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


Joined: 05 Sep 2006
Posts: 7745
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: 7018
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

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


Joined: 05 Sep 2006
Posts: 7745
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: 7018
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

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

Joined: 12 Sep 2008
Posts: 468

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: 800
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: 468

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: 1077
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!

_________________
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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 7745
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: 800
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  24 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  25 Time(s) 
capture18118.jpg
 Description   
 Filesize   21.86 KB
 Viewed   200 Time(s)

capture18118.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
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.0787s ][ Queries: 13 (0.0050s) ][ GZIP on ]