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 20 Oct 2014, 19:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 4.x » Bugs (4.x dev)
[CLOSED] Printing from Leafpad and Geany
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
rcrsn51


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

PostPosted: Wed 13 May 2009, 09:22    Post subject:  [CLOSED] Printing from Leafpad and Geany
Subject description: libgnomeprint version update causes problems?
 

Read here.
Last edited by rcrsn51 on Sat 23 May 2009, 22:18; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 16 May 2009, 10:44    Post subject:  

This problem also affects gnumeric. I tried reverting to the earlier libgnomeprint, but was unsuccessful.

Personally, I would rate this bug as a show-stopper.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 16 May 2009, 11:43    Post subject:  

This appears to be a CUPS 1.3.10 issue. I installed CUPS 1.3.10 into Puppy 4.1.2 and got the same printing problem (no printers detected) with Geany, Gnumeric, etc. I then recompiled Leafpad against the new CUPS and got the same problem.

I don't think that this is being caused by GTK.

I can't recall if CUPS 1.3.9 was OK so I will have to get a copy and try it next.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 16 May 2009, 13:22    Post subject:  

CUPS 1.3.9 is no better.

I don't understand why EPDF Viewer is able to see the CUPS printers when the other applications cannot. Was it compiled differently?

I had a look at NOP 3.14, which has CUPS 1.3.9. Unfortunately, all of the applications like Gnumeric have been removed, so it provides no clues.
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Sun 17 May 2009, 02:17    Post subject:  

rcrsn51 wrote:
CUPS 1.3.9 is no better.

I don't understand why EPDF Viewer is able to see the CUPS printers when the other applications cannot. Was it compiled differently?

I had a look at NOP 3.14, which has CUPS 1.3.9. Unfortunately, all of the applications like Gnumeric have been removed, so it provides no clues.

Ok, I think the problem has to do with Geany and the postscript driver. If you do a print preview in Geany your printer will show up when you choose Print, but not when you choose print outside of Print Preview.

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 17 May 2009, 08:22    Post subject:  

Testing 4.2.1RC3

Still have the same printing problem with Geany, Leafpad and Gnumeric - printers are not detected. Printing does work through Print Preview which calls ePDFView. Other applications work OK, including things like GtkLP.

As a test, I went back to 4.2.0 and dropped in CUPS 1.3.10 (both Patriot's and mine). Printing works fine.

My feeling now is that this is not being caused by CUPS per se. It is due to the inability of these three programs to connect to the cupsd daemon and extract printer information from it.
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sun 17 May 2009, 09:05    Post subject:  

Hmmm .....

With regards to cups printing, there's a major difference between Geany and epdfview. Epdfview interfaces directly to cups library for printing support while Geany relies on GTK+ to provide printing support. I'll try to see if fresh gtk+ binaries on newer cups have any impact.

Rgds
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Sun 17 May 2009, 16:03    Post subject:  

Patriot wrote:
With regards to cups printing, there's a major difference between Geany and epdfview. Epdfview interfaces directly to cups library for printing support while Geany relies on GTK+ to provide printing support. I'll try to see if fresh gtk+ binaries on newer cups have any impact.

....and Gtk+ was changed from 4.2 to 4.2.1 to fix an xinput issue.

The other change I made that seems to make a difference is installing Liberation truetype fonts. They were too big for the standard release but I've included them for uploading to the repository. Could simply having the appropriate truetype fonts available make it possible for Geany to connect via Gtk+?

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sun 17 May 2009, 23:37    Post subject:  

Hmmm .....

Ok, I've made fresh binaries of Gtk+ 2.12.12 (based on Pup412) ... Preliminary tests with geany, leafpad, abiword & gnumerics shows that cups (1.3.10) printer is listed and selectable for printing.

I will need to do more tests later to determine some other stuffs. It's been a long day ...

Rgds
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Mon 18 May 2009, 04:43    Post subject:  

Patriot wrote:
Hmmm .....

Ok, I've made fresh binaries of Gtk+ 2.12.12 (based on Pup412) ... Preliminary tests with geany, leafpad, abiword & gnumerics shows that cups (1.3.10) printer is listed and selectable for printing.

I will need to do more tests later to determine some other stuffs. It's been a long day ...

The reason Gtk+ was patched was to allow SCIM to function. Pizzasgood did the patching, although there was a version by ttuuxxx as well. It's PG's version in 4.2.1 though.

It might be worth checking with PG to see what he needed to patch to get SCIM to function.

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 18 May 2009, 09:42    Post subject:  

OK.

I went to Puppy 4.2.0 and got the folder /usr/lib/gtk-2.0/2.10.0/printbackends.

I then went to Puppy 4.2.1 RC3 and replaced its printbackends folder with the one from 4.2.0.

Printers are now detected in Geany, Gnumeric, etc. Other apps like Abiword still print OK.

How might this regression affect SCIM?

[Edit] As a test, I then went back to Puppy 4.1.2 and installed CUPS 3.1.10. In this scenario, Gnumeric cannot detect printers, supposedly because its GTK+ was compiled against the older CUPS 1.1.23.

I then dropped in the backends folder from 4.2.0 and printing was fixed!

I suspect that in 4.2.0, GTK+ was compiled against CUPS 1.4b2, which is close enough to 1.3.10 that the backend works in both versions.
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Mon 18 May 2009, 10:03    Post subject:  

Hmmm .....

WhoDo wrote:
.....
It might be worth checking with PG to see what he needed to patch to get SCIM to function.


I remembered reading about enabling debug and adding Xinput. Problem is, I don't have any scim hardware. Maybe I'll make another set later with the extra options and see how it goes.

rcrsn51 wrote:
.....
I went to Puppy 4.2.0 and got the folder /usr/lib/gtk-2.0/2.10.0/printbackends. .....


I second that finding. Was among the things I replaced/mixed-in. I have no idea if it will break scim.

Rgds
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 18 May 2009, 10:17    Post subject:  

So is this just a matter of recompiling the patched GTK+ against the right version of CUPS?
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Mon 18 May 2009, 10:34    Post subject:  

rcrsn51 wrote:
So is this just a matter of recompiling the patched GTK+ against the right version of CUPS?


I believe so, yes. I recalled some internal differences between cups 1.1.x and 1.3.x (and no, I didn't go through it all yet) and it must've escaped me with gtk+

That would mean some core stuffs that relies on cups libs interface may need to be checked (I'll have to check my samba again). Hopefully the ones using gtk+ printing interface won't have to be.

Rgds
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Tue 19 May 2009, 13:23    Post subject:  

Hmmm .....

Ok, I've tested another set of gtk+ 2.12.12 binaries with xinput enabled (indicated on PG's post ) against cups 1.3.10 ... Gtk+ apps printers are listed and selectable. Pressing the insert key in text input boxes does not crash Seamonkey. So, I guess that confirms the need for Gtk+ to be compiled against intended cups version.

Right now, I'll just stick to Gtk+ 2.12.12 and see how it goes ...

Rgds
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 4.x » Bugs (4.x dev)
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.0769s ][ Queries: 12 (0.0073s) ][ GZIP on ]