Bug 709689 - Mismatch of colors during Libreoffice printing
Summary: Mismatch of colors during Libreoffice printing
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-01 12:16 UTC by antonio montagnani
Modified: 2011-12-05 16:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-05 14:39:27 UTC
Type: ---


Attachments (Terms of Use)
test file for color printing (97.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-06-01 12:16 UTC, antonio montagnani
no flags Details
test from evince (179.36 KB, application/pdf)
2011-10-21 11:55 UTC, antonio montagnani
no flags Details
ppd file for NRG-3300 (72.40 KB, application/vnd.cups-ppd)
2011-10-21 14:09 UTC, antonio montagnani
no flags Details
test.pxl (414.99 KB, application/octet-stream)
2011-10-21 16:25 UTC, Tim Waugh
no flags Details
As output from the printer (1.99 MB, application/pdf)
2011-11-02 15:32 UTC, antonio montagnani
no flags Details
Colur switched from red to blue (97.38 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-11-07 09:11 UTC, antonio montagnani
no flags Details
Another example (150.92 KB, application/postscript)
2011-12-05 10:30 UTC, antonio montagnani
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 39355 0 None None None Never

Description antonio montagnani 2011-06-01 12:16:45 UTC
Created attachment 502237 [details]
test file for color printing

Description of problem:
mismatch during printing of colors

Version-Release number of selected component (if applicable):
libreoffice-calc-3.3.2.2-7.fc15.i686

How reproducible:
always

Steps to Reproduce:
1.print a file
2.
3.
  
Actual results:
the test marked in red is printed in black

Expected results:
it should be printed in red

Additional info:

using a network printer NRG-300, it was printed fine in Openoffice Fedora 14

Comment 1 Caolan McNamara 2011-10-20 12:05:07 UTC
definitely 32bit, right ?

Comment 2 antonio montagnani 2011-10-20 12:13:42 UTC
yes...32bit.

Comment 3 antonio montagnani 2011-10-20 12:17:28 UTC
I have another comment, but I don't know if it is connected...

When I print a document from Openoffice and I want multiple copies of a multi-page document and I want the order of pages 1-2-3, 1-2-3, I get instead 1-1,2-2,3-3 (I don't know the name of such option in English as I am using Italian)

Shall I open a separate bug??

Comment 4 Caolan McNamara 2011-10-21 11:38:18 UTC
This is logged against Fedora 15, the up to date version of LibreOffice for Fedora 15 is libreoffice-3.3.3.1-7.fc15.

I loaded your document there and printed it and I get red text on my printout, not blue.

So...

a) can you check if its still blue in an up-to-date version (yum update, or use the update software menus)
b) use print, then options and check "print to file" on and open the print output in evince and 
b.1) see if its red there
b.2) and see if it prints correctly or incorrectly when the print output is then printed from inside evince.

i.e. lets rule in or out that LibreOffice is generating the correct output and if its a problem with generic printing.

Comment 5 antonio montagnani 2011-10-21 11:55:54 UTC
Created attachment 529496 [details]
test from evince

I followed your instructions: PDF file is correct but when I print from it I get same results, i.e the red comments are printed in black also from evince.
I think that bug is not in openoffice!!!

My system is fully updated (daily updates are running)

Comment 6 Caolan McNamara 2011-10-21 12:10:09 UTC
Great, for me at least :-).

So, http://fedoraproject.org/wiki/How_to_debug_printing_problems especially http://fedoraproject.org/wiki/How_to_debug_printing_problems#What_make_and_model_is_my_printer.3F and fill in your printer model and printer driver following that faq

Comment 7 antonio montagnani 2011-10-21 12:27:27 UTC
 Funny as when I print on my network printer (ethernet connected) I see NRG-MP-C3300 model, that is connected to port 10.0.0.60....


