SliTaz SliTaz Forum

You are not logged in.

#1 2011-10-24 05:46:13

gdesilva
Member
Registered: 2011-04-07
Posts: 419

No printer option in GIMP

I am running GIMP 2.6.11 and find that I have no printer option listed under File menu and there is no way to print an image from GIMP.

I have my network printer defined and working correctly and the printer is accessible from other applications like Firefox, Librewriter etc.

What am I missing here?

Thanks.

EDIT : Can print from Firefox but not from LibreWriter or Leafpad although both the latter apps can detect my printer. Printing test pages from CUPS Admin is not a problem.

Offline

#2 2011-10-24 21:26:46

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: No printer option in GIMP

Many apps in slitaz have limited function due to disabled configure options.

cat /var/lib/tazpkg/installed/leafpad/receipt | grep -i print

--disable-print \

cat /var/lib/tazpkg/installed/gimp/receipt | grep -i print

--without-print \

To recompile packages with the options you want:

Setup cook the build server that downloads program source,installs build depends,compiles,packages.

#cook setup

To enable print in leafpad:

#mkdir -p /home/slitaz/wok/leafpad

#cp  /var/lib/tazpkg/installed/leafpad/receipt /home/slitaz/wok/leafpad

#nano /home/slitaz/wok/leafpad/receipt

Change --disable-print to --enable-print

#cook leafpad

Configure stops when additional build depends are needed to install because of enabled printing. After you get past the configure portion,compile may stop looking for a shared library that it needs.

Use tazpkg search-pkgname filename to find which tazpkg owns the file compile needs and install it.

After the compile/package completes the new leafpad.tazpkg that will print is in /home/slitaz/packages

Slitaz use get-libreoffice to download precompiled tarball or .rpm which is converted to tazpkg and installed.

There are other distro's reporting print problems with librewriter on the web.

Web search solutions for error messages in cups log after sending a print job from librewriter.

Online

#3 2011-10-26 06:45:31

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: No printer option in GIMP

@mojo - thanks for this. I will try this out and update the post.

Offline

#4 2011-10-27 04:48:39

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: No printer option in GIMP

@mojo,

Everythig seemed to go on smoothly for a long time until I hit the following error

Pack: gimp 2.6.11

================================================================================

Executing: genpkg_rules

cp: can't stat 'stuff/gimp-splash.png': No such file or directory

Debug information

================================================================================

Cook date: 2011-10-27 12:47

ERROR: genpkg_rules failed

cp: can't stat 'stuff/gimp-splash.png': No such file or directory

The file gimp-splash.png does exist in /home/slitaz/wok/gimp/source/gimp-2.6.11/data/images but cannot find the script genpkg_rules hence not possible to point to the right directory. Any way out of this situation?

EDIT: just noticed that genpkg_rules is a function listed in the receipt file and that the copying the gimp logo with the slitaz spider the last line!

Offline

#5 2011-10-27 06:08:36

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: No printer option in GIMP

Some programs have stuff subfolder with images,scripts,patch's,etc..

#mkdir -p /home/slitaz/wok/gimp/stuff

#wget -P /home/slitaz/wok/gimp/stuff http://hg.slitaz.org/wok/file/59092b890afd/gimp/stuff/gimp-splash.png

#cook gimp

After your done with gimp,clone the wok,keep it updated,you'll have all the receipts and stuff folders.

#hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok

You can view the wok and other slitaz projects here:

http://hg.slitaz.org/

To browse the wok:

http://hg.slitaz.org/wok

Click Browse in the upper right takes you here: http://hg.slitaz.org/wok/file/59092b890afd

Online

#6 2011-10-27 08:23:06

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: No printer option in GIMP

@mojo,

I actually hacked the receipt file to point to a copy of the splash.png file which is associated with the already installed gimp package. Then ran 'cook gimp' and the compilation worked without errors. However, when I installed the newly created package I still do not see the print option. I then removed gimp and reinstalled my version and still no luck. Checked the receipt file and the --with-print option is enabled. Any further suggestions??

Offline

#7 2011-10-27 15:59:47

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: No printer option in GIMP

Check /home/slitaz/log/gimp.log

Print is enabled and configure is not looking for missing files.

Look at the other packages with gimp- in the name that WANT="gimp"

Find gimp-plug-ins,search gimp install folder, find plugin named print.

Check hg.slitaz.org/wok for gimp-plug-ins stuff folder,none:

Install gimp-plug-ins from repo to get gimp-plug-ins folder and receipt.

#mkdir /home/slitaz/wok/gimp-plug-ins

#cp  /var/lib/tazpkg/installed/gimp-plug-ins/receipt   /home/slitaz/wok/gimp-plug-ins

#cook gimp-plug-ins

#tazpkg install /home/slitaz/packages/gimp-plug-ins-2.6.11.tazpkg --forced

Gimp has print menu option that launches print dialog.

Online

#8 2011-10-28 10:21:33

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: No printer option in GIMP

Thanks a million...cooking gimp-plug-ins did the trick

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]