Need Print PDF macro

Dear All,
I request you to please can you anyone have print pdf macro which is extracted from E3d.

Ex:
I want to give the drawing in the list and press the Extract PDF button to create PDF and save in req. location. See the below snap for your reference.

Pls do the needful. Thanks