Certainly you can write code to print a worksheet. If you put it in a loop
and work through your sheets, you can determine if they need to be printed
and print them.
To stop your code being to complex, you'll need to have a cell in each
worksheet (in the same position in each worksheet) that gives a simple
print/don't print switch. If each sheet has a print range set, you can put
this switch cell somewhere away from the print area.