hi guys i am new to this so i want to know about this so plz help me ... i want to know that how can i send commands through hyperterminal to printer to print some text....it will be great help for me ...thank you guys... here i have written all the process ...
1)For sending any command / Data to printer you need to send it as protocol command and that to be sent out from serial or Ethernet port.
2) You need to send ESC ( 1B hex) as start of command and Eot ( 04 H ) as end of command for sending each command
3) In typical application you need to send the data to printer for printing and then monitor the no of prints printer has done. This can be achieved using following steps of commands a) Send message data with command ESC/S/002/ Data to be printed / Eot
b) Assign the message to printing with command ESC/P/1/002/Eot
c) Set print acknowledgement using command Esc/I/1/Z/Eot – With this we are setting “Z” character as flag. Whenever printer will print on product it will send “Z” through port as print acknowledgement. By tracking no of Z received no of products printed can be calculated**
on button click in asp.net web application we have to send this command to printer through hyper terminal..
so plz plz plz help me to get the solution of this.