{"action":"opened","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/5482","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/5482/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/5482/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/5482/events","html_url":"https://github.com/nwjs/nw.js/issues/5482","id":189481140,"number":5482,"title":"Add the \"copies\" option to print()","user":{"login":"kabo101","id":23018695,"avatar_url":"https://avatars.githubusercontent.com/u/23018695?v=3","gravatar_id":"","url":"https://api.github.com/users/kabo101","html_url":"https://github.com/kabo101","followers_url":"https://api.github.com/users/kabo101/followers","following_url":"https://api.github.com/users/kabo101/following{/other_user}","gists_url":"https://api.github.com/users/kabo101/gists{/gist_id}","starred_url":"https://api.github.com/users/kabo101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabo101/subscriptions","organizations_url":"https://api.github.com/users/kabo101/orgs","repos_url":"https://api.github.com/users/kabo101/repos","events_url":"https://api.github.com/users/kabo101/events{/privacy}","received_events_url":"https://api.github.com/users/kabo101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-15T19:18:31Z","updated_at":"2016-11-15T19:18:31Z","closed_at":null,"body":"Hi @rogerwang!\r\n\r\nWe were wondering if it would be possible to add support for the **copies** option in **print()**\r\n\r\nIt's quite a handy feature for some use cases.\r\n\r\nDigging through chromium source code, I believe it can be done by applying some changes to: **/chrome/browser/ui/webui/print_preview/print_preview_handler.cc**\r\n\r\n**Relevant code:**\r\n` int copies = 1;\r\n  if (settings.GetInteger(printing::kSettingCopies, &copies) && copies > 1)\r\n    ReportPrintSettingHistogram(COPIES);`\r\n\r\nI wish I could try my hand at this and submit a pull request, but I have no way of testing the changes, as I understand the build process takes a long time. Can you suggest a solution to this?\r\n\r\nThanks for your consideration!"}}
{"actor":{"display_login":"kabo101"}}