How to Check if my Printer is Connected
-
hi i want to check if my printer is connected to my pc and show my model (using c# code ). plz help me . thx in advance
s_mostafa_h
Alright, I'll help you with your post as requested:
mostafa_h wrote:
Currently I'm trying to check if a printer is connected to my computer. I am using this code:
//the code you've tried
and I was getting this error message: The error message you was getting goes here After I get this to work, I would like to know if there is a way to detect the printer's model number or type of printer. I looked on google and found this Url to example[^] but it is using native API's and that I don't know how to call in C#
s_mostafa_h
-Spacix All your skynet questions[^] belong to solved
-
hi i want to check if my printer is connected to my pc and show my model (using c# code ). plz help me . thx in advance
s_mostafa_h
Have you tried google? I got this on the very first hit. Clickety[^] Clickety 2[^]
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
-
Alright, I'll help you with your post as requested:
mostafa_h wrote:
Currently I'm trying to check if a printer is connected to my computer. I am using this code:
//the code you've tried
and I was getting this error message: The error message you was getting goes here After I get this to work, I would like to know if there is a way to detect the printer's model number or type of printer. I looked on google and found this Url to example[^] but it is using native API's and that I don't know how to call in C#
s_mostafa_h
-Spacix All your skynet questions[^] belong to solved
-
Have you tried google? I got this on the very first hit. Clickety[^] Clickety 2[^]
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
-
You're welcome, but please in the future spend a good 10-20 minutes googling your query and reading the results. If that doesn't work, post to the forums. Till the next time :)
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon