Add support for automated printer configuration |
||||||
Issue descriptionIt is possible that when setting up a printer, the user already has a CUPS server available to them. We should account for this in the printer setup workflow for a more seamless user experience. Proposed workflow: 1. User navigates to manually set up a printer 2. User enters initial printer information (Name, IP, etc.) 3. When this information is submitted, we currently check to see if the PPD for the make/model are available on the Quirks server and if successful, the printer should be added. -> Add an additional check here where, if the PPD is not found, then check if a CUPS server is available to leverage. If so, the printer should be added successfully. Otherwise, the user is redirected to the next step in the manual workflow (manually selecting a PPD file). Note: This workflow does not give the user a choice to auto-configure. (An assumption has been made that they normally will not want to take the additional manual steps) If a user wants to configure the printer for a specific PPD, they can go through the Edit printer setup workflow. ( crbug.com/685673 )
,
Feb 15 2017
,
Apr 6 2017
,
May 16 2017
,
May 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee commit 01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee Author: skau <skau@chromium.org> Date: Tue May 23 18:56:58 2017 Add an autoconf field to printer objects. Printers can be configured without PPDs. This will be represented by the field 'autoconf.' This adds the field to the printer object and the PrinterSpecifics proto. BUG= 685676 Review-Url: https://codereview.chromium.org/2884863002 Cr-Commit-Position: refs/heads/master@{#474004} [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/chrome/browser/chromeos/printing/specifics_translation.cc [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/chrome/browser/chromeos/printing/specifics_translation.h [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/chrome/browser/chromeos/printing/specifics_translation_unittest.cc [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/chromeos/printing/printer_configuration.cc [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/chromeos/printing/printer_configuration.h [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/components/sync/protocol/printer_specifics.proto [modify] https://crrev.com/01de7ac6d3abe6fdd0f5c78c6fa9c5fa34b5e9ee/components/sync/protocol/proto_visitors.h
,
Jun 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bafbc3fe297223ffbef775053a1407910ce730e6 commit bafbc3fe297223ffbef775053a1407910ce730e6 Author: skau <skau@chromium.org> Date: Thu Jun 08 20:07:20 2017 Add a method to query IPP printers for attributes. We determine if a printer can be configured without a PPD by checking the supported IPP version and some other attributes. Additionally, we fetch the printer-make-and-model that can be used to attempt to lookup a PPD. BUG= 685676 Review-Url: https://codereview.chromium.org/2891643002 Cr-Commit-Position: refs/heads/master@{#478065} [modify] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/chrome/browser/chromeos/BUILD.gn [add] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/chrome/browser/chromeos/printing/printer_info.h [add] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/chrome/browser/chromeos/printing/printer_info_cups.cc [add] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/chrome/browser/chromeos/printing/printer_info_stub.cc [modify] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/printing/backend/cups_jobs.cc [modify] https://crrev.com/bafbc3fe297223ffbef775053a1407910ce730e6/printing/backend/cups_jobs.h
,
Jun 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98 commit 8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98 Author: skau <skau@chromium.org> Date: Wed Jun 14 01:31:57 2017 Query printers for autoconf info during setup. Use an IPP query to establish if we can perform automatic configuaration of the printer by setting the autoconf field. This is determined by support for IPP 2.0+ and one of the two PDLs PDF or PWG-Raster. BUG= 685676 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2915703002 Cr-Commit-Position: refs/heads/master@{#479243} [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h [modify] https://crrev.com/8d580f5a9aecf7a5682382b9a2eb57df0eb2cd98/chrome/test/data/webui/settings/cups_printer_page_tests.js
,
Jun 15 2017
,
Jan 22 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by weifangsun@chromium.org
, Jan 31 2017Owner: skau@chromium.org