This is doing my head in. I find it useful to print out the template style sheets.
As far as I can see I need to print them directly from DW using the print code option as that includes the line numbers. Problem is it prints right to the edge of the page and I would like some margin so i can bind them.
I can't see any way to do this. Doesn't matter if I print to pdf , desktop laser or commercial printer.
I suggest you download a tool like Textpad or Notepad++ (Win), BBEdit or Smultron (Mac), then copy &paste the code there. They too, have syntax highlighting, but offer more control on how to print such stuff.