-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STAR TSP100III not printing #410
Comments
I don't know about the printer whether it is able to be controlled through the network with escpos. But surely you have checked this. What you could do is, one the one hand send commands directly to the printer with some console-tool or even netcat. |
I'm currently having a similar problem with bringing a TSP100 (USB version) to life. My contact at Star told me the following:
Is python-escpos able to perform the sending of just a raster as above? Or am I right in thinking that this device is not supported in this scenario? |
I could only get my TSP100 working in the way described by Star in their response. python-escpos works for this printer if you configure the software in ESC/POS mode as described in the link below and use their software to proxy the commands, but not otherwise. |
We got a TSP100. Thanks so much for the ECO/POS tutorial. Anyone with some small example code what to write in python ( django ) to get the thing workin? :) |
Hey! You are in luck! Only a few days ago I made a python library to print direct to a TSP100 https://pypi.org/project/StarTSPImage/ as you suggested, the TSP100 only supports a raster/graphical image - for the ESC/pos support the windows drivers are converting this into a graphical output. my library takes an image file and converts to the right format to send directly to the printer. You could also use something like Pillow or imgkit libraries alongside it to make text->image-> raster-> printer |
Hey How did you got your printer working? |
See the python repo I linked above. Example code there |
Does this print within LAN connection? |
I have a STAR TSP100III LAN that is connected to my local network at IP 192.168.0.144.
The device is correctly installed and is available (I'm able to ping to it).
printer = Network("192.168.0.144")
printer.text("Hello World\n")
printer.cut()
When I execute the previous code, unfortunately nothing is printing. I am not getting any errors. Is there a way to fix this? Or at least get some more information about what is going wrong?
Setup:
The text was updated successfully, but these errors were encountered: