Closed Bug 166826 Opened 22 years ago Closed 22 years ago

We don't save print_in_color after printing.

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 166217

People

(Reporter: zhayupeng, Assigned: zhayupeng)

References

Details

Attachments

(1 file, 1 obsolete file)

if (saveToPrefs && printService != null) {
    var flags = gPrintSetInterface.kInitSavePaperSizeType |
gPrintSetInterface.kInitSavePaperSizeUnit |
                gPrintSetInterface.kInitSavePaperWidth |
gPrintSetInterface.kInitSavePaperHeight |
                gPrintSetInterface.kInitSavePaperName | 
                gPrintSetInterface.kInitSavePrintCommand;
    printService.savePrintSettingsToPrefs(gPrintSettings, true, flags);
  }
See above code in onAccept() of printdialog.js
We lost the kInitSaveInColor. So, after print, color will set back to old value.
Attached patch patch (obsolete) (deleted) — Splinter Review
Just add what we lost
Attached patch Right one (deleted) — Splinter Review
Sorry! I uploaded an error patch from another bug.:-P
Attachment #97945 - Attachment is obsolete: true
Blocks: 157675
Can we integrate this into the patch for bug 166217 ("Print settings on Linux
are saved at shutdown but not read at next start"), please ?
I've integrated the patch into the patch for bug 166217 ...

*** This bug has been marked as a duplicate of 166217 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: