Hello Paul, As far as I know, there is no way to send output from Ghostscript directly to a PDF viewer. My AutoIt script saves the output to a PDF file and then runs the ShellExecute command to open the PDF file in the default viewer. Perhaps the command that you use XyWrite does the same sort of thing?