{"action":"closed","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/4427","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/4427/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/4427/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/4427/events","html_url":"https://github.com/nwjs/nw.js/issues/4427","id":135192798,"number":4427,"title":"How to print a file?","user":{"login":"shamun","id":107349,"avatar_url":"https://avatars.githubusercontent.com/u/107349?v=3","gravatar_id":"","url":"https://api.github.com/users/shamun","html_url":"https://github.com/shamun","followers_url":"https://api.github.com/users/shamun/followers","following_url":"https://api.github.com/users/shamun/following{/other_user}","gists_url":"https://api.github.com/users/shamun/gists{/gist_id}","starred_url":"https://api.github.com/users/shamun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamun/subscriptions","organizations_url":"https://api.github.com/users/shamun/orgs","repos_url":"https://api.github.com/users/shamun/repos","events_url":"https://api.github.com/users/shamun/events{/privacy}","received_events_url":"https://api.github.com/users/shamun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-02-21T11:22:24Z","updated_at":"2016-06-30T06:40:28Z","closed_at":"2016-06-30T06:40:28Z","body":"I have a KIOSK where 5 printers connected.  Now, i need to tell Node-Webkit to print on printer 1 or printer 5.\r\n\r\n\r\n```\r\n//\"Brother HL-6180DW series\"\r\n//\"OKI-MC342-A60F25\"\r\n//\"Foxit PhantomPDF Printer\"\r\n//\"Fax\"\r\n//\"DYMO LabelWriter 450\"\r\n```\r\n\r\nStep 1: PHP server which is doing barcode, A4 printing preparation task for example: http://www.printing.com/printPDF?commands\r\n\r\nStep 2: KIOSK users push the button in Node-Webkit. \r\nit has to be with no popup, but silent printing. example: BARCODE Code39, Code128Auto or A4 page\r\n\r\nStep 3: How can now node-webkit, Go to the server URL `http://www.printing.com/printPDF?what-to-print=A4`, get the content in local system  (C:\\page-from-server.pdf) and silently print that file to the A4 printer  \"Brother HL-6180DW series\"\r\n\r\nPlease advise.\r\n"}}
{"actor":{"display_login":"rogerwang"}}