Macro for print PDF

Hi,

I'm curious to make a macro for printing as PDF. I'd like to print one sheet at the time with this macro. It should also have settings in Color / Gray scale. It saves the document with the sheet name. Can someone help me?

I've found couple macros to start with:

1. macro for normal priting

2. macro for saving sheet as PDF

Many thanks

Ville Kahelin

SolidworksApi/macros