BionicPup32 (UPupBB) (27 June 2020)

A home for all kinds of Puppy related projects
Message
Author
User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#211 Post by jrb »

peebee wrote:can I make gtklp a link to peasyprint just in case it's used somewhere else as well as mtpaint???
I just replaced /usr/bin/gtklp with a symlink to /usr/sbin/peasyprint, no other changes and got this when choosing Actions > Print Image. I like it, it prints too.
Attachments
gtklp2peasyprint1.jpg
(47.92 KiB) Downloaded 1031 times

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

No Print

#212 Post by sszindian »

Peasyprint doesn't want to print .GIF images (direct from install/from menu/graphics/PeasyPrint graphic/photo printing) says "Not A Valid File". So installing peasyprint still will not make mtpaint a "complete" package. I suggest finding a "reliable" other-version mtpaint WITH new gtklp and gtklpq files would be the best way.

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#213 Post by rcrsn51 »

I don't personally have a horse in this race, but here is a version of PeasyPrint that accepts other formats like GIF.

It uses image-changer, which is part of PeasyScale.

Testing is needed.
Attachments
peasyprint-3.0.pet
(7.6 KiB) Downloaded 110 times

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#214 Post by jrb »

rcrsn51 wrote:here is a version of PeasyPrint that accepts other formats like GIF.
I just installed this .pet, created a .GIF in mtpaint and printed it, still just using a symlink for gtklp. Looks good to me.

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

Symlink

#215 Post by sszindian »

@jrb

Any chance you could post your exact symlink to peasy?

'thanks'

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

Re: Symlink

#216 Post by jrb »

sszindian wrote:@jrb

Any chance you could post your exact symlink to peasy?

'thanks'

>>>---Indian------>

Code: Select all

mv /usr/bin/gtklp /usr/bin/gtklp1
ln -s /usr/sbin/peasyprint /usr/bin/gtklp
Don't forget to install the new version of peasyprint.

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

mv code

#217 Post by sszindian »

@jrb

That first line of code:

mv /usr/bin/gtklp /usr/bin/gtklp1

If I may ask, did you create a new gtklp1 or move it from somewhere and what is its purpose or what does it do?

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

Re: mv code

#218 Post by jrb »

sszindian wrote:@jrb

That first line of code:

mv /usr/bin/gtklp /usr/bin/gtklp1

If I may ask, did you create a new gtklp1 or move it from somewhere and what is its purpose or what does it do?

>>>---Indian------>
the link (ln) command won't replace a file that already exists, so that command renames (moves=mv) the original /usr/bin/gtklp to /usr/bin/gtklp1. Then the link command will create a new symlink, /usr/bin/gtklp

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

no print

#219 Post by sszindian »

