You have attempted to get print information from the operating system by using PRTINFO( ) or SET PRINTER TO but no default printer is selected.
Use the Printer Control Panel to select set a default printer.