su -c "lpinfo -l -v"
Password: 
Dispositivo: uri = lpdconnected 
        classe = network
        info = Host o stampante LPD/LPR
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = socket
        classe = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = smb
        classe = network
        info = Windows Printer via SAMBA
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = https
        classe = network
        info = IPP (Internet Printing Protocol) (https)
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = ipp
        classe = network
        info = IPP (Internet Printing Protocol) (ipp)
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = beh
        classe = network
        info = Backend Error Handler
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = http
        classe = network
        info = IPP (Internet Printing Protocol) (http)
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = scsi
        classe = direct
        info = Stampante SCSI
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = hp
        classe = direct
        info = HP Printer (HPLIP)
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = hpfax
        classe = direct
        info = HP Fax (HPLIP)
        make-and-model = Unknown
        device-id = 
        posizione = 
Dispositivo: uri = dnssd://HP%20Designjet%20T770%20%5B1438BA%5D._printer._tcp.local/
        classe = network
        info = HP Designjet T770 [1438BA]
        make-and-model = Hewlett-Packard HP Designjet T770
        device-id = MFG:Hewlett-Packard;MDL:HP Designjet T770;FZY:0;
        posizione = 
Dispositivo: uri = dnssd://HP%20Designjet%20T770%20%5B1438BA%5D._pdl-datastream._tcp.local/
        classe = network
        info = HP Designjet T770 [1438BA]
        make-and-model = Hewlett-Packard HP Designjet T770
        device-id = MFG:Hewlett-Packard;MDL:HP Designjet T770;FZY:0;
        posizione = 
Dispositivo: uri = dnssd://HP%20LaserJet%205100%20Series%20%5BCA8214%5D._printer._tcp.local/
        classe = network
        info = HP LaserJet 5100 Series [CA8214]
        make-and-model = HP HP LaserJet 5100 Series
        device-id = MFG:HP;MDL:LaserJet 5100 Series;FZY:1;
        posizione = 
Dispositivo: uri = dnssd://HP%20LaserJet%205100%20Series%20%5BCA8214%5D._pdl-datastream._tcp.local/
        classe = network
        info = HP LaserJet 5100 Series [CA8214]
        make-and-model = HP HP LaserJet 5100 Series
        device-id = MFG:HP;MDL:LaserJet 5100 Series;FZY:1;
        posizione = 
Dispositivo: uri = dnssd://HP%20LaserJet%205100%20Series%20%5BCA8214%5D._ipp._tcp.local/
        classe = network
        info = HP LaserJet 5100 Series [CA8214]
        make-and-model = HP HP LaserJet 5100 Series
        device-id = MFG:HP;MDL:LaserJet 5100 Series;FZY:1;
        posizione = 
Dispositivo: uri = socket://10.0.0.100
        classe = network
        info = HP Designjet T770 (44'' sized)
        make-and-model = HP Designjet T770
        device-id = MFG:Hewlett-Packard;CMD:PJL,DW-PCL,HP-GL/2,RTL,ASCII;MDL:HP Designjet T770;CLS:PRINTER;DES:HP Designjet T770;SN:CN9BC2H02G;FW:TTAJ_02_00_00.6;BD:105,9100,161,80,8090,8086,8085;
        posizione = 
Dispositivo: uri = socket://10.0.0.101
        classe = network
        info = HP LaserJet 5100 Series
        make-and-model = HP LaserJet 5100 Series
        device-id = MFG:Hewlett-Packard;CMD:PJL,MLC,PCL,PCLXL,POSTSCRIPT;MDL:HP LaserJet 5100 Series;CLS:PRINTER;DES:Hewlett-Packard LaserJet 5100 Series
        posizione =

Comment 9 Tim Waugh 2011-10-21 13:58:59 UTC
Please attach the PPD for the queue, from the /etc/cups/ppd/ directory.

Also: are you able to print "test.pdf" to that same printer but with a different operating system?  i.e. can we rule out the problem being with the printer?

