Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 3 Jahren, 11 Monaten
Letzter Beitrag:
vor 3 Jahren, 11 Monaten
Beteiligte Autoren:
Joris, Fabrice Harari, Bart VDE

[WD19] Print preview

Startbeitrag von Joris am 31.07.2014 09:12

Hi,

We have a strange issue with one of our customers since we moved our project to WD19.
They have a color printer (Ricoh) that is configured to print in black and white (=settings in printer driver).
When a document is printed from our application :
- without a preview it is printed in B/W (as it should):spos:
- with a preview, the print is in color :sneg:
- with a preview, and clicking the B/W button in the upper right corner of the toolbar of the print preview window, the print is in B/W:spos:

It seems only to happen with this printer. I did the same tests with my printer (Brother) and I they were correct.

Apart from buying a new printer or disabling the preview or clicking the B/W button, are there any suggestions?

Thank you for helping,
Joris.

Antworten:

Hi Joris,

Maybe you could try with forcing printing in B/W to see if that makes any change:

iParameter(iPrinterDefault, False)
iParameter(iColor, iColor_Mono)

Regards,
Bart

von Bart VDE - am 31.07.2014 10:07
Hi Joris

you are not the only one, as there are several thread on the french forum about this problem.

It seems that PCSoft has been unable to reproduce the problem, so it is up to you to work around.

From what I remember, Bart suggestion is the way to go, but it looks like it depends on WHERE you are putting this code for it to work.

So, you can try it BEFORE running the report, or INSIDE the preview window, by replacing the print button by your own, doing your code, then running the real print button...

Best regards

von Fabrice Harari - am 31.07.2014 11:54
Thank you Bart and Fabrice!
I'll try your solutions in the print preview window.

Kind regards,
Joris.

von Joris - am 31.07.2014 13:09
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.