Home Devices

Print to file/archive also printing to printer

edited September 2008 in Devices
I have a problem which is probably due to something stupid I am doing. When
I select print to file or print to archive, it does it, but it also prints
to the printer. I have another similar report which does not have this
problem. When I compare the Delphi code for both reports, I cannot see any
differences. Both reports are loaded from rtm files and I am using Delphi 7
and RB7.03.

Any help would be appreciated.

Mike O'G

Comments

  • edited September 2008
    I just tried the same report but with another rtm file for a different
    company (the report is a customer account statement) and the problem is not
    present. Obviously I have some settings saved in the rtm that are causing
    the problem but I can't see what settings would cause this problem. Any
    pointers would be appreciated.

    Mike O'G


  • edited September 2008
    As I have found my stupid mistake, I thought I should indicate that this is
    no longer a problem. For anybody that might be interested, the report in
    question has a ppSubReport and, at some point when I was trying to resolve a
    different issue, I set NewPrintJob to True. Half a day down the Swanee but
    at least it works now.

    Mike O'G

This discussion has been closed.