Try to check the following option: File->Printing Settings->Printing Options -> Print cell brackets->True.


To keep syntax coloring etc., please have a look at: Saving a notebook as PDF, preserving syntax highlighting.
Try to check the following option: File->Printing Settings->Printing Options -> Print cell brackets->True.


To keep syntax coloring etc., please have a look at: Saving a notebook as PDF, preserving syntax highlighting.