{"action":"created","issue":{"url":"https://api.github.com/repos/tojocky/node-printer/issues/51","labels_url":"https://api.github.com/repos/tojocky/node-printer/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/tojocky/node-printer/issues/51/comments","events_url":"https://api.github.com/repos/tojocky/node-printer/issues/51/events","html_url":"https://github.com/tojocky/node-printer/pull/51","id":60351231,"number":51,"title":"Printing with custom page size and reading advanced printer options","user":{"login":"alexeyst","id":10452802,"avatar_url":"https://avatars.githubusercontent.com/u/10452802?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeyst","html_url":"https://github.com/alexeyst","followers_url":"https://api.github.com/users/alexeyst/followers","following_url":"https://api.github.com/users/alexeyst/following{/other_user}","gists_url":"https://api.github.com/users/alexeyst/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeyst/subscriptions","organizations_url":"https://api.github.com/users/alexeyst/orgs","repos_url":"https://api.github.com/users/alexeyst/repos","events_url":"https://api.github.com/users/alexeyst/events{/privacy}","received_events_url":"https://api.github.com/users/alexeyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-09T14:31:02Z","updated_at":"2015-03-12T09:39:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tojocky/node-printer/pulls/51","html_url":"https://github.com/tojocky/node-printer/pull/51","diff_url":"https://github.com/tojocky/node-printer/pull/51.diff","patch_url":"https://github.com/tojocky/node-printer/pull/51.patch"},"body":"This commit adds support for retrieving printer supported media sizes as well as tons of other information via CUPS; it is made available through `getPrinter(<name>).driver_options`; furthermore, a user can now define page size via printDirect `media` option as well as manipulate scaling via `fit_to_page`.\r\n\r\nTested on OSX, not tested on Windows (CUPS is only for posix, but input parameters are passed to Windows too).\r\n\r\nThat was just a quick fix for my own project that I thought I'd share."},"comment":{"url":"https://api.github.com/repos/tojocky/node-printer/issues/comments/78448844","html_url":"https://github.com/tojocky/node-printer/pull/51#issuecomment-78448844","issue_url":"https://api.github.com/repos/tojocky/node-printer/issues/51","id":78448844,"user":{"login":"tojocky","id":598809,"avatar_url":"https://avatars.githubusercontent.com/u/598809?v=3","gravatar_id":"","url":"https://api.github.com/users/tojocky","html_url":"https://github.com/tojocky","followers_url":"https://api.github.com/users/tojocky/followers","following_url":"https://api.github.com/users/tojocky/following{/other_user}","gists_url":"https://api.github.com/users/tojocky/gists{/gist_id}","starred_url":"https://api.github.com/users/tojocky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tojocky/subscriptions","organizations_url":"https://api.github.com/users/tojocky/orgs","repos_url":"https://api.github.com/users/tojocky/repos","events_url":"https://api.github.com/users/tojocky/events{/privacy}","received_events_url":"https://api.github.com/users/tojocky/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T09:39:28Z","updated_at":"2015-03-12T09:39:28Z","body":"I will merge this PR and will ad extra changes. thanks for your PR."}}