PDA

View Full Version : Gedit Printing Broken


patrick
12-18-2006, 10:40 AM
When working from an <old> Libranet 2.8.1 install Gedit crashes when I try to print or print-preview. No error messages are apparent, and none show up in tail -f /var/log/messages.

Running the application remotely (ssh -X) from a <fresh> 2.8.1 install produces the same behavior with this error message:
=====
(gedit:7659): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: ISOLatin1, trying CSISOLatin1

** (gedit:7659): WARNING **: Could not find child for option "PhysicalSize" with id "Letter"

** (gedit:7659): WARNING **: Could not set value of "PhysicalSize" to "Letter"
gedit: relocation error: /usr/lib/libgnomeprintui-2-2.so.0: undefined symbol: gnome_print_transport_exists_by_name
=====
Running Gedit from the <fresh> 2.8.1 install produces no errors. I admit my troubleshooting is rusty, but does this look like a Gedit problem, a CUPS problem or something else?

I've been mucking with CUPS recently trying to get the current hplip installed on the <old> 2.8.1 and probably goofed something up, but printing works there from Mozilla and OpenOffice thru gtklp.

Thanks.

castaway
12-21-2006, 02:07 AM
It's been a log time since I used Libranet 2.81. When I did, I found it quite difficult to print directly from gedit. So I gave up printing from inside gedit.

Instead I saved each gedit project as a simple text file. Then I printed it with a2ps from the terminal prompt -- two text pages per sheet, the a2ps default.

Since, after reading Leon's work with WordPerfect 8, I had set my printer up as "lp" under CUPS, I only had to type, as I remember, "a2ps my-file.txt" at the terminal prompt. Be sure to install the CUPS-BSD module to make this work.

You are a step ahead of me. I had not heard of gtklp back then!