title: How to get printer information using command line on Windows machine?
body: <p>I need to get Windows XP printer information like printer port and driver name using command line.</p>
  
  <p>I tried using Windows Server 2003 Resource Kit Tools that give you such information but it needs administrative privileges. In our production scenario too we cannot rely on some external toolkits to be deployed just to get the printer info.</p>
  
  <p>Any ideas on this?</p>