{"action":"created","issue":{"url":"https://api.github.com/repos/manpaz/python-escpos/issues/63","labels_url":"https://api.github.com/repos/manpaz/python-escpos/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/manpaz/python-escpos/issues/63/comments","events_url":"https://api.github.com/repos/manpaz/python-escpos/issues/63/events","html_url":"https://github.com/manpaz/python-escpos/issues/63","id":113676118,"number":63,"title":"\"printer\" not defined","user":{"login":"taylorstevens","id":3906823,"avatar_url":"https://avatars.githubusercontent.com/u/3906823?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorstevens","html_url":"https://github.com/taylorstevens","followers_url":"https://api.github.com/users/taylorstevens/followers","following_url":"https://api.github.com/users/taylorstevens/following{/other_user}","gists_url":"https://api.github.com/users/taylorstevens/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorstevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorstevens/subscriptions","organizations_url":"https://api.github.com/users/taylorstevens/orgs","repos_url":"https://api.github.com/users/taylorstevens/repos","events_url":"https://api.github.com/users/taylorstevens/events{/privacy}","received_events_url":"https://api.github.com/users/taylorstevens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-27T20:11:19Z","updated_at":"2015-10-27T20:46:36Z","closed_at":"2015-10-27T20:16:51Z","body":"I haven't been able to get the example working. I followed the instructions on the Raspberry Pi wiki, I'm in the python-escpos/escpos directory, and my code is as follows (exactly what's on the front page):\r\n\r\n#!/usr/bin/env python\r\nfrom escpos import *\r\n\r\nEpson = printer.Usb(0x04b8,0x0202)\r\n...\r\nEpson.cut\r\n\r\nIs there anything I'm doing wrong? I've re-installed the package twice, making sure to use sudo both times, as well as the other dependencies. Any help would be greatly appreciated. Thank you!"},"comment":{"url":"https://api.github.com/repos/manpaz/python-escpos/issues/comments/151638664","html_url":"https://github.com/manpaz/python-escpos/issues/63#issuecomment-151638664","issue_url":"https://api.github.com/repos/manpaz/python-escpos/issues/63","id":151638664,"user":{"login":"manpaz","id":4175605,"avatar_url":"https://avatars.githubusercontent.com/u/4175605?v=3","gravatar_id":"","url":"https://api.github.com/users/manpaz","html_url":"https://github.com/manpaz","followers_url":"https://api.github.com/users/manpaz/followers","following_url":"https://api.github.com/users/manpaz/following{/other_user}","gists_url":"https://api.github.com/users/manpaz/gists{/gist_id}","starred_url":"https://api.github.com/users/manpaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manpaz/subscriptions","organizations_url":"https://api.github.com/users/manpaz/orgs","repos_url":"https://api.github.com/users/manpaz/repos","events_url":"https://api.github.com/users/manpaz/events{/privacy}","received_events_url":"https://api.github.com/users/manpaz/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T20:46:36Z","updated_at":"2015-10-27T20:46:36Z","body":"Good to know :+1: "}}