Twitch Receipt Printer using Streamer Bot 2024
Вставка
- Опубліковано 5 жов 2024
- A quick tutorial showing you how to set up a receipt printer for 2024 using Streamer Bot and some tools from DJ Teo.
Let me know if you have any questions or want to see some other tutorials.
My first stream tutorial so bear with me, I'll get better the more I do.
Please leave me a like and give me a follow if you learned anything.
You can always stop into my stream and see my alerts and fun stuff I set up every Tuesday and Thursday on Twitch or UA-cam. I stream from 7pm-10pm MST.
/ thewizardofco
Links to the info show in the video.
Streamer Bot - streamer.bot
DJ Teo Ko-fi - ko-fi.com/s/37...
Thermal Printer (Not an affiliate or Ad) Just the one I use - www.amazon.com...
I was able to fix the print a cat code. If anyone is interested in it let me know. Still don't know how it works but it's working. 🤣🤣
I am interested
Please tell me!
@@Krokrygg I posted a video with the fix.
@@thewizardofco Sweet! Thank you!
i am
"I already have some actions setup" brother you have a whole mf'in Spellbook setup already 😂 I respect the hustle 🤝
Thank you for making this - got really stumped seeing Nutty’s video was based on streamerbot1 and not 2.
I’m still stuck, but I’ll go through this and see if I can’t figure it out…
Heyhey, very nice Video! Your ideas and the structure in your Streamer Bot is sooo nice :D But I have a "small" prob with this thing. When i am not using the printer for a period of time and want to reactivate it for streaming, it instantly start printing all the "missing" events in the meantime it wasn't on. And I don't find a skip button or stuff. Even re-installed the Script to streamer bot, but this was not helpful.
@@Benston I imagine that when you get an alert it produces the pdf file and sends it into a print queue. If the printer is off when this happens it will wait till you switch the printer back on to print. Do you leave streamer bot on all the time and shut off the printer? If that’s the case before you switch the printer on go into the print settings on the computer and clean out the queue. Hopefully that helps. I tend to shut off streamer bot and leave my printer on all the time. I do miss out on alerts but things don’t go off randomly in my stream room.
thanks for the tutorial. i have one problem. After every Action my Printer dont stop printing empty pages for 5 Seconds. Can you help me?
@@TANZVERBOT I’ve had a couple people experience this problem. I’m not exactly sure what the solution is. I believe it has something to do with the way that teotools makes a PDF for each event. There’s a folder in teotools that stores all the pdfs created and if you look at them they tend to have excess white space to either side of the “print” for some reason your printer doesn’t know when to trim it. There might be a setting you can change on the computer under the printer. It’s a trim setting but I’m not exactly for sure what printer you have.
Thank you for making these videos. I must be missing something but watching on repeat :)
Is the teotools folder in the streamer bot folder? If it’s not in the folder it won’t work at all. I’ll be streaming tomorrow night 7-10pm MST if you are still having troubles.
I know I imported the text and so on but I will check folder placement now. Thank you so much. I will keep an eye out for you and let you know. Thank you for being so helpful
@@thewizardofco
just double checked it is with all those "root" files (Im a newbie I apologize for my ignorance) I will keep watching the video on repeat to make sure Im not missing something. @@thewizardofco
Heya, thanks for the video! I've got mine setup but it keeps printing two smaller pieces of paper....wondering if there is a fix for that (?)
Does it print anything besides the little pieces of paper? Or just those two pieces?
@@thewizardofco yeah it’s prints the test print fine for say a new Twitch sub but at the end it prints two small pieces as well. Seems like some people had this issue with the code from Nutty’s original tutorial about setting up the POS printer in OBS but doesn’t look like there was an answer there either.
@@asmrdestiny I’ve never encountered this before. The only time I get little pieces of paper is either the print failed to pull the info. Usually because I messed with the code or streamer bot was having problems that day. How are you triggering the test? I’m just thinking you might have multiple commands or actions linked together. It’s really hard to diagnose something without seeing how everything is set up really.
@@thewizardofco Yeah no worries - I'm also using the code from early on so maybe the code now has been updated (I'll update the code and see if I get the same issues)
@@thewizardofco Oh I've figured it out - so under the printer properties > device settings, the paper cutting was defaulted to "paper cutting - after one page". I changed it to "after document" and I get the one paper now. Yay!
amazing video, thank you! I'm trying to get this all set up, but my printer is not cutting the paper right away and spitting out about 20cm of unused paper THEN cutting, do you have any idea how i can fix this? Thank you
I think your printer is printing the full PDF that's generated within teotools. If you go into the teotools folder. Go to streamprinter then temp. You'll see all the PDF's that have been made. They are typically pretty long. There might be a setting for your printer that allow blank space to be trimmed off. Mine does it automatically so I'm really not sure where it could be.
@@thewizardofco Thank you so much. I did spot that the file has extra pages. I cant seem to find any settings ill take another look tomorrow and see. Thank you :D
can you do a digital e receipt print alert on twitch
The code does make a PDF file than prints that. So I imagine you could just show the PDF instead of printing it. The only problem with that is the PDF tends to be longer than it needs to be. Basically there’s a bunch of extra white space. I can check it out and see what it looks like. You could also fake a receipt by making your own alert. I can look into it later this week.
For me it is saying the export is too old when I try to import the actions. Any thoughts?
same
@@yannickbmgamesnl8472 the way I fixed it was to download streamerbot version 2.3, import it there, then export all the functions myself from that version and paste that into the version 2.4 that I use. Worked for me!
Anyone else have the issue of Streamer.bot printing a blank page no matter the size formatting of the paper in the printer and on streamer.bot? I always have a blank 2nd page print out and its wasting a ton of paper.
@@ItsMegzWorld it’s has happened to some people. I’m not sure what causes it. It might be the type of printer or maybe a setting in the printer profile. When teotools makes the pdf that prints there’s always white space above and below the information and for some reason it will print either the top or bottom portion of this blank space. I’m not sure what printer you have so it’s kinda hard to mess around with settings to see if I can fix it as I don’t know that much about them. Sorry for this nothing answer wish I could help more.
Thanks for your video i made some changes directly in templates.html but i have an issues. Streambot doesn't print user profil picture (for every templates gift_sub non_gift_sub etc..). Do you have a solution for this issue ?
Not sure what the problem could be. Most of the templates for twitch alerts have the print user image. It could be any number of things. I’ve messed up templates by not having a comma in the right place. This is why I always copy the files before altering them just to make sure I have a backup.
Ok good i think i use backup to further test and i'll notify if i found a solution :)
@@thewizardofco
Hello. Thx for the Tutorial. How did you integrate Ko-Fi ?
Great question. I don’t think DJ Teo set up a template for Ko-Fi donations only Streamlabs and StreamElements but I maybe able make one. I’ll play with it after work tonight and see what I can do.
I was able to figure it out. You have to edit the template.html and template.js file and make a new printer action in streamer bot. If you feel comfortable doing this I can upload the code. You also have to make sure you are logged into Kofi on the streamerbot website.
@@thewizardofco this would be awesome when you can Upload the Code and a Tutorial how to do that
@@ChrisTV84 Here's a tutorial video hope it helps. ua-cam.com/video/6fjUrUHv_b4/v-deo.html
@@thewizardofco thank you
Can you do this on UA-cam
There might be a way to set it up for UA-cam. I’ll have to see if I can figure it out or if DJ Teo has already done it.
Is anybody having issues with the Call to Action on Streamer bot 0.2.4 It works for follows and cheers but no longer for Sub/gift subs?
@@markeveritt9550 I don’t think I updated to 0.2.4 yet. I’ll see if I have any issues when I stream tonight. Is it just not printing the receipts for them? Or is it another issue?
It was my bad, I configured it incorrectly got it all setup, thanks for your help. Just a word to note the import code doesn't work on 0.2.4 you get an error message stating it's too old, I had to import it into streamer bot 0.2.3 then export and import into 0.2.4
is there a way to have it print 10 pages if someone gifts 10 subs?
I’ll give it a look. I haven’t really messed with that code. I believe it just says how many subs they donated on the printout.
@@thewizardofco I really appreciate the in depth looks you’re taking with this program! It gets a great response from people and I don’t really know what I’m doing so thank you for that 🤣
@@bradg312yt looks like for gift bombs there’s no variable for who receives the subs. If you give one sub then there’s a variable for recipientUser. I’ll double check on the discord and see if there is a variable. If I can get that maybe I can get it to print who receives the subs but it’ll be all on one page. Not sure how to break it up honestly.
@@thewizardofco another quick question..Is there a way to set it so it prints to a 4x6 shipping label paper? Idk why but its printing extra blank sheets afterwards
@@bradg312yt I’m not sure how to print it on shipping labels. If you go into the teotools folder there’s a folder called temp. Basically every time you run the printer action it makes a pdf and it prints that to the printer. I wanted to show the pdf on screen during my stream but it has extra sheets, I imagine it prints all those extra sheets for some reason to your labels, but not to the printer. Idk