* **Electron Version** (output of `node_modules/.bin/electron --version`):
  * v4.0.5
* **Operating System** (Platform and Version):
  *  Windows 10 

### Expected Behavior
using  webContents api to print an html file oriention  set to landscape in default printer settings and page size set to A5, 

mainWindow.webContents.print({ silent: true, printBackground: false, deviceName: 'HP LaserJet 1020' })

My issue is : it is not printing as defined in the default printer settings

but it currently printing is deviceName not set

and need to send mainWindow.webContents.print() api to silently and printer name 

### To Reproduce
If you provide a URL, please list the commands required to clone/setup/run your repo e.g.
```sh
$ git clone git@github.com:shabeer-mdy/electron-quick-start.git
$ npm install
$ npm start || electron .
```
and set any printer name to  mainWindow.webContents.print({ silent: true, printBackground: false, deviceName: 'HP LaserJet 1020' })

set any installed printer name 



shell/browser/api/atom_api_web_contents.cc
std::vector<mate::Dictionary> page_ranges;
  if (options.Get("pageRanges", &page_ranges)) {
    std::unique_ptr<base::ListValue> page_range_list(new base::ListValue());
    for (size_t i = 0; i < page_ranges.size(); ++i) {
      int from, to;
      if (page_ranges[i].Get("from", &from) && page_ranges[i].Get("to", &to)) {
        std::unique_ptr<base::DictionaryValue> range(
            new base::DictionaryValue());
        range->SetInteger(printing::kSettingPageRangeFrom, from);
        range->SetInteger(printing::kSettingPageRangeTo, to);
        page_range_list->Append(std::move(range));
      } else {
        continue;
      }
    }
    if (page_range_list->GetSize() > 0)
      settings.SetList(printing::kSettingPageRange, std::move(page_range_list));
  }
  
  printing::DuplexMode duplex_mode;
  options.Get("duplexMode", &duplex_mode);
  settings.SetInteger(printing::kSettingDuplexMode, duplex_mode);
  
  mate::Dictionary dpi_settings;
  int dpi = 72;
  if (options.Get("dpi", &dpi_settings)) {
    int horizontal = 72;
    dpi_settings.Get("horizontal", &horizontal);
    settings.SetInteger(printing::kSettingDpiHorizontal, horizontal);
    int vertical = 72;