Click here to Skip to main content
15,889,795 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi
is there any way to find the full name of my EPSON TM-T81 printer? i know the ip and port.
i am getting printer not fount when i use the below names.

1.TM-T81 5.00 ESC/POS-A
2.PosPrinter
3.EPSON TM-T81 Receipt
4.EPSON TM-T81

How to find?:(
Thanks..
Posted
Comments
Herman<T>.Instance 8-Aug-14 6:14am    
WMI: see here

 
Share this answer
 
v2
Comments
hasbina 8-Aug-14 7:47am    
@sibeesh

EPSON printer connected using ethernet.it's test print get success.but can't take print using c#. i dont know the printer name. the above code giving the
printer 'microsoft XPS Document Writer'.
[no name] 8-Aug-14 7:49am    
Did you really go through that links?
hasbina 8-Aug-14 8:51am    
YS
Hello,

you should add this :
using System.Drawing.Printing;

then to get all available printers :

XML
List<string> allp = new List<string>();
              foreach (string printer in PrinterSettings.InstalledPrinters)
              {

                  allp.Add(printer);
              }
 
Share this answer
 
v3

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