Bug 1667953 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I've managed to reproduce the issue where the "Save to PDF" printer prints to by default physical printer. If the "global" pref `print.print_to_file` is set to `false`, then when I first print to the "Save to PDF" printer its `nsIPrintSettings` object picks up that value and causes the print to go to the wrong place. Worse still, I then end up with the pref `print.printer_Mozilla_Save_to_PDF.print_to_file` also set to `false` after that first print to the "Save to PDF" printer. That means that if I remove the "global" pref `print.print_to_file` I still have the misbehavior. I have to remove both `print.print_to_file` and `print.printer_Mozilla_Save_to_PDF.print_to_file` to fix things.
I've managed to reproduce the issue where the "Save to PDF" printer prints to my default physical printer. If the "global" pref `print.print_to_file` is set to `false`, then when I first print to the "Save to PDF" printer its `nsIPrintSettings` object picks up that value and causes the print to go to the wrong place. Worse still, I then end up with the pref `print.printer_Mozilla_Save_to_PDF.print_to_file` also set to `false` after that first print to the "Save to PDF" printer. That means that if I remove the "global" pref `print.print_to_file` I still have the misbehavior. I have to remove both `print.print_to_file` and `print.printer_Mozilla_Save_to_PDF.print_to_file` to fix things.

Back to Bug 1667953 Comment 3