Take the 2-minute tour ×

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

share|improve this question

2 Answers 2

up vote 4 down vote accepted

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

share|improve this answer

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"

share|improve this answer

Your Answer


