DescriptionDefine Print Preview default printer selection policy.
1) Define new policy PrintPreviewDefaultPrinterSelection and
corresponding command line switch default-printer-selection-rules
2) When this policy is defined, it takes precedence over default system
printer
3) In case of failures, fall back to the default system printer first
and only when to "Save to PDF"
The policy value is a serialized JSON string, conforming to the following
schema:
{
"type": "object",
"properties": {
"kind": {
"type": {
"enum": [ "local", "cloud" ]
}
},
"idPattern": {
"type": "string"
},
"namePattern": {
"type": "string"
}
}
}
BUG=468447
Committed: https://crrev.com/4b26916d54c1068cd7e67ecdcdd03f36ebc23dcf
Cr-Commit-Position: refs/heads/master@{#354604}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix policy and policy test data defintion.wq #Patch Set 3 : Rebase #
Total comments: 22
Patch Set 4 : Policy definition updated, addressing comments. #Patch Set 5 : Change policy caption #
Total comments: 2
Patch Set 6 : Remove command line switch, change policy name, bettter policy #
Total comments: 2
Patch Set 7 : Mention in description that regexp patterns must follow JS syntax. #Patch Set 8 : Add tags to DefaultPrinterSelection policy. #Messages
Total messages: 50 (20 generated)
|