Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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..

but i would like to tell u one more thing that Domino (Printer maker) has only provided a pdf file consist of all query fromat...even they didn't provide any .dll file or sdk....so i would like to tell u i have to send command through our web based application to Industrial printers with the help of Hyper terminal till now the application will be installed in client side...

so plz plz plz help me to get the solution of this as early as possible...thanks for ur help..
Posted
Comments
Member 10929519 21-Jul-14 5:42am    
if some one can help me with any reference that will be also helpful...thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900