Please state what conversion procedure and what kind of file you are converting.

thanks for replying ...
Ooops .. ! i found i was trying to convert to pdf a bitmap graphic image that version 2.8 cannot do.
I got a succesfull try with a "normal" png image stored on an USB stick.
... so i was doing as with the version 2.4 in which i added the bmp option (see http://murga-linux.com/puppy/viewtopic.php?t=70680&start=24.

No hope: adding those bmp conversion codes do not work in version 2.8..
Any idea to get bmp conversion working with 2.8 ?

Thanks in advance
Charlie

ps:
1. i have uploaded a new french locale pet »»»-------> see page 2
2. here using dpup-wheezy3.5.2.5 and 3.5.2.11Last edited by charlie6 on Thu 22 May 2014, 16:19; edited 1 time in total

[Edit] I tried this myself in Slacko 56 and it worked fine. I had to get bmptopnm from Slackware - the Debian version didn't work.

OK! added; and works fine ! bmptopnm was already installed (it is included in netpbm).

i also noticed another options for graphic formats for folder conversion from line 94 in the original version 2.8;
so i got a try adding there:

Code:

PC)
bmptopnm "$F" | pnmtops $OPTIONS > /tmp/pptemp.ps
;;

and it worked fine on a folder having several file formats in it: jpeg , png, gif and bmp. The "assemble in one pdf" box was checked, and it resulted one pdf file with as many pages as the number of files in the folder. Except the gif file which has been ignored.

Just one thing: what is "PC)" standing for? In a previous post, you suggested to replace BMP) by PC), did'nt you?

Now, i 've added one GIF options around line 46:
assuming /usr/bin/giftopnm is present (also comes with netpbm)

Excellent. Lines 38 and 90 call the "file" command. It reports a BMP file as "PC bitmap", so PeasyPDF identifies it as "PC".

Here is a tip: If you have a bunch of BMP fax files and want to convert them into one PDF, you should probably select "Ignore" instead of "Portrait" from the drop-down list. This will get you a PDF document with letter-sized pages.

Otherwise, PeasyPDF assumes that these are small graphics images like photos and packages them in a smaller 5x7 format.

Maybe instead of "Ignore", some better choices would be "Letter" and "A4"?

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:

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:

/usr/sbin/lpadmin -p FaxPrinter -E -v socket://localhost:9900

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

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!

Hi rcrrsn51,
about efax-gtk sending pdf files ...
I was looking doing it in one step.

Quote:

Have you already tried this with your fax? I think that you have, but I wasn't completely sure.

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.
The efax-gtk README tells:

Quote:

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.

So i believe my ghostscript version allows it .. ...for one sigle page document, as also for multipage document (also just tested).

Quote:

If you look in the PeasyPDF CONVERT section, it can actually convert a Poscript file to a PDF.

»»»-----> That's great !

Thanks again !
Charlie

sending pdf document using efax-gtk through peasypdf-2.9.jpg

Description

sending pdf file using efax-gtk

Filesize

56.04 KB

Viewed

527 Time(s)

Last edited by charlie6 on Sat 24 May 2014, 10:48; edited 1 time in total

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum