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 Thu 24 Apr 2014, 01:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PPDF developement (0.1.7)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Wed 23 Sep 2009, 18:14    Post subject:  PPDF developement (0.1.7)
Subject description: PPDF convert documents to PDF
 

PPDF

Dear community.

After some time of developement i am glad to anounce that ppdf is getting to be a usable application.
The ppdf project is an effort to replace puppypdf with a gtkdialog based new program.

I would like to ask everyone who has some time to test it, and comment on it.,
The program was developed on 4.25 and depends on abiword and ps2pdf (ghostscript).

Big thanks to vovchik and seaside and everyoone on the GTKdialog topic for their help.

CHAGELOG:

=0.1.7==========
- gxmessage replaced with yaf-splash (puppy programs tend to use it)
- the "Converting..." splash is displayed full time durning conversion and closes when conversion is done.
- Handling filenames with spaces fixed
- the program now shows message if it can not create the gtkdialog symlink
- the program now closes after conversion if called from the helper script

=0.1.6-1==========
- ppdf-helper launching abiword instances bug fixed
ppdf-0.1.7.pet
Description  0.1.7 is here
pet

 Download 
Filename  ppdf-0.1.7.pet 
Filesize  3.09 KB 
Downloaded  315 Time(s) 
ppdf016screenshot.png
 Description   Sscreenshot of 0.1.6
 Filesize   6.72 KB
 Viewed   643 Time(s)

ppdf016screenshot.png


Last edited by nikin on Fri 25 Sep 2009, 19:00; edited 3 times in total
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 24 Sep 2009, 02:01    Post subject:  

Dear nikin,

I do not experience the abiword launch problem after program close when I run ppdf. However, if I use ppdf-helper, it happens every time - after clicking the close button and after a success pdf print. Strange...

With kind regards,
vovchik
Back to top
View user's profile Send private message 
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Thu 24 Sep 2009, 02:27    Post subject:  

oh.. i see. i will take a look in that later today.
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 878

PostPosted: Fri 25 Sep 2009, 10:05    Post subject:  

vovchik wrote:
Dear nikin,

I do not experience the abiword launch problem after program close when I run ppdf. However, if I use ppdf-helper, it happens every time - after clicking the close button and after a success pdf print. Strange...

With kind regards,
vovchik


nikin,

Perhaps converting script to bash might work - something like this -


rm#!/usr/sbin/gtkdialog3 -e
#!/bin/sh
ORIGIFILE=$1
export -f ppdf_convert check_deps gen_pdf_name
gtkdialog3 -p MAIN_DIALOG

Then, there is no need for a "helper script".

Cheers,
s
Back to top
View user's profile Send private message 
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Fri 25 Sep 2009, 14:55    Post subject:  

Dear seaside

If you remember weuse event driven mode for a reason Smile
i will fix the helper script.. i do have some ideas what is the couse of the problem.

I just didnt have time til now, becouse i have a lot of work nowdays.

i will also replace gxmessage with yaf-splash

look back later tonight.
Back to top
View user's profile Send private message 
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Fri 25 Sep 2009, 15:45    Post subject:  

Dear vovchik,

The bug is fixed in 0.1.6-1
please test it.

download is in the first post.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Fri 25 Sep 2009, 16:34    Post subject:  

Dear nikin,

Version 1.6.1 works just fine, so thanks again. I still think it would be a good idea to check for file types before the conversion to ensure that the files are actually printable. Also, when I right-click in Rox on a doc file that has spaces in the filename (usually sent by M$ users), ppdf does not complain but does NOT print the pdf. I think a check is needed for a filename with spaces (e.g. surrounding the var with quotes - "$xxx") or a routine to rename the offending original file temporarily just for the conversion process and then renaming it back to the original M$ name. Just an idea....

With kind regards,
vovchik
Back to top
View user's profile Send private message 
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Fri 25 Sep 2009, 18:59    Post subject:  

dear vovchik

i hope 0.1.7 works for you.

I did consider that, but first i have to check wich filetypes are supported, and which not.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 26 Sep 2009, 03:16    Post subject:  

Dear nikin,

Everything seems to work, so thanks. I notice you replaced gxmessage with yaf-splash. yaf-splash is notoriously ugly and looks out of place with gtk. If you don't like gxmessage, I would suggest the attached workaround for yaf-splash done by forum member Mark Ullrich (MU). SImply rename yaf-spash to yaf-splash-org and place this in the same dir as yaf-splash. make a symplink called yaf-splash that points to yaf-mu. MU's brilliant contribution is only 317 bytes!

With kind regards,
vovchik
yaf-mu.tar.gz
Description 
gz

 Download 
Filename  yaf-mu.tar.gz 
Filesize  316 Bytes 
Downloaded  253 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0532s ][ Queries: 13 (0.0069s) ][ GZIP on ]