PDA

View Full Version : [Solved] Cannot Print Photos with GIMP



NoWorries
Oct 11th 2010, 11:09 AM
I previously had 10.04 installed on the computer that I am now using for 10.10. Under 10.04 GIMP was able to print photos whereas on my laptop with 10.04 I could not print photos. Now I cannot print photos on 10.10 :(. I have a HP Photosmart C7280 printer and I have installed the HP Device manager which shows the status of the printer. The print > Image Settings on GIMP has a preview box which is blank and if I print the image it is blank. Gutenprint is useless as it does not let me select the photo tray because it does not know about the C7280 printer.

oshunluvr
Oct 11th 2010, 11:20 AM
I'd say you're missing a package.

doctordruidphd
Oct 12th 2010, 01:16 AM
You might also want to verify that your printer is installed -- the upgrade may have zapped its configuration.

Do you have hplip installed, and does it show your printer, and communicate with it?

you can also point your browser to http://localhost:631/ to check if your printer is installed.

NoWorries
Oct 12th 2010, 02:05 AM
I'd say you're missing a package.

I tried to install the packages in your list but when I tried to install footmatic-db-gutenprint I got the following error:

footmatic-db-gutenprint
Depends: footmatic-db but it is not going to be installed

To check the status of my packages I did:

sudo dpkg --configure -a
sudo apt-get install -f

My list of installed packages is in graphic.

NoWorries
Oct 12th 2010, 02:11 AM
You might also want to verify that your printer is installed -- the upgrade may have zapped its configuration.

Do you have hplip installed, and does it show your printer, and communicate with it?

you can also point your browser to http://localhost:631/ to check if your printer is installed.



Yes, I have this package installed and I have also used the printer for printing from other packages such as OpenOffice. My installed packages are listed in the attached image.

Snowhog
Oct 12th 2010, 02:31 AM
If not installed, install gimp-gutenprint.

Gutenprint is the print facility for the GIMP, and in addition a suite of drivers that may be used with common UNIX spooling systems using GhostScript or CUPS. These drivers provide printing quality for UNIX/Linux on a par with proprietary vendor-supplied drivers in many cases, and can be used for many of the most demanding printing tasks. Gutenprint was formerly known as Gimp-Print.

NoWorries
Oct 12th 2010, 05:44 AM
If not installed, install gimp-gutenprint.


I installed gimp-gutenprint and when I tried to install footmatic-db-gutenprint I got the same error, ie


footmatic-db-gutenprint
Depends: footmatic-db but it is not going to be installed
Code:

BTW I still cannot print images.

Because of the difference in installed packages, I have included the sources that I have.

doctordruidphd
Oct 12th 2010, 03:11 PM
You have something else installed that wants the foomatic package.
I have gimp-gutenprint installed, and foomatic-db-gutenprint is not installed, nor is it listed as a dependency for gimp-gutenprint, or anything gimp-gutenprint depends on.

I'm not sure what is trying to pull in the foomatic package.

Try: dpkg-query --status gimp-gutenprint

Yuri sss
Oct 12th 2010, 04:28 PM
You have something else installed that wants the foomatic package.
I have gimp-gutenprint installed, and foomatic-db-gutenprint is not installed, nor is it listed as a dependency for gimp-gutenprint, or anything gimp-gutenprint depends on.


Same here. To see dependencies, simply select the gimp-gutenprint package in Synaptic and select the "Dependencies" tab below. To see which packages depend on gimp-gutenprint, select "Dependants" from the dropdown.

NoWorries
Oct 12th 2010, 10:15 PM
Same here. To see dependencies, simply select the gimp-gutenprint package in Synaptic and select the "Dependencies" tab below. To see which packages depend on gimp-gutenprint, select "Dependants" from the dropdown.


I found Dependencies after selecting properties. What I get is shown below.

nuno
Oct 13th 2010, 07:41 AM
the man said "select Dependants from the dropdown." ;)

NoWorries
Oct 13th 2010, 08:57 AM
the man said "select Dependants from the dropdown." ;)


I have Synaptic 0.63.1 installed and when I right mouse click on gimp-gutenprint there is no "Dependants" listed. When I select "properties" I then get "Dependencies". Can you see Dependants from the dropdown on your computer? If so, what version of Synaptic are you using?

dibl
Oct 13th 2010, 10:52 AM
I used muon, right-clicked on gimp-gutenprint, chose the "dependencies" tab, and saw this:


