LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gutenprint/Ubuntu from the GIMP won't print to hp f4185 (https://www.linuxquestions.org/questions/linux-software-2/gutenprint-ubuntu-from-the-gimp-wont-print-to-hp-f4185-628562/)

Simon Bridge 03-17-2008 12:48 AM

Gutenprint/Ubuntu from the GIMP won't print to hp f4185
 
Attempting to print directly from the GIMP print dialog.
I can find the printer queue - but not my printer name (deskjet f4100 series). When I hit "print", it looks like it's sending a job out but nothing appears in the queue. Nothing happens. No error messages.

CUPS uses the printer just fine... now I'm pretty puzzled.

An alternative would be to find the commandline string. More generally: how is this dialog intended to be used?

I have messages like the following at the end of my syslog:
Code:

[2819023.801620] audit(1205733513.094:67):  type=1503 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=30176 profile="/usr/sbin/cupsd"
Some sort of security thing?

The command:
$ lpr -P 'Deskjet_F4100_series' foo.png
... prints OK, but doesn't have any effect as a custom command from GIMP.

The GIMP default command is:
$ lp -s -d 'Deskjet_F4100_series' -oraw foo.png
... this does nothing on cli either.

Leaving off the -oraw in cli works ... reading the man page, the option should be

-o raw

which doesn't print in cli. I'm guessing that "raw" is some internal macro in GIMP since -o options handle printer/page options.

Neither of these works in the custom command in the GIMP.

This leaves the possibility I need to add my printer to the gimp...

Disabling apparmor stopped that error message, but did nothing else.

aus9 03-31-2008 01:11 AM

I don't know either.

why can't you just save the file and print it from another app?

I guess your Gnome manager should work....and most image viewers have a print option

Simon Bridge 03-31-2008 06:26 AM

(patience) Yes. That. Is. What. I. Do.

However - I have to teach basic gnu/linux skills to a skeptical bunch of Vista thralls... and here is a major application, widely touted as a free replacement for photoshop, missing print capability.

See the point?

This is not about printing images. It is about enabling this functionality in the GIMP.
I'm hunting through the bug lists for information... I mean: OK, my printer is not in the list of drivers... but why isn't GIMP just sending a print job to CUPS?

Simon Bridge 03-31-2008 06:37 AM

Found this.
Quote:

GIMP is an exception under the application programs. It's printing facility is directly linked to the Gutenprint driver library and therefore you have to configure it for your printer. If your printer is in the list of printer models listed in GIMP's printing dialog, it is explicitly supported by Gutenprint. Choose the model entry and leave the "-oraw" in the printing command. Then the GIMP dialog does all job processing and not the printing system. This gives you many more possibilities to adjust the appearance of the output. If your printer is not listed, choose "PostScript Level 2" and remove the "-oraw" from the printing command. Then GIMP behaves as the other applications. It sends PostScript to the printing system and the printing system takes care to convert the data into the printer's native language.
I had to wade through a lot of stuff to find this. Finally I chose to submit a bug to launchpad, only to have launchpad point me to it. <sigh>

"PostScript Level 2" option is under "Adobe" in the printer setup dialog.


All times are GMT -5. The time now is 06:16 PM.