PeasyPDF Convert/Join/Extract/Print
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi rcrsn51,
Many thanks for this v-2.9 !
Looks like a bit from v-2.4 ...isn't ? i appreciate much !
Now downloaded and installed; i'll report conclusions in a while;
The «wise» user «who-is-knowing-what-he-does » would be supposed to add the specific above-already-posted codes for PC) (=.bmp) and GIF) (= .gif) graphic formats inside /usr/sbin/peasypdf script + have previously installed bmptopnm + giftopnm binaries (for dpup-wheezy users and maybe others, get them from:
http://ftp.de.debian.org/debian/pool/ma ... 1_i386.deb ... or from your favorite repo)..
Attached is v2.9 french locale update with its PeasyPDF.desktop file in it.
Cheers,Charlie
ps: my trunk runs with fr_BE locale setting ... this is of course valid for fr locale ..
Many thanks for this v-2.9 !
Looks like a bit from v-2.4 ...isn't ? i appreciate much !
Now downloaded and installed; i'll report conclusions in a while;
The «wise» user «who-is-knowing-what-he-does » would be supposed to add the specific above-already-posted codes for PC) (=.bmp) and GIF) (= .gif) graphic formats inside /usr/sbin/peasypdf script + have previously installed bmptopnm + giftopnm binaries (for dpup-wheezy users and maybe others, get them from:
http://ftp.de.debian.org/debian/pool/ma ... 1_i386.deb ... or from your favorite repo)..
Attached is v2.9 french locale update with its PeasyPDF.desktop file in it.
Cheers,Charlie
ps: my trunk runs with fr_BE locale setting ... this is of course valid for fr locale ..
- Attachments
-
- MoManager-fr_BE-peasypdf-2.9.tar.gz
- PeasyPDF-2.9 french locale update+PeasyPDF.desktop file
- (3.67 KiB) Downloaded 741 times
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
added postscript conversion
Hi rcrsn51,
For fax sending, it is sometime needed to convert pdf files to ps (postscript files).
The use of efax-gtk indeed returns an error message when trying to fax pdf files, as efax requires postscript files as input.
I use to use sam2p, another command line file converter, to achieve that conversion step.
As pdftops is default present in dpup-wheezy, and digging a bit in peasypdfs script, i got a try adding:
- the following code at line265:
- and a PS button in the extract thumbnail: added this code at line489:
So it's ( ...«Yesss!» ) working !
Another idea now: straight integrate the ps conversion within the PRINT thumbnail:
Efax-gtk users have efax-gtk as printer - named FaxPrinter in the user's manual - listed in the print menu of their applications provided they have defined it doing in command line:
Then, in peasypdf, that FaxPrinter is also listed in the printer list. But as pdf file cannot be straight efax printed, it would be nice to have some codes lines roughly looking like the following in peasypdfs script (i believe around line 298) ...(sorry if a lot of syntax mistakes ) :
I'll be nice if someone could do it...(i do not ever dare doubting you could'nt... )
Tons of thanks in advance !
Cheers, Charlie
For fax sending, it is sometime needed to convert pdf files to ps (postscript files).
The use of efax-gtk indeed returns an error message when trying to fax pdf files, as efax requires postscript files as input.
I use to use sam2p, another command line file converter, to achieve that conversion step.
As pdftops is default present in dpup-wheezy, and digging a bit in peasypdfs script, i got a try adding:
- the following code at line265:
Code: Select all
elif [ $EXTRACTPS = "true" ]; then
pdftops -f $PAGE -l $PAGE "$PDFNAME" - >> $EXTRACTPATH/EXTRACTED.ps
Code: Select all
<radiobutton>
<variable>EXTRACTPS</variable>
<label>PS</label>
</radiobutton>
Another idea now: straight integrate the ps conversion within the PRINT thumbnail:
Efax-gtk users have efax-gtk as printer - named FaxPrinter in the user's manual - listed in the print menu of their applications provided they have defined it doing in command line:
Code: Select all
/usr/sbin/lpadmin -p FaxPrinter -E -v socket://localhost:9900
but ATM i'm not able to compose such a script in an acceptable delivery time...if PRINTER=FaxPrinter
then pdftops $PRINTPDFNAME > /tmp/$PRINTPDFNAME/TOBEFAXED.ps
lp $OPTIONS -d $PRINTER TOBEFAXED.ps
fi
I'll be nice if someone could do it...(i do not ever dare doubting you could'nt... )
Tons of thanks in advance !
Cheers, Charlie
- Attachments
-
- peasypds_faxprinter.jpg
- FaxPrinter listed in printers list
- (25.52 KiB) Downloaded 717 times
-
- peasypdf_with_ps_button.jpg
- added PS button for pdf to postscript conversion
- (28.65 KiB) Downloaded 714 times
Nice work! Postscript used to be more important because an application like your word processor would send a print job to CUPS formatted as PS.
But that changed recently so the application now sends the print job as a PDF.
However, the PeasyPDF Print tool should still accept a PS file. I tried this myself by running Abiword, creating a document and using Print > Print to File > Postscript. I then printed that PS document to my laser printer using PeasyPDF.
Have you already tried this with your fax? I think that you have, but I wasn't completely sure.
Or are you just looking to simplify things by converting a PDF to PS and then printing it, all in one step? This may be possible.
If you look in the PeasyPDF CONVERT section, it can actually convert a Poscript file to a PDF. But I forgot to add it to CONVERTALL!
But that changed recently so the application now sends the print job as a PDF.
However, the PeasyPDF Print tool should still accept a PS file. I tried this myself by running Abiword, creating a document and using Print > Print to File > Postscript. I then printed that PS document to my laser printer using PeasyPDF.
Have you already tried this with your fax? I think that you have, but I wasn't completely sure.
Or are you just looking to simplify things by converting a PDF to PS and then printing it, all in one step? This may be possible.
If you look in the PeasyPDF CONVERT section, it can actually convert a Poscript file to a PDF. But I forgot to add it to CONVERTALL!
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi rcrrsn51,
about efax-gtk sending pdf files ...
I was looking doing it in one step.
The efax-gtk README tells:
Thanks again !
Charlie
about efax-gtk sending pdf files ...
I was looking doing it in one step.
in fact efax-gtk-3.2.13 (latest version in use here) does it (see screenshot attached) ... i remenber although some users reporting difficulties sending straight pdf files.Have you already tried this with your fax? I think that you have, but I wasn't completely sure.
The efax-gtk README tells:
So i believe my ghostscript version allows it .. ...for one sigle page document, as also for multipage document (also just tested).Sending faxes
-------------
Before sending a fax, it must be specified in the "Fax to send" box.
It must be in postscript format (a format produced by all Unix/Linux
word and document processors), and will be converted by the program
into the correct tiffg3 fax format. Recent versions of ghostscript
(which is used to convert the postscript file to tiffg3 fax images)
will also accept files in PDF format.
»»»-----> That's great !If you look in the PeasyPDF CONVERT section, it can actually convert a Poscript file to a PDF.
Thanks again !
Charlie
- Attachments
-
- sending pdf document using efax-gtk through peasypdf-2.9.jpg
- sending pdf file using efax-gtk
- (56.04 KiB) Downloaded 705 times
Last edited by charlie6 on Sat 24 May 2014, 14:48, edited 1 time in total.
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
answer: Yes, it woks.rcrsn51 wrote:Just be be 100% clear:
If you convert a PDF file to PS through pdftops, then send the PS file though PeasyPDF's Print function, it works with your fax machine?
answer: It works also from peasypdf without converting to PS. According to efaxs README, the current ghostscripts version would allow sending the fax as a PDF without converting to PS, for single and multipage pdf document as well .I'm confused, because your example above appears to be sending the fax as a PDF without converting to PS.
So no more need then to perform a PS conversion step before sending the fax
»»--> so you might disregard my request for adding code lines for a specific FaxPrinter printer.
Sorry if discovering this now in real time ... i'd only remembered that, in some circumstances, i'd got an error message trying to fax pdf files.
Charlie
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi rcrsn51,
thanks a lot ! great !!
(... done at wake-up ...)
Here is the updated french translation.
Cheers, Charlie
thanks a lot ! great !!
(... done at wake-up ...)
Here is the updated french translation.
Cheers, Charlie
- Attachments
-
- MoManager-fr-peasypdf-3.0.tar.gz
- (3.75 KiB) Downloaded 503 times
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
.PDF .pdf capital vs low case characters
Hi rcrsn51,
... just to mention that:
the conversion to pdf of graphic files creates a CONVERTED.PDF in /tmp/PDFCONVERT folder, using the extension .PDF with capital police.
I've experimented that a .PDF (capital character) to-a-mail-attached-document is unreadable for the recipient under Linux - ... don't know for WIndows users - (i'm using the across Europe well know "scarlet" webmail provider). Modifying the extension to .pdf (lowcase character) solves the «problem».
Did someone already experience this ?
Thanks for any answer.
Cheers, Charlie
... just to mention that:
the conversion to pdf of graphic files creates a CONVERTED.PDF in /tmp/PDFCONVERT folder, using the extension .PDF with capital police.
I've experimented that a .PDF (capital character) to-a-mail-attached-document is unreadable for the recipient under Linux - ... don't know for WIndows users - (i'm using the across Europe well know "scarlet" webmail provider). Modifying the extension to .pdf (lowcase character) solves the «problem».
Did someone already experience this ?
Thanks for any answer.
Cheers, Charlie
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Merci Charlie !charlie6 wrote:Here is the updated french translation.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Re: .PDF .pdf capital vs low case characters
Interesting. I chose the upper-case name CONVERTED.PDF so it would be easy to identify and I assumed that users would rename it to something else.charlie6 wrote:I've experimented that a .PDF (capital character) to-a-mail-attached-document is unreadable for the recipient under Linux ... Modifying the extension to .pdf (lowcase character) solves the «problem».
I don't know why an e-mail service would reject the name. Maybe they have a list of legal file types that they will allow as attachments, but only lower-case file extensions are on the list.
Your JPEG resizing app works so well ...
Is it possible to make PeasyPDF bulk-convert a folder of .doc text documents with pictures into PDF files?
I know that LibreOffice can do that but I believe it would be one at a time.
I could use http://ebook.online-convert.com/convert-to-pdf but that's also one at a time.
If the conversion has to be done inside AbiWord or LibreOffice could a script pointed at the parent folder containing all of the sub-folders walk through them all & make the conversions unattended?
I have 51 folders containing .doc files with images - I'd like a PDF version of each - preferably written to the same folder.
Our son has manually converted 12 files in one folder to EPUB via http://ebook.online-convert.com/convert-to-epub but I'm guessing his patience would expire quickly if I asked him to convert the 718 additional files one at a time.
WDYT?
Is it possible to make PeasyPDF bulk-convert a folder of .doc text documents with pictures into PDF files?
I know that LibreOffice can do that but I believe it would be one at a time.
I could use http://ebook.online-convert.com/convert-to-pdf but that's also one at a time.
If the conversion has to be done inside AbiWord or LibreOffice could a script pointed at the parent folder containing all of the sub-folders walk through them all & make the conversions unattended?
I have 51 folders containing .doc files with images - I'd like a PDF version of each - preferably written to the same folder.
Our son has manually converted 12 files in one folder to EPUB via http://ebook.online-convert.com/convert-to-epub but I'm guessing his patience would expire quickly if I asked him to convert the 718 additional files one at a time.
WDYT?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
No. PeasyPDF can bulk-convert individual pictures into PDF, but it has no ability to work with .doc files.edoc wrote:Is it possible to make PeasyPDF bulk-convert a folder of .doc text documents with pictures into PDF files?
[Edit] This is possible using LibreOffice and a bit of script:
Code: Select all
for F in *.doc; do libreoffice --convert-to pdf $F; done
PeasyPDF
rcrsn51,
Just a public note here to say, "Thank You", for PeasyPDF. I am using it in Precise 5.7.1 full install with excellent results. Until discovering this thread I was not aware that a new version of PeasyPDF and ghostscript were available for us. They are now installed and working admirably.
Folks like you who selflessly contribute to Puppy is why folks like me use it as our only operating system. You are appreciated!
Just a public note here to say, "Thank You", for PeasyPDF. I am using it in Precise 5.7.1 full install with excellent results. Until discovering this thread I was not aware that a new version of PeasyPDF and ghostscript were available for us. They are now installed and working admirably.
Folks like you who selflessly contribute to Puppy is why folks like me use it as our only operating system. You are appreciated!
[i]Puppy 5.2.8.7, Full Install[/i]
Thanks for PeasyPDF ! - although I currently have old version v2.4 (installed by default in Slacko 5.6) I have found it very useful for reducing the size of PDF files created by Softmaker Freeoffice and Textmaker. Here is what I do:
Export the document as pdf from Textmaker
Make a blank page and export it as pdf from Textmaker
Run Peasypdf and "add" the two files separately then "save" them.
My original pdf was 893kB and the pdf output from Peasy is now 226kB.
Now that I have found this thread I will install and test the newest version of PeasyPDF - it probably has an even easier way to achieve the same thing.
Export the document as pdf from Textmaker
Make a blank page and export it as pdf from Textmaker
Run Peasypdf and "add" the two files separately then "save" them.
My original pdf was 893kB and the pdf output from Peasy is now 226kB.
Now that I have found this thread I will install and test the newest version of PeasyPDF - it probably has an even easier way to achieve the same thing.
Brilliant little Swiss knife tools rcrn51.
Is there a way that it can open a pdf, populate the text and then save the pdf wysiwyg style?
Maybe it could be combined with a little word processor to achieve this?
I found the extract text as a txt file difficult. The text is editable. The print to file is awkward, cups or ghostview system, some problems.
That grab a folder of jpgs etc and turn into a pdf is excellent.
EDIT:
Just tried Shinobar's Abiword Portable, neat, except loading a pdf file doesn't include pictures and boxes and stuff, and they are lost when saving as pdf.
http://murga-linux.com/puppy/viewtopic.php?t=94415
Scribus, meh, kingsoft meh, libre draw, complicated editing of pdf.
Any apps that use QT absolutely destroy my puppy, probably because I have wrong one's that are just enough for Qtractor or the glibc or something.
Evince is standard in this Puppy and is outstanding.
Now if that would just have an edit and save mode that would be good!
So the nearest is Abiword for pdf population.
Is there a way that it can open a pdf, populate the text and then save the pdf wysiwyg style?
Maybe it could be combined with a little word processor to achieve this?
I found the extract text as a txt file difficult. The text is editable. The print to file is awkward, cups or ghostview system, some problems.
That grab a folder of jpgs etc and turn into a pdf is excellent.
EDIT:
Just tried Shinobar's Abiword Portable, neat, except loading a pdf file doesn't include pictures and boxes and stuff, and they are lost when saving as pdf.
http://murga-linux.com/puppy/viewtopic.php?t=94415
Scribus, meh, kingsoft meh, libre draw, complicated editing of pdf.
Any apps that use QT absolutely destroy my puppy, probably because I have wrong one's that are just enough for Qtractor or the glibc or something.
Evince is standard in this Puppy and is outstanding.
Now if that would just have an edit and save mode that would be good!
So the nearest is Abiword for pdf population.
[Edit] See the discussion about Xournal on page 5.Smithy wrote:Is there a way that it can open a pdf, populate the text and then save the pdf wysiwyg style?
Please explain.The print to file is awkward, cups or ghostview system, some problems.
Last edited by rcrsn51 on Thu 03 Sep 2015, 15:22, edited 1 time in total.