If the “other” printer has different page sizes, then yes, you do have to go through the setup twice. Once you have everything set up, it should work fine. Please bear in mind that the sample code was intended to demonstrate selecting the printer, not the page sizes. And yes, I agree that Xojo could do a better job of this.