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, 11:03
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 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
rcrsn51


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

PostPosted: Mon 12 Aug 2013, 06:19    Post_subject:  

Which scanner program are you using? Peasyscan can already combine the pages from a batch ADF scan into a PDF.

Quote:
"merge like a zip"

Please explain.
Back to top
View user's profile Send_private_message 
Snail

Joined: 18 Oct 2009
Posts: 238

PostPosted: Wed 14 Aug 2013, 09:44    Post_subject: Merge like a zip  

I haven't got access to a personal scanner at present, so I haven't been using my own software. So I'm not familiar with peasyscan. Maybe the capability is there already, in which case my request is redundant.

When I want scanning done, I have to go to a copyshop. Their scanners always have ADF and usually I get one multipage PDF back. However, in many cases, it seems that their machines don't have the capability to handle backed originals properly. So it is a case of run through and scan the odd numbered pages, then flip the stack over and do the even ones. Either the operators do not know how to correct this in software or the language barrier is at fault. Hence my request to combine the even file with the odd file taking a page from each file alternately, i.e. "merge like a zip"
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Wed 14 Aug 2013, 09:54    Post_subject:  

So the copy shop is giving you two PDF files - one with the even pages and one with the odd pages?

I still don't understand what you mean by "merge like a zip". Or do you mean "merge like a zipper"?

How are you currently handling this situation? Are you extracting the pages from the two PDFs, then building a combined document?
Back to top
View user's profile Send_private_message 
Snail

Joined: 18 Oct 2009
Posts: 238

PostPosted: Thu 15 Aug 2013, 07:11    Post_subject: Merge like a zip  

rcrsn51 said:

Quote:
So the copy shop is giving you two PDF files - one with the even pages and one with the odd pages?


That's right.

rcrsn51 said:

Quote:
I still don't understand what you mean by "merge like a zip". Or do you mean "merge like a zipper"?


That's the Atlantic and Pacific language barrier. "Zipper" is the North American English word. Elsewhere in the world, "zip" is used for the same item. I meant that the two files would be merged by taking a page at a time alternately from the "odd page" and the "even page", thus ending up with all in the correct order.

rcrsn51 said:

Quote:
How are you currently handling this situation? Are you extracting the pages from the two PDFs, then building a combined document?


Not really handling it at all. It would be such a hassle to fix manually that I just open both files and jump between them as I read.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Thu 15 Aug 2013, 07:18    Post_subject:  

.......

No feedback. Message deleted.

Edited_time_total
Back to top
View user's profile Send_private_message 
Snail

Joined: 18 Oct 2009
Posts: 238

PostPosted: Fri 16 Aug 2013, 00:08    Post_subject: Wow! All zipped up zippily!  

Man you are fast! I'll test ASAP.

Thanks a million.
Back to top
View user's profile Send_private_message 
capoverde


Joined: 28 Jun 2006
Posts: 233
Location: Sanremo (Italy) with fine seaview

PostPosted: Tue 22 Oct 2013, 03:05    Post_subject:  

Used EasyPDF a few minutes ago, in Precise 5.5, to extract a couple pages out of a 6-page music score. It's a marvel!

Many thanks and kudos from me too - it's going to be used regularly.
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2454
Location: near here

PostPosted: Wed 05 Mar 2014, 16:34    Post_subject:  

This has been a life saver today, for an assignment I had.

Thanks rcrsn51!

Wiki page-
http://puppylinux.org/wikka/PeasyPDF

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
charlie6


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

PostPosted: Wed 12 Mar 2014, 13:13    Post_subject:  

Hi rscrn51,
thanks again for PeasyPdf ...
I would report about sharpness of images converted to pdf.
Hereunder are 2 shots of an image (2.2MB .bmp image1280x1782 pixels) converted to pdf:
- one from using Peasy_Pdf which is 20K sized (using "fill the whole page option");
- the other from using sam2p command line converter, which is 15K size and looks having a far better sharpness.

Any idea to improve the sharpness of converted files using Peasy_Pdf?

Thanks for any answer.
Charlie
image_PeasyPdf_converted.png
 Description   using PeasyPdf
 Filesize   59.32 KB
 Viewed   244 Time(s)

image_PeasyPdf_converted.png

image_sam2p_converted.png
 Description   using sam2p
 Filesize   82.41 KB
 Viewed   243 Time(s)

image_sam2p_converted.png

