It's a custom procedure I created to prevent re-typing the same stuff over and over again. It's defined starting at line 36 in the file, but it basically accepts the Module (I/M, P/O, etc), module date, UI lookup task name, the RPT object to print, the form code/report setting to use and Y/N if there are any custom options to set. Then it uses those to set the Module Date, set the Module, Set Program to your UI lookup, hook into the RPT object, set a specific form code, set any special options and then to Print, unless it's an Options file, then I preview so I could manually export to PDF. The reason is that the default PDF name is the same for all the options printouts, so I manually did those for easier comparisons with the older Options printouts.