Powerpoint VisualBasic Script

Sub printFrom()
    ActivePresentation.PrintOut From:=5, To:=12
End Sub