Depends: libatk1.0-0 (>= 1.29.3)
Depends: libc6 (>= 2.4)
Depends: libcairo2 (>= 1.2.4)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgdk-pixbuf2.0-0 (>= 2.21.6)
Depends: libgimp2.0 (>= 2.4.0)
Depends: libglib2.0-0 (>= 2.12.0)
Depends: libgtk2.0-0 (>= 2.8.0)
Depends: libgutenprint2 (>= 5.2.6)
Depends: libgutenprintui2-1 (>= 5.2.6)
Depends: libpango1.0-0 (>= 1.14.0)
Depends: libpng12-0 (>= 1.2.13-4)
Depends: zlib1g (>= 1:1.1.4)
Depends: gimp (>= 2.4.0~rc1-1)
Suggests: gutenprint-doc (>= 5.2.6-0ubuntu8)
Suggests: gutenprint-locales (>= 5.2.6-0ubuntu8)
Enhances: gimp

Identical to yours. :)

However, when I checked foomatic-db, look at the bottom of the list:


Suggests: cups-driver-gutenprint |
Suggests: foomatic-db-gutenprint
Suggests: hplip
Suggests: hplip-cups
Suggests: foo2zjs
Suggests: splix
Suggests: m2300w
Suggests: pxljr
Suggests: ghostscript-cups
Suggests: openprinting-ppds
Suggests: openprinting-ppds-extra
Suggests: cjet
Suggests: c2050
Suggests: ptouch-driver
Recommends: foomatic-db-engine
Recommends: foomatic-filters (>= 4.0)
Recommends: ghostscript
Recommends: cups
Recommends: cups-client
Recommends: min12xxw
Recommends: hpijs
Recommends: pnm2ppa
Conflicts: foomatic-db-hpijs
Breaks: foomatic-filters (< 4.0)
Replaces: foomatic-db-hpijs

So I think there's a problem between foomatic-db and foomatic-db-hpijs. But it says the foomatic-db package is the replacement, so maybe you can remove foomatic-db-hpijs and then install foomatic-db and get a different result.

Maybe.

Yuri sss
Oct 13th 2010, 03:45 PM
the man said "select Dependants from the dropdown." ;)


I have Synaptic 0.63.1 installed and when I right mouse click on gimp-gutenprint there is no "Dependants" listed. When I select "properties" I then get "Dependencies". Can you see Dependants from the dropdown on your computer? If so, what version of Synaptic are you using?


See below.

oshunluvr
Oct 14th 2010, 05:49 AM
Guess I'm a dummy - I don't see "Dependants" anywhere except for my kids when they ask for money. I do see "Dependencies" in several locations however. Hey, I'm not even afraid to click on a drop-down menu and still, no Dependants... hmmm... maybe there's a wiki page for Synaptic Menus for Dummies because clearly, some of us need one.

dependant [dɪˈpɛndənt] n
a person who depends on another person, organization, etc., for support, aid, or sustenance, esp financial support
Usage: Avoid confusion with dependent

de·pen·dent (d-pndnt) adj.
1. Contingent on another.
2. Subordinate.
3. Relying on or requiring the aid of another for support: dependent children.
4. Hanging down.
Usage: Avoid confusion with dependant

NoWorries
Oct 14th 2010, 07:10 AM
Thanks to you all for the support you are giving regarding this printing problem.


So I think there's a problem between foomatic-db and foomatic-db-hpijs. But it says the foomatic-db package is the replacement, so maybe you can remove foomatic-db-hpijs and then install foomatic-db and get a different result.

I could not find foomatic-db-hpijs so I removed hpijs. After doing this I got the dependants shown in the graphic. This looked quite safe, but when I went to install foomatic-db I got a message that the kubuntu-desktop would be removed ???. I decided to not proceed but should I have continued and would I still have my desktop?

dibl
Oct 14th 2010, 10:52 AM
when I went to install foomatic-db I got a message that the kubuntu-desktop would be removed ???. I decided to not proceed but should I have continued and would I still have my desktop?


kubuntu-desktop is a so-called "meta-package" -- a wrapper that pulls in the default suite of KDE and *buntu packages for your new installation of Kubuntu. But, after installation, it does not pull the packages back out if you remove it. You can demonstrate this by using apt-get with the "-s" option, to simulate the action:


