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?
 
Rahul AgarwalTeam LeaderCommented:
0
All Courses

From novice to tech pro — start learning today.