After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301779 - [Win32] Printing mirror text
[Win32] Printing mirror text
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Printing
1.4.x
Other Windows
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 314059 319227 332837 401138 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-24 10:08 UTC by CARUANA
Modified: 2007-04-24 22:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
printtest.gnumeric (1.54 KB, application/octet-stream)
2005-10-25 13:56 UTC, j.gnome
Details
Criticals (1.91 KB, text/plain)
2006-11-01 17:13 UTC, Jon Kåre Hellan
Details

Description CARUANA 2005-04-24 10:08:43 UTC
Can see the right preview of the spreadsheet, but, when I try to print it, I 
have a kind of "mirror text" that can't be read, and I can see this message : 
invalid UFT-8
Use windows XP
Comment 1 Kjartan Maraas 2005-04-24 14:58:36 UTC
Please do not set the bug status to NEEDINFO. This is meant as a tool for the
maintainer to request information from the reporter, aka you :-)
Comment 2 dave rideout 2005-04-30 18:52:15 UTC
ditto mirror text that can't be read however i don't receive other messages.
Comment 3 Ivan Wong 2005-05-24 06:50:09 UTC
What's the paper size and orientation?
Comment 4 CARUANA 2005-05-24 18:20:26 UTC
A4 Portrait
Comment 5 Jody Goldberg 2005-06-26 03:47:37 UTC
ivan : any luck reproducing this ?
Comment 6 Ivan Wong 2005-06-27 14:22:42 UTC
jody: not yet. I am so dissatisfied that I can reproduce the problem on all of 
my printers. I suspect we have to find a PS/PDF virtual printer so that all of 
us are able to replicate this bug.
Comment 7 Jody Goldberg 2005-08-24 14:53:00 UTC
Caruana : any changes with 1.5.3 ?
Comment 8 Dominic Lachowicz 2005-09-05 03:24:21 UTC
no changes with 1.5.5. the text is still "mirrored".
Comment 9 Jan Hlavacek 2005-10-20 18:51:53 UTC
I have had the same problem for a while now, and it is still there with 1.6RC1
It looks like the text in each individual cell is rotated 180 degrees. I only
see what would be the bottom part of the string, from little bit above baseline
down, but turned upside down and running from right to left (that is, rotated
180 degrees). It happens with all fonts I tried. Wow, I just found that it seems
to depend on the printer: it happens on my HP Deskjet, but not on HP Laserjet!
Neither it happens when I print to PDF.   That may be why people have trouble
duplicating it.  The offending printer is HP Deskjet 6122. 
Comment 10 Ivan Wong 2005-10-23 18:02:23 UTC
Please test with the following version of libgnomeprint:

http://www.ivanwong.info/gnumeric/libgnomeprint.zip

And please paste here all "GnomePrint-DEBUG" messages.
Comment 11 j.gnome 2005-10-25 13:34:59 UTC
I can reproduce. My printer is an ancient Brother HL-1040 laser printer.

I unzipped on top of 1.6.0-rc1. I'm pasting all console messages here, this is 
what I did:

1. Open a new gnumeric
2. type "test" in A1 (enter)
3. File/Print

(gnumeric.exe:2620): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnumeric.exe:2620): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed

4. Press Print button

(gnumeric.exe:2620): GnomePrint-DEBUG: Old graphic mode is 1
(gnumeric.exe:2620): GnomePrint-DEBUG: Old map mode is 1
(gnumeric.exe:2620): GnomePrint-DEBUG: GetWindowExtEx() returned cx 11184 cy 161
14
(gnumeric.exe:2620): GnomePrint-DEBUG: GetWindowOrgEx() returned 0 0
(gnumeric.exe:2620): GnomePrint-DEBUG: GetWorldTransform returned [1,000000 0,00
0000 0,000000 1,000000 0,000000 0,000000]