don@meerkat:~$ sudo apt-get remove kubuntu-desktop -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
kubuntu-desktop
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv kubuntu-desktop [1.205]

As you can see, nothing else is to be removed.

(Note that I can't guarantee that this will make your gimp printing work as you desire ... ).

Yuri sss
Oct 14th 2010, 02:01 PM
Guess I'm a dummy - I don't see "Dependants" anywhere except for my kids when they ask for money. I do see "Dependencies" in several locations however. Hey, I'm not even afraid to click on a drop-down menu and still, no Dependants... hmmm... maybe there's a wiki page for Synaptic Menus for Dummies because clearly, some of us need one.


Don't talk to me, I didn't come up with "Dependants" (with "a", not "e"), but that's exactly what it's named there:

http://img716.imageshack.us/img716/7857/synapticdependants.th.png (http://img716.imageshack.us/i/synapticdependants.png/)

dibl
Oct 14th 2010, 02:16 PM
Linux is full of, shall we say "non-standard", word usages. My favorite is "deprecated" -- it actually means "spoken badly of", and has nothing to do with the state of obsolescence of anything.

So, if a relationship of "dependency" allegedly exists, then I'm ok with calling one of them a "dependent" here in the U.S., but I guess if there's money involved, then the British must call it a "dependant", or so says MSN (http://encarta.msn.com/dictionary_1861603806/dependant.html).

;D

doctordruidphd
Oct 14th 2010, 02:24 PM
Suggestion:

Try the following command and post the output. The command is harmless, as it is only a simulation, but it will tell you exactly what is going to happen if you run it for real. It should give a list of exactly what will be installed, and what will be removed.

sudo apt-get install --simulate gimp-gutenprint

GreyGeek
Oct 14th 2010, 04:24 PM
Guess I'm a dummy - I don't see "Dependants" anywhere except for my kids when they ask for money. I do see "Dependencies" in several locations however. Hey, I'm not even afraid to click on a drop-down menu and still, no Dependants... hmmm... maybe there's a wiki page for Synaptic Menus for Dummies because clearly, some of us need one.


Don't talk to me, I didn't come up with "Dependants" (with "a", not "e"), but that's exactly what it's named there:

http://img716.imageshack.us/img716/7857/synapticdependants.th.png (http://img716.imageshack.us/i/synapticdependants.png/)



Interesting ... "Dependencies" on the tab, "Dependents" on the combo box.

NoWorries
Oct 18th 2010, 10:57 AM
(Note that I can't guarantee that this will make your gimp printing work as you desire ... ).


Thanks for the assurance that nothing would go amiss, I did remove foomatic-db but it made no difference to my inability to print pictures with gimp. Gutenprint will print images onto A4 paper but I cannot select the photo tray with this option.

I sometimes think that I am the only one with this problem. I also installed Kubuntu 10.10 into the Windows partition on my laptop. This has 64B processors and it is giving the same result, ie cannot print pictures to my HP Photosmart C7280 Printer using the HP driver.

I am starting to wonder if errors have been made in porting packages to 10.10. It is some time since I have been involved in compiling software, but I do recall the warning messages that often occur. I am wondering if by neglecting some warnings, such problems can occur. I have also had trouble getting Googleearth to work and noticed numerous warning type messages during the "make". The only way I could get Googleearth to work was to cancel the tips window on startup and then stop it from ever being started in the Googleearth Tools > Options > General.

I look forward to the time when I get an update that fixes this problem.

oshunluvr
Oct 18th 2010, 02:36 PM
I have the exact printer and no issues - but it's on a server hooked via usb but I'm using cups to print. I didn't see that you replied as to whether or not you're using cups.

So in my setup - the server has the printer drivers (using only cups) and gimp is printing from my desktop.

The only gutenprint packages installed on my server are libgutenprint2 and cups-driver-gutenprint, the hp packages are hpijs, hplip, hplip-data. I setup the printer via cups using Photosmart_c7200.ppd and Photosmart_c7200_fax.ppd

I wish I could be of more help.

NoWorries
Oct 19th 2010, 01:54 AM
I have the exact printer and no issues - but it's on a server hooked via usb but I'm using cups to print. I didn't see that you replied as to whether or not you're using cups.

So in my setup - the server has the printer drivers (using only cups) and gimp is printing from my desktop.

The only gutenprint packages installed on my server are libgutenprint2 and cups-driver-gutenprint, the hp packages are hpijs, hplip, hplip-data. I setup the printer via cups using Photosmart_c7200.ppd and Photosmart_c7200_fax.ppd

I wish I could be of more help.


I appreciate the help you are giving. The difference between your system and mine is that I have the printer connected via Ethernet to a Netgear wireless router. I setup the printer using the HPLIP Toolbox which locates the printer connected to the router. So it seems as though it is the HP printer driver that interfaces between applications and the printer. This works fine for OpenOffice but not for gimp!

I do have cups installed but I could not find a way for the HP Device Manager to use cups. I have attached the cups packages that I have installed.

oshunluvr
Oct 19th 2010, 12:26 PM
Cups doesn't need the HP device manager - which could be your problem. Try this:

1. Look and see if you have the ppd's I listed. If no; download them. Note the location of the ppd's
2. Open a terminal and type hp-makeuri <PRINTER IP ADDRESS>. Note results.
3. Open a browser and type localhost:631 in the url bar. You should immediately get the cups interface. If no; start cups service and try again.
4. Click the "Administration" tab and "Add Printers". It will search a bit - possibly locating your printer. If not; select the option that mirrors the URI from step 2 and enter the URI, it should ask you to enter the path to the ppd file and some other options (it's been awhile since I've done this). Answer them and attempt a test page.

If all seems to be in order, try gimp again.

GreyGeek
Oct 19th 2010, 09:37 PM
.....
I appreciate the help you are giving. The difference between your system and mine is that I have the printer connected via Ethernet to a Netgear wireless router. I setup the printer using the HPLIP Toolbox which locates the printer connected to the router. So it seems as though it is the HP printer driver that interfaces between applications and the printer. This works fine for OpenOffice but not for gimp!

I do have cups installed but I could not find a way for the HP Device Manager to use cups. I have attached the cups packages that I have installed.


I have my Samsung ML-1210 laser printer connected ad-hoc to a linksys wireless print server with a USB cable. The wireless print server is connected to my wireless router via a short ethernet cable. I have set the wireless print server to serve a static IP address of 192.168.1.99 to the Samsung printer. My wireless router dispenses IP addresses starting with 192.168.1.100 so regardless of what order anyone connect to it there will never be IP address conflict with any PC printer settings.

Prior to setting it up that why I had the printer connected to the wireless and I would always turn it on first to be sure that it got the *.100 IP address and would configure the laptops to connect with the printer at *.100. But, as you might guess, that didn't always work because sometimes I or my wife would forget to turn on the printer first and then we couldn't print without running through a print re-configuration again. Now, the cable modem, the wireless router, the wireless print server and the laser printer are on the same power strip and I plug it in and turn the switch on the strip to turn everything on. The printer always connects and never fails to print from ANY application.

Here are my settings;


Description: Laser printer in living room
Location: sonyvgnfw140e
Driver: Samsung ML-1210 Foomatic/gdi (recommended) (grayscale)
Connection: socket://192.168.1.99:9100
...

The HP printer manager can use socket settings to connect to a wireless printer as well.

NoWorries
Oct 20th 2010, 02:43 AM
I can assure you that my printer has a static IP address, which in my case is 192.168.10.7. All computers connected to the router use either a static IP or the IP address set in the router. So there is no IP address conflict. The HP printer has a setup mode where the IP address can be defined for both the wired and wireless connections. When I setup the HP device manager I used the wired connection to the printer which the HP device manager found.

I had mentioned that gimp was the only package that could not print to the HP printer. The packages that I have tried are OpenOffice, Adobe Reader, Thunderbird and Kate. To me it seems as though there is something amiss in gimp print.

GreyGeek
Oct 20th 2010, 09:27 PM
Like the others, I have no problems printing from GIMP. I've attached a list of the packages related to gimp that I have installed for comparison with what you have installed.

doctordruidphd
Oct 21st 2010, 01:32 AM
For what it's worth, no way can I get gimp to print from it's own print option -- all I get out of it is blank pages. I have to use gutenprint, which fortunately does work here. Everything else seems to print fine -- firefox, thunderbird, ooo, even photoprint. Not sure why it's so fussy.

NoWorries
Oct 21st 2010, 09:56 AM
For a while I thought that I was the only one having trouble with gimp. Thank you for letting me know that you are having the exact same problem that I have ;D.



For what it's worth, no way can I get gimp to print from it's own print option -- all I get out of it is blank pages. I have to use gutenprint, which fortunately does work here. Everything else seems to print fine -- firefox, thunderbird, ooo, even photoprint. Not sure why it's so fussy.


For my printer, gutenprint does not have my printer listed. Even when I have installed the packages listed by GreyGeek.



Like the others, I have no problems printing from GIMP. I've attached a list of the packages related to gimp that I have installed for comparison with what you have installed.


The only way that I can get a photo printed on paper in the photo tray is to copy the image into openoffice after setting the page size to that of the paper in the photo tray. This is not what I call a suitable solution.

I really think that those who did the packaging of gimp for kubuntu should take a close look at what has been done especially for any errors.

GreyGeek
Oct 21st 2010, 11:51 AM
Since most people report that they can print from GIMP it would be difficult to determine what your problem is Without YOUR specific hardware and setup. Perhaps someone could connect remotely to your PC and check it out.

doctordruidphd
Oct 21st 2010, 02:15 PM
For my printer, gutenprint does not have my printer listed. Even when I have installed the packages listed by GreyGeek.

Gutenprint did not see my printer, either, I had to set it up.

You need to have an image open in gimp.
Select Print with gutenprint, then New Printer. Give it a name, then choose Setup Printer.
You need to give it the ppd file used for your printer, probably located somewhere in /usr/share/ppd. Which means, of course, you will need a ppd file for your printer. I assume you have one, since the other applications are printing. I did notice that under Printer Make, there are several samsung printers listed, maybe yours is there?

Then you will need to select a printer queue. This should be the one you set up with cups. I chose the "Standard Command" option.

I had to mess around with settings on gutenprint for a while to get it right, but at this point it does work.



Since most people report that they can print from GIMP it would be difficult to determine what your problem is Without YOUR specific hardware and setup.

HP Photosmart D7260, hplip and cups set up and working.
Gimp sees the printer. I go to Page Setup, select the printer and paper size, hit OK. It is not remembering that setting; if I go back to that item, the Any Printer and Letter size reappear -- for some reason, it is not remembering that setting, which I think is at the bottom of the problem. After that, I go to Print, set everything up, try preview, and get a blank page. If I print, I do indeed get a blank page. For some reason, it just refuses to take the settings I give it, they just disappear.

NoWorries
Oct 22nd 2010, 05:11 AM
Thanks so much for your help. At last it is all now working great ;D.

I found the ppd file for my printer in /etc/cups/ppd/. After setting up the printer with gutenprint, I saved the settings and it remembers them when I bring up other pictures.

I was hoping that this version of kubuntu would be close to a user friendly desktop. Unfortunately with all the basic problems that I have been encountering, it is not there yet. It is a bit of a pity that I cannot honestly recommend kubuntu to my non-computer-literate friends.

GreyGeek
Oct 22nd 2010, 05:35 AM
....
I was hoping that this version of kubuntu would be close to a user friendly desktop. Unfortunately with all the basic problems that I have been encountering, it is not there yet. It is a bit of a pity that I cannot honestly recommend kubuntu to my non-computer-literate friends.


You also cannot honestly say that they wouldn't have an "everything works out of the box" experience either, which would more likely be the case since most folks have exactly that kind of experience. Your exception doesn't make the rule. And, unlike proprietary OS's, it doesn't cost your "non-computer-literate friends" anything to try it as a LiveCD. More than likely they won't run into the printing problem you experienced.

doctordruidphd
Oct 28th 2010, 01:05 AM
Gimp 2.6.10 evidently has a bug in printing. It got so bad that, even following my own instructions, I could not print, even with gutneprint.
I downloaded 2.6.11 from getdeb -- why it is not in the ubuntu repositories, not even beta or experimental, I cannot imagine. Prints fine now, both from its own print function, and from gutenprint.

GreyGeek
Oct 29th 2010, 12:19 AM
mmm... my problem free gimp is at 2.6.8.

NoWorries
Nov 2nd 2010, 02:11 AM
Gimp 2.6.10 evidently has a bug in printing. It got so bad that, even following my own instructions, I could not print, even with gutneprint.
I downloaded 2.6.11 from getdeb -- why it is not in the ubuntu repositories, not even beta or experimental, I cannot imagine. Prints fine now, both from its own print function, and from gutenprint.


Thanks for the advice - works great ;D. I got the ppa for installing gimp 2.6.11 at http://www.webupd8.org/2010/10/install-gimp-2611-stable-in-ubuntu-ppa.html