this is not what you use for pages to print
you need to set the PrintAllArtboards property to false first, before you set your Pages to print
jobOptionsRef.PrintAllArtboards = false jobOptionsRef.ArtboardRange = 2
Yes, you are right! Thank you very much!
i've just seen - the 2 needs to be a string ... so
jobOptionsRef.ArtboardRange = "2"