0
Files
src/printing
rbpotter d8fd468f11 Eliminate PS printing edge cases
There were a couple possible edge cases with the new postscript language
level identification that could lead to incorrect behavior.
(1) Printer is stuck in GDI centric mode. In this case the change to
POSTSCRIPT_PASSTHROUGH will cause a failure. Check for POSTSCRIPT_
PASSTHROUGH support before running it.
(2) Printer gets set to PS mode but the postscript level detection
returns something weird. This would result in driver trying to send
Gdi commands to a printer in PS mode.
These issues are resolved in this patch.

Finally, this fixes the problem of postscript printers not printing
if the postscript feature is disabled by using GDI mode instead of
PS mode to query the postscript level.

BUG=614988

Review-Url: https://codereview.chromium.org/2714073002
Cr-Commit-Position: refs/heads/master@{#453312}
2017-02-27 20:06:40 +00:00
..