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.
giga de testes com impressora.vlp