Issue with System Print Dialog values and Chrome
Reported by
eland...@appirio.com,
Jan 25 2018
|
|||||||
Issue descriptionVersion of Google Chrome (Wrench-> About Google Chrome): 63.0.3239.132 (Official Build) (64-bit) (cohort: Stable) Version of MSI (if applicable): NA Using group policy settings? Yes/No YES Issue: A client has disabled Print Preview in Google Chrome using the GPO policy settings to force the System Print Dialog box. This works, but what doesn't work is when a user changes the "color print" to "black and white" print settings in the system dialog box. The file is still printed as color or saved as a PDF using Microsoft PDF maker in color. This is not an issue on Firefox or IE using the same System Print Dialog box. Additionally if Adobe PDF maker is selected the PDF dialog opens in Adobe and starts to work, but never creates the PDF. This is not an issue on Firefox or IE using the same System Print Dialog box. Please assist.
,
Jan 26 2018
Assigning to Lei as a printing issue.
,
Jan 29 2018
,
Jan 31 2018
Able to reproduce this issue on Windows 10 with #63.0.3239.132 and also in earlier version #60.0.3112.0. This is a non-regression issue, marking it as untriaged Attaching the screen-cast for reference. Note: unable to test this issue on Mac & linux due to the lack of GPO policy setup.
,
Feb 15 2018
Any update since? Does it mean there no solution ? How can we handle it ?
,
Apr 5 2018
No updates, but this is definitely reproducible, so we'll try to fix it.
,
Apr 5 2018
I think this broke with r468370. A temporary workaround would be to flip "Disable PostScript Printing" to "Enabled" in chrome://flags. Can you try that and see if setting the flag fixes your problem?
,
Apr 5 2018
If you have this problem, it will be helpful to know what printer plus driver combination is affected. At least on my Windows 10 computer, the "Microsoft Print to PDF" virtual printer does not have a color setting at all. I'm not sure which "Microsoft PDF maker" the original bug reporter was referred to. Also, the original bug reporter mentioned a problem with "Adobe PDF maker" - please file a separate bug report for that and mention the exact name and version of the Adobe virtual printer.
,
Apr 5 2018
Based on comment 4, I can reproduce the problem with the CutePDF virtual printer, which is PostScript-based. I also tried a HP LaserJet 2500 PS, and for the HP printer, the output differs when the color/monochrome setting gets toggled. My guess is CutePDF expects the input to be in monochrome already, whereas other drivers may be smart enough to change that themselves. Maybe Chromium has to render to grayscale as well, and not rely on the printer driver to do it.
,
Apr 12 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5c500489a0675663b2163bdbf3ba94f49b4771de commit 5c500489a0675663b2163bdbf3ba94f49b4771de Author: Lei Zhang <thestig@chromium.org> Date: Thu Apr 12 07:34:16 2018 Add a use_color field to PdfRenderSettings. Set it properly in callers that require PDF rendering, and read it in PDFiumEngine to pass the right rendering flags to PDFium. BUG= 805926 , 824643 Change-Id: Ia2e8a22259bef1ca78fe425592eeb407bbc4ba35 Reviewed-on: https://chromium-review.googlesource.com/1000555 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Reviewed-by: Jianzhou Feng <jzfeng@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#550078} [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/cloud_print/privet_http_impl.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/pdf_to_emf_converter_browsertest.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/print_job.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/pwg_raster_converter.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/pwg_raster_converter.h [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/printing/pwg_raster_converter_browsertest.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/service/cloud_print/print_system_win.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/services/printing/pdf_to_emf_converter.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/services/printing/pdf_to_pwg_raster_converter.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/services/printing/public/mojom/pdf_render_settings.mojom [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/services/printing/public/mojom/pdf_render_settings_mojom_traits.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/services/printing/public/mojom/pdf_render_settings_mojom_traits.h [add] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/chrome/test/data/printing/bug_767343_mono.emf [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/headless/lib/headless_web_contents_browsertest.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/pdf/pdf.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/pdf/pdf.h [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/pdf/pdf_engine.h [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/pdf/pdfium/pdfium_engine.cc [modify] https://crrev.com/5c500489a0675663b2163bdbf3ba94f49b4771de/printing/pdf_render_settings.h
,
Apr 12 2018
Please try 67.0.3396.0 or newer and see verify this is fixed. One can probably install Google Chrome Canary in a day or two and get that version. As mentioned in comment 8, please file bugs if you have other issues. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by isandrk@chromium.org
, Jan 25 2018