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

Number Of "Copies To Print" In Designer Not Carrying Over

edited July 2009 in Devices
Hello All! I am using version 10.07 and Delphi 2007. For a report that I
have designed, for the PrinterSetup\Copies, I have it set to a value of 2.
This is because I want this report to print twice whenever sent to the
printer. However, I am getting a strange behavior when I run the report via
my app. When I "preview" the report, the copies come accross as 2 (great!).
However, when I print or print selected, the copies show as 1. In this
case, the user has to manually change the copies to 2.

My question is, does anyone have any insight as to what I can do to get this
issue corrected?

Thanks and Best Regards,
Everett

Comments

  • edited July 2009
    Hi Everett,

    When printing directly to the printer are you simply changing the DeviceType
    and calling Report.Print? Are you setting the copies in code some place or
    just at design time?

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2009
    Hello Nico! Thanks for your reply!

    When printing to the printer, via calling my "standard" print dialog, I am
    seeing the "1" for number of copies.
    When I call the "print preview", that is when I am seeing the "2" copies as
    set in the report's definition.
    As for setting the number of copies, I have set that at design time and
    would like for that value to persist whenever the report is printed or
    previewed.

    Thanks!

    Everett

    When printing directly to the printer,
  • edited July 2009
    Hi Everett,

    I'm a bit unclear what you mean by using your "standard" print dialog. In
    my quick testing with a minimal application, the number I set the
    PrinterSetup.Copies to was carried over to the Print Dialog when I printed
    directly to the printer

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2009
    Hi Nico!

    By "standard" print dialog, I am speaking about just clicking the "print"
    button within my app or my report.

    Regards,
    Everett


  • edited July 2009
    Ok, please send a simple example demonstrating the problem and send it in
    .zip format to support@digital-metaphors.com so I can try to recreate the
    behavior on my machine.

    --
    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.