DescriptionShould handle the events when no printer is detected on local machine
GetDefaultPrintSettings was returning an empty struct because no printer is installed. Checking when its empty will allow us to know that a printer is missing on that system. There is clearly no other way to do this, unless we do not do all those dchecks on dpi and other struct members.
BUG=6835
TEST=Tested only on windows, since linux/mac printing not even implemented. Removed all printer drivers, opened chromium, and ran a print job, popup dialog appeared stating no printer installed. Installed my printer drivers again, print dialog appeared.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14731
Patch Set 1 : '' #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|