Replaced mtpaint 3.49.12 (according to don570's tread in Graphics/mtpaint this version ONLY works with April64?),with-

mtpaint 3.44.88

Replaced gtklp_1.31.1 (this version DOES NOT load a file/path into the mtpaint dialogue box) with-

gtklp_1.2.8-686 and gtklp-1.2.5-w5

With those changes mtpaint does in fact search for and load the file/path of the graphic into the dialogue box. What that indicates to me is mtpaint has done its part and is ready to print the graphic.

BUT... when you click on the 'PRINT' in the mtpaint dialogue box... it DOESN'T send it from there to the printer.

Is it possible it could just be a MISSING SYMLINK to the printer from there?

And rcrsn51 your peasyprint to solve the print problem for jrb however, I still can't get it to print a .GIF either from mtpaint or from itself using just menu/load of peastprint (yes version 3) A small dialog box briefly appears and says PRINTING but it does not- I use a hp 3056a printer and have no problem with it in other programs!

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

Re: no print

#220 Post by jrb »

sszindian wrote:I still can't get it to print a .GIF either from mtpaint or from itself using just menu/load of peastprint (yes version 3) A small dialog box briefly appears and says PRINTING but it does not- I use a hp 3056a printer and have no problem with it in other programs!
Maybe you could post one of the .GIF's you are having trouble with so I could try printing it?

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

no print

#221 Post by sszindian »

@jrb

I doubt sending you one of my .gif's would help, but thanks for the offer...

Peasyprint 3 won't print anything even .jpg .png and yet any text in leafpad will print right out, so, not the printer. I've tried several gtklp versions along with a few different versions of mtpaint and peasy 2 and 3 but, I can't pinpoint the problem so for the time being have to leave UPupBB with what I found in my testing, may come back to it at a later date, lots of other stuff to do right now.

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#222 Post by rcrsn51 »

In PeasyPrint, are you sure that the paper size in CUPS matches the paper size in PeasyPrint?

Can PP print to the CUPS-PDF printer and generate a PDF file?

[Edit] I installed upupbb again, ran mtPaint and loaded a GIF.

I printed it via Actions > Print Image > gtklp

It printed successfully to both the CUPS-PDF printer and an HP laser printer.

The filename did NOT appear in the gtklp input box, but it printed anyway.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#223 Post by jrb »

@sszindian
I suggest that as a test you configure printing for MtPaint to

Code: Select all

lp %f
and see if that will work. This will only involve MtPaint and Cups and may eliminate or confirm gtklp as the problem.
Attachments
mtpaint-lp-test1.jpg
(47.8 KiB) Downloaded 490 times

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

Printing

#224 Post by sszindian »

OK...

I just had to try one more thing before putting UPupBB on the shelf!

A new load boot totally from RAM with no savefile load from original download.

Installed hplip_3.17.10+repack0-5 from the PPM. Installed printer, printed a perfect test page.

Transferred my clipart file from another puppy (Vivid6.5 401 Kernel- fantastic puppy) Loaded a graphic in the original mtpaint 3.49.12 (it gave a gtkpl %f as print function but like rcrsn's, NO PATH WAS IN THE DIALOGUE BOX) proceded to print... IT PRINTED without a hitch.

So,So,So... someplace along the line something went haywire and did a number on my previous/regular UPupBB savefile and it STUCK in there.

Could have been something I did along the line of adding files OR maybe something in one of the updates? I am going to do a #7 update on the new UPupBB, burn a new .iso and see what happens? Might not be for a few days though.

Hey peebee, don't get excited yet, maybe all you did was correct after-all :wink:
>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#225 Post by rcrsn51 »

Anything else you want to test? :wink:

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

Printing

#226 Post by sszindian »

rcrsn51 wrote:

Anything else you want to test? :wink:
-----------------------------------------
My no-print problem may be my fault, and maybe not my fault... If reports aren't done by someone... right or wrong... who's going to find things. Yes, I will continue to test things on new puppy builds just because developers like peebee and others don't have the time to do it.

Just for the fun of it... I uninstalled printer, hplip, all dependencies on the UPupBB that won't print.

Then reinstalled everything again and guess what! NO PRINT (same as before) and... just wondering why there isn't any "path" listed in the dialogue box? for both peasy and mtpaint???

Hmmm must be everything is working as it should huh? I think not!

Hey, thanks for giving your time and getting involved!

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#227 Post by proebler »

Confirming jrb’s finding that mtPaint will print a gif via PeasyPrint 3.0
Attachments
Screenshot_mtPaint+PeasyPrint3.0.jpg
mtPaint+PeasyPrint v.3.0
(195.37 KiB) Downloaded 98 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#228 Post by rcrsn51 »

And here is a GIF printing to a Deskjet 1112 via mtPaint > Actions > peasyprint
Attachments
screenie.png
(30.41 KiB) Downloaded 1605 times

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#229 Post by peebee »

18.05+8

mtpaint now uses peasyprint-3.0
+ some ubuntu updates
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: no print

#230 Post by rcrsn51 »

sszindian wrote: Peasyprint 3 won't print anything even .jpg .png and yet any text in leafpad will print right out, so, not the printer.
Then reinstalled everything again and guess what! NO PRINT (same as before) ... for both peasy and mtpaint???
There still is not a resolution to this problem.

Post Reply