TppProducer.PrintToPrinter: The file device has already been created.
I am getting this error when issuing the .Print command of a report. It is
very infrequent but very disruptive. I have trapped the command with
exception handling. Is there any way to free the device and allow a
reprint?
TppProducer.PrintToPrinter: The file device has already been created.
Using D6, RB11.04
Thanks,
Perry
very infrequent but very disruptive. I have trapped the command with
exception handling. Is there any way to free the device and allow a
reprint?
TppProducer.PrintToPrinter: The file device has already been created.
Using D6, RB11.04
Thanks,
Perry
This discussion has been closed.
Comments
This error can indicate a few things.
Generally it means that there is a device (file, screen, or printer)
already connected to the report and TppReport.Print is called. The
Print command creates its own device so if you are manually creating
devices, PrintToDevices should be called.
This error can also arise when a subsequent call to Print occurs and the
previous call has not finished its task.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com