11

How can I get line numbers to print in Visual Studio 2005 when printing code listings?

atiquratik
  • 1,296
  • 3
  • 27
  • 34
Christopher Mahan
  • 7,621
  • 9
  • 53
  • 66

2 Answers2

7

Isn't there an option in the Print Dialog?

Edit: There is. Go to File => Print, and then in the bottom left there is "Print what" and then "Include line Numbers"

Michael Stum
  • 177,530
  • 117
  • 400
  • 535
5

There is an option in the Print Dialog to do the same (in VS 2005 and 2008 atleast)!

Adhip Gupta
  • 7,063
  • 7
  • 34
  • 46