Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

The file device has already been created

edited October 2007 in Devices
I use Delphi 7, Report Builder 7.03, PsRBExportDevices 2.03

When I generate a report, the "ExportToPDF" procedure generate an error :
TppProducer.PrintToPrinter: The file device has already been created
This error has been triggering for a week whereas my report was always
generated without any problem before.

Has somebody got an idea on what can trigger this error?

Comments

  • edited October 2007
    Hi Anne,

    ExportToPDF is a Pragnaan routine however it must make a call to
    Report.Print, which in turn tries to create and assign the device before
    printing. Be sure you are not manually creating a PDF device and assigning
    its publisher to the report's.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2007
    Thanks.
    I have never assigned any device, I just called ExportToPDF.
    This error does not seem to trigger on all workstations but on certain
    workstations only..



  • edited October 2007
    Hi Anne,

    You might try contacting Pragnaan support to see if this is a known issue.
    Have you considered using the built-in PDF device included with
    ReportBuilder 9 or greater?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.