Comment 10 antonio montagnani 2011-10-21 14:09:25 UTC
Created attachment 529516 [details]
ppd file for NRG-3300

Same pdf file is printed fine in Windows.
Please note that any regular cell in Calc is printed fine also when coloured.

Comment 11 Tim Waugh 2011-10-21 14:26:56 UTC
What does this command say?:

/usr/lib/cups/backend/snmp 10.0.0.60

Also, could you please set up another queue using a different driver?  This time, try selecting "Generic" for the make, and "PCL Laser" as the model.  Does that queue give any better results?

Comment 12 antonio montagnani 2011-10-21 15:09:35 UTC
 /usr/lib/cups/backend/snmp 10.0.0.60
network socket://10.0.0.60 "NRG MP C3300" "NRG MP C3300" "MFG:NRG;CMD:PJL,RCS,PCL,PCLXL,PCL,PCLXL;MDL:MP C3300;STS:30414/30405/30412/30407/30462/10001,0;CLS:PRINTER;DES:NRG MP C3300;" ""

I will try to set another queue

Comment 13 antonio montagnani 2011-10-21 15:19:29 UTC
another queue has been set but with Generic for the make and PCL lase as the model, I do not see any option for colour

Comment 15 Tim Waugh 2011-10-21 16:21:58 UTC
Oh, is PCL Laser just black and white?  Sorry...

Comment 16 Tim Waugh 2011-10-21 16:25:46 UTC
Created attachment 529537 [details]
test.pxl

Please try printing this using:

lp -d NRG-MP-C3300 -o raw test.pxl

This file is the result of:

gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=pxlcolor -r600x600 -sPAPERSIZE=a4 -sOutputFile=test.pxl test.pdf

Comment 17 antonio montagnani 2011-10-24 07:01:15 UTC
no improvement.

What should be printed in red is still printed in black.

Comment 18 Tim Waugh 2011-11-02 12:14:06 UTC
Are the others colours correct?  The orange cell backgrounds, the blue text?  How about the red cell background on line 51, "hot water"?

Are you able to scan in the output you get and attach it?

Running the PXL output through GhostPDL's 'pcl6' interpreter gives me correct colours.

Comment 19 antonio montagnani 2011-11-02 15:32:17 UTC
Created attachment 531377 [details]
As output from the printer

sorry for the poor scanning, but you can see what I mean when I say that comment is mismatched. Other colours are fine

Comment 20 Tim Waugh 2011-11-02 16:42:19 UTC
Are you able to attach the original LibreOffice Calc document?

If not, could you please try changing the colour of that text from red to (say) brown, and printing that?  Does it have any effect?

Comment 21 antonio montagnani 2011-11-07 09:11:05 UTC
Created attachment 531994 [details]
Colur switched from red to blue

I changed colur from red to blue.
No way, still printed in black!!!

Comment 22 Tim Waugh 2011-11-28 11:00:28 UTC
Are there any available firmware updates for the printer?  There are other instances of printers using the wrong colours for PXL output caused by firmware issues, such as here:
  https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/505423

Comment 23 antonio montagnani 2011-12-05 10:30:21 UTC
Created attachment 540720 [details]
Another example

Now the word Bozza that you see in blue is printed in black but the letter B is printed in blue.

I have no option to update the firmware, the printer is a company's printer

Comment 24 Stijn Hoop 2011-12-05 13:55:49 UTC
I printed the test.pxl on our HP Color LaserJet 4600 as per comment 16 and the rotated text came out red. Hope this helps.

Comment 25 Tim Waugh 2011-12-05 14:39:27 UTC
Stijn: thanks very much!  That confirms that the driver is working correctly.

Antonio: I'm afraid this means the problem is with your printer, and is most likely a firmware issue.

Comment 26 M. A. MacLain 2011-12-05 16:06:15 UTC
Printed correctly with HP 2000C


Note You need to log in before you can comment on or make changes to this bug.