(gnumeric.exe:2620): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnumeric.exe:2620): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: asse
rtion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gnumeric.exe:2620): GnomePrint-CRITICAL **: file C:\gtksrc\libgnomeprint\libgno
meprint\gnome-print-config.c: line 214: assertion `GNOME_IS_PRINT_CONFIG (config
)' failed
Comment 12 j.gnome 2005-10-25 13:56:26 UTC
Created attachment 53876 [details]
printtest.gnumeric

This .gnumeric file has 3 lines of text in A1:
ppbbb
ddqqq
test

It prints as:
bbppp
qqddd
(weird mirrored "test")

Page size is A4 portrait. I'm using Windows XP. 

So my text is not rotated 180 degrees, but each character is mirrored
individually (x-axis), for example d becomes q and b becomes p.
Comment 13 Robert Brennan 2005-11-27 02:41:37 UTC
I have a HP Laserjet 2100 and get the mirrored text problem (letter size 
paper). I can select pdfFactory as the printer and from there it will print. 
The problem is in 1.6.1rc-1 also.
Comment 14 Julian 2006-02-21 14:06:26 UTC
I have a HP laserjet 4 plus and a HP color laserjet 3500 and both have the same problem when using 1.6.1 Windows port.
Comment 15 Julian 2006-08-24 16:26:40 UTC
Is there anything we acn still do to fix this? Not being able to print (on the Windows version) is quite a major issue. We only have HP printers here and both the Laserjets, 3500 A4 Colour, 4Plus B&W have the same problem as above.
Comment 16 Andreas J. Guelzow 2006-08-25 19:29:57 UTC
Julian you should be able to print by first creating a pdf file.  Since we will be dropping libgnomeprint for printing I doubt that anybody will put to much time into chasing a bug they can't duplicate. 
Comment 17 Paulo Martel 2006-08-31 01:54:21 UTC
Hi, 

I am using an Epson DX4800 printer with Gnumeric 1.7.0 
and I get the same error (rotated text with individual 
chars mirrored).
The proposed solution of printing to PDF is temporary or
permanent one ?...
(It would be nice to able to print directly to the printer
without the need for a PDF intermediate).

Tx, 
Paulo


Comment 18 Andreas J. Guelzow 2006-08-31 02:09:19 UTC
well temporary. Until somebody willing and able to debug can get hold of a printer that exhibits your problem.
Comment 19 Paulo Martel 2006-08-31 02:27:14 UTC
Andrea,

thanks for your reply. But reading this thread it seems as though this 
problem is not specific to my type of printer brand and model.

Comment 20 Andreas J. Guelzow 2006-08-31 04:35:46 UTC
We have lots of users print successfully, including all the developers. It is tricky chasing down a problem one can't replicate.

As we move from libgnomeprint, the problem should disappear.
Comment 21 Ivan Wong 2006-09-07 17:48:53 UTC
*** Bug 332837 has been marked as a duplicate of this bug. ***
Comment 22 Ivan Wong 2006-09-07 17:50:26 UTC
*** Bug 319227 has been marked as a duplicate of this bug. ***
Comment 23 Ivan Wong 2006-09-07 18:07:05 UTC
*** Bug 314059 has been marked as a duplicate of this bug. ***
Comment 24 Jon Kåre Hellan 2006-10-18 21:09:51 UTC
I can reproduce this - when I can chase the kids away from the gameing computer. Too bad I haven't got a Windows development environment.
Comment 25 Jon Kåre Hellan 2006-11-01 17:13:19 UTC
Created attachment 75782 [details]
Criticals

These are the criticals I get when printing. The result is mirrored. Most criticals seem to concern a printer whose description string includes the 'å' character. That printer doesn't show up in the dialog. There are also a few which seem to concern actual printing
Comment 26 Morten Welinder 2006-11-02 14:10:13 UTC
Judging from those error messages, your printer's name is seen in 8859
encoding and never translated into UTF-8.
Comment 27 Jon Kåre Hellan 2006-11-02 16:14:59 UTC
Indeed. See bug 369413 (partly fixed).
Comment 28 Andreas J. Guelzow 2007-01-27 16:37:43 UTC
*** Bug 401138 has been marked as a duplicate of this bug. ***
Comment 29 Andreas J. Guelzow 2007-04-24 22:17:47 UTC
Since we have jumped from gnomeprint to gtkprint this may now be fixed. Please give 1.7.9 or later a try and open a new bug if the problem resurfaces.