Bug 7408

Summary: thinlocal only prints black and white with wine
Product: ThinLinc Reporter: Pierre Ossman <ossman>
Component: PrintingAssignee: Niko Lehto <nikle>
Status: CLOSED FIXED    
Severity: Normal CC: nikle
Priority: P2 Keywords: ossman_tester, relnotes
Version: trunk   
Target Milestone: 4.11.0   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:

Description Pierre Ossman cendio 2019-10-23 15:04:07 CEST
It's currently not possible to print color prints with thinlocal using Wine. Everything else seems to work fine though.

It turns out that Wine is the only thing that respects these lines in our PPD:

> *ColorDevice:   False
> *DefaultColorSpace: Gray

Changing them makes color printing work just fine from wine:

> *ColorDevice:   True
> *DefaultColorSpace: RGB

We can also see the CUPS web interface change from reporting the printer being grayscale to color.

The same issue likely exists with nearest.
Comment 3 Niko Lehto cendio 2019-11-18 12:57:03 CET
Tested on RHEL7 server with Fedora 30 client:
* Printed from IE running on Wine to nearest printer, works after fix.
* Printed from IE running on Wine to thinlocal, works after fix.

Verified that our change didn't break anything on RHEL6 (server) and Ubuntu 18 (client/server):
* Printing from Firefox.
* Printing an local image via an image viewer.
* Printing from default texteditor.
Comment 4 Niko Lehto cendio 2019-11-20 13:40:56 CET
(In reply to comment #3)

> Verified that our change didn't break anything on RHEL6 (server) and Ubuntu 18
> (client/server):
> * Printing from Firefox.
> * Printing an local image via an image viewer.
> * Printing from default texteditor.

To clarify, this verification was done with thinlocal and nearest on RHEL6 but only with thinlocal on Ubuntu 18 (client/server).
Comment 6 Pierre Ossman cendio 2019-11-25 13:47:53 CET
Works well. Tested on RHEL 8.

Got black and white with 4.10.1, but color now. Tested both thinlocal and nearest using iexplore.exe.

Also tested both in Firefox, but did not see any changes as color always worked there.