TECH TIP: What is the Screen printer?
The Report.PrinterSetup.PrinterNames array contains the list all of the printers installed on the machine. It also contain the names ‘Default’ and ‘Screen’.
The Default printer refers to the Windows default printer as specified by the Windows Printer Panel.
The Screen printer is a virtual printer created by ReportBuilder that uses the screen device context to generate reports to preview and file. Naturally, the screen printer cannot be used to print to a printer.
An attempt to print to the printer using the Screen printer will result in an error being raised by ReportBuilder stating that the “Screen printer does not support printing”.
The Screen printer is automatically selected if no printer drivers are installed on the machine or if ReportBuilder cannot get a valid device context to the printer driver. Windows printer drivers are installed by user account and contain security access rights.
If your application encounters the error, “Screen printer does not support printing”, try the following:
- Download the latest printer driver from the manufacturers web site.
- Completely uninstall the printer driver
- Reboot the machine.
- Install the latest printer driver.