Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All

How to detect printer paper is available in serial port Tharmal printer using c#
Posted

1 solution

For this to work, you will need to have:

1) A printer that supports reading out the paper tray via it's serial port.
2) The protocol documentation of the printer (or a lot of time to reverse engineer it)
3) Some basic knowledge of serial ports.

If you have all of those, you can use the .NET SerialPort class to interface with it. You can find the documentation and some sample code here: http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(v=vs.100).aspx[^]

Hope this can get you started, it might prove to be quite a challenge.
Good luck!
 
Share this answer
 

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