Printing subs

Printing  subs to pdf