Home Devices

Screen printer...

edited October 2002 in Devices
Recently I had a problem getting a report to go to the specified printer.
My application has a dialog that allows the user to specify report
parameters, i.e. date range, encounter number range, etc. This dialog also
allows the user to select the output destination of the report. The user
can select screen or printer, as well as select the printer from the list of
printers installed in windows. I have a form with a viewer for the report.
This dialog also has a button to print the currently displayed report. The
problem that I had was that no matter which printer was selected, the output
went to the Windows default printer. This problem was resolved by assigning
the printer name to the ArchiveReader in the OnInitializePrinterSetup event
handler. Now I am having a different problem: whenever I send the report to
the screen, and then click the print report button on the report viewer
form, I get a "Screen printer does not support printing" error. Does anyone
have a solution?

Thanks in advance for your help.

Welton

Comments

  • edited October 2002

    This usually indicates that RB cannot find any installed printer drivers.
    Make sure that the Windows user account that the application is running
    under has access rights to one or more valid printer drivers.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.