caio ribeiro Posted September 15, 2016 Report Share Posted September 15, 2016 Hi, I 'm new to samba and Visulogic programming, and I'm having some problems to use the samba sm35-j-t20 serial port to send data into a chinese printer(csn-a2-r), it uses rs232... I initialize the the com with the printer parameters and I configured an protocol, but when I try to send the messages something goes wrong, The data is not sed correctly, it appears ramdom stuff in the printer. obs.: the printer is 12vdc so I hacked it with a lm7812 to be able to use it with the same power supply. Someone have done something similar and/or can help please? here is the link for the printer and i'm attaching the code for the samba. https://cdn-shop.adafruit.com/datasheets/CSN-A2+User+Manual.pdf giga de testes com impressora.vlp Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.