default printer port name

I need sample code c# to get the default printer port name in order to restrict printing to other printers not connected to LPT1 port.

Tks, in advance...

Leo
leorochaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rahul AgarwalTeam LeaderCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.