Open Bug 1822821 Opened 2 years ago Updated 2 years ago

PDF Only Saves in Color in Android Print Menu

Categories

(GeckoView :: PDF Viewer, defect, P3)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

Details

Saving a PDF through the Android Print menu does not save the PDF in black and white.

Steps to reproduce:

  • Go to a website with a print button, e.g., https://en.wikipedia.org/wiki/Cat -> Printable Version
  • Change Android printer to "Save as PDF"
  • Change "Color" to "Black & White"
  • Download PDF
  • View the PDF and notice images still have color
See Also: → 1770971

These Gecko print settings control PDF generation in black in white. Solving bug 1770971 would be a precursor to using Gecko to make a greyscale PDF.

There could also possibly be a way we can manipulate the PDF in GeckoViewPrintDocumentAdapter, maybe in onLayout using Android directly?

Component: Core → PDF Viewer

This is related to print to PDF rather than the PDF viewer, we should find a better component (or create a new component for printing bugs?).

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