Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

Internet of Things Printer for Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Wed Jan 12, 2022 9:21 am

Hi, any chance you can send me your code?

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Re: Internet of Things Printer for Raspberry Pi

by DeluxCode on Thu Jan 13, 2022 6:43 pm

Sorry, missed some of the other posts over the holiday break.

Just finished an update to the code to start with latitude & longitude instead of having to manually lookup the URL for your location.

I like rcb's idea to share on the Adafruit Github so everyone can have it. Any idea or recommendations on how to do that?

I see the link in this thread, but have never used Github. Not sure how I propose my new versions.

Hopefully the adafruit support team sees this post and makes recommendations.

DeluxCode
 
Posts: 9
Joined: Sun Nov 14, 2021 10:07 am

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Fri Jan 14, 2022 9:20 am

I can see two options to proceed:

You can sign up for GitHub
Go to the repository at: https://github.com/adafruit/Python-Thermal-Printer/
Update the code with your changes (this is called submitting a pull request).

Or

You could zip up the files and send them to me (they are not that big) at "mattpackwood@gmail.com" and I can do the GitHub "stuff".

Matt

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Re: Internet of Things Printer for Raspberry Pi

by DeluxCode on Sat Jan 15, 2022 8:26 pm

Took the opportunity to make a GitHub account and try to learn how to use it :)

We added our updated code (4 files) and submitted them as a pull request (#55 Added files via upload by CodeDelux).

Can you get the files from their directly or does someone have to merge them first?

DeluxCode
 
Posts: 9
Joined: Sun Nov 14, 2021 10:07 am

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Sun Jan 16, 2022 3:42 pm

Ideally, they would be merged, I think there is a work around but I have to play with it...

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Thu Jan 27, 2022 3:53 pm

I am still having issues but I think it is best if we "move this to GitHub"....

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Fri Mar 18, 2022 10:43 am

The code in GitHub has been updated for Python3, but the Twitter functionality is broken.

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Re: Internet of Things Printer for Raspberry Pi

by MattPackwood on Mon Apr 04, 2022 9:35 am

It looks like the code in GitHub is fixed, apart from the Twitter functionality, which I tried to update but it "beyond me".

MattPackwood
 
Posts: 89
Joined: Wed Jul 23, 2014 9:13 pm

Please be positive and constructive with your questions and comments.