Back to top
View user's profile Send_private_message 
charlie6


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

PostPosted: Sat 15 Mar 2014, 07:19    Post_subject:  

Hi,
the above post was relative to the conversion from a .BMP file to a .PDF file, using the Quick option
Further to that previous post, i've tried to manually perform the commands used in /usr/sbin/peasypdf:

Quote:
#bmptopnm myfileORIG.BMP > myfileORIG.pnm
# pnmtops myfileORIG.pnm > myfileORIG.ps
# ps2pdf myfileORIG.ps


and got a better result than the one using peasypdf using the «fill the page» option (i.e. imho using the pnmtops -noturn -center -equalpixels command) or leaving empty those option boxes.

i also edited /usr/sbin/peasypdf script and added those lines at line 51 through 55:
Code:

    BMP)                                                                  #added    charlie6
      bmptopnm "$F" | pnmtops > /tmp/pptemp.ps
      ps2pdf /tmp/pptemp.ps $PEASYPATH/$FN
      rm /tmp/pptemp.ps
      ;;

which does not use the $OPTION variable ... also without getting better results.

Peasypdf keeps producing the same result ... Confused so i wonder how to do.
Thanks for any answer
Charlie
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Mon 14 Apr 2014, 17:00    Post_subject:  

What Puppy are you using?

When PeasyPDF receives a non-linux file type like BMP, it sends it to Abiword for conversion to PDF. So you don't get very good quality.

The notes recommend that you use mtpaint to convert the BMP to PNG, then load it in PeasyPDF.

In any case, the BMP) line in your script should be PC).

Where did you get the bmptopnm command? I don't see it in any standard Puppies. Or did it come with samp?
Back to top
View user's profile Send_private_message 
charlie6


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

PostPosted: Tue 15 Apr 2014, 03:50    Post_subject:  

Hi rcrsn51,
Thanks for replying !
Here i'm running wheezy-3.5.2.5 (rather outdated ...is'nt...? Confused ).
Ooops...i did'nt read the notes ...sorry.

Why BMP ...? because i have a memory fax modem that receives faxes with PC off power - managing soft runs under wine - faxes to be archived can be exported under BMP format only. Cool .

Having a conversion tool with minimal readability losses is important as faxed documents quality is sometimes weak.

I found the package netpbm which has a lot of graphic conversion tools, with bmptopnm among others;
for wheezy, download here:
https://packages.debian.org/wheezy/netpbm
it needs also libnetpbm extra dep, link given on the same page.

Thanks for your tip ! Very Happy This works here: adding
Code:
    PC) 
      bmptopnm "$F" | pnmtops > /tmp/pptemp.ps
      ps2pdf /tmp/pptemp.ps $PEASYPATH/$FN
      rm /tmp/pptemp.ps
      ;;

at line 50 of /usr/sbin/peasypdf script and its working
(i have checked that having commented out the script lines calling abiword (from *) and following).

Sam2p comes with only a binary file that has all conversion tools in it; it does not need extra deps.

Hope this help
Charlie
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Tue 15 Apr 2014, 05:28    Post_subject:  

Excellent. The latest version of PeasyPDF (posted on page 1) removes the reliance on Abiword.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Thu 17 Apr 2014, 18:03    Post_subject:  

PeasyPDF v2.6 is posted on the first page.

Thanks to FeodorF for testing.
Back to top
View user's profile Send_private_message 
charlie6


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

PostPosted: Mon 28 Apr 2014, 14:56    Post_subject: peasypdf-2.8 french translation  

Hi rcrsn51,
many thaks for this awesome update Smile Smile !
here is a peasypdf-2.8 french translation
enjoy !
Charlie

220514 edited:
pet re-uploaded: modified tanslation in "Convert" thumbnail.
140514 edited:
pet re-uploaded with some left typos fixed + fine tuned
290414 edited:
pet re-uploaded with some left typos fixed + fine tuned
peasypdf_220514_french_fr_locale-2.8.pet
Description 
pet

 Download 
Filename  peasypdf_220514_french_fr_locale-2.8.pet 
Filesize  3.54 KB 
Downloaded  56 Time(s) 
peasypdf_scrnsht.png
 Description   
 Filesize   154.9 KB
 Viewed   115 Time(s)

peasypdf_scrnsht.png


Edited_times_total
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 4 Posts_count   Goto page: Previous 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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