Set the start line tag to something like ticket start… set the same string on Sambapos printer template. Check with putty if your getting that data exactly. If with putty you see that string coming in… then your Dev should too.
With that knowledge try to troubleshoot it…
Step 1. Get any kind of data to come into putty.
Step2. Get start and end characters to show up in putty… step 3. Go to hikvision Dvr and try to play with the start end string and see if you can pull data.
What’s that text showing up. It should be coming through as simple string. I think you shouldn’t be using html printer type but text or something else.
I tried all the printer types still same.
Now understand my topology first, first of i setup the dvr in which i put ip address and port i.e (192.168.100.205:9100). This ip address is the pos ip address. Next step, i added a printer manually and tcp/ip port i.e (192.168.100.204:9100) this is dvr ip. So now if i send a normal text from word its giving me incorrect data on the screen.
I get through
Just used generic text only driver while installing the printer.
I think i can now make my first tutorial now
Because i didnt use serail port or any device or a software just simple tricks. I used only LTS DVR LTD8516k-ST.
Hikvision just came out with that. It did not exist before on most dvrs I dealt with. I just seen it for first time a year ago. I developed that surveillance demo 3 years ago