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 Mon 22 Dec 2014, 02:32
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 Posts_count  
Author Message
nikin

Joined: 14 Sep 2009
Posts: 18

PostPosted: Wed 23 Sep 2009, 18:14    Post_subject:  PPDF developement (0.1.7)
Sub_title: 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  344 Time(s) 
ppdf016screenshot.png
 Description   Sscreenshot of 0.1.6
 Filesize   6.72 KB
 Viewed   669 Time(s)

ppdf016screenshot.png


Edited_times_total
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
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: 888

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: 1287
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: 1287
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  279 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0584s ][ Queries: 12 (0.0036s) ][ GZIP on ]