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

PrintDialog: Changing Printer, still uses Default

edited July 2003 in General
(I searched the newsgroups, and Google, but could not find a solution to
this.)

I select a different printer a run-time from the print dialog on a report,
but it always uses the default printer.

I'm sure there is an easy solution, but I could not find a property that
affects this change at run-time and considering that the program actually
allows you to change the printer in the dialog, I don't know why this is
happening.

Thanks for any help,
Johnnie

Comments

  • edited August 2003
    Hi Johnnie,

    In my testing I was able to print from any other printer I had installed on
    my network regardless the default setting. Which version of ReportBuilder
    are you using? Are you able to recreate this issue using our demo
    applications? If you are not already, you might try downloading a trial
    version of ReportBuilder 7.02 and test with that.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2003
    "Nico Cizik (Digital Metaphors)" wrote in
  • edited August 2003
    ANY suggestions for debugging this? Just a place to start?

    -Johnnie
  • edited August 2003
    Sorry for the delay, I'll In the subreports, are they section subreports?
    Are they set to use ParentPrinterSetup? Is the main Report.SaveAsTemplate
    set to true? It may be that you are saving and loading from a template file,
    even though you have a report on a form. The template may have a printer
    setup saved persistently in it that is set to 'default' Check that
    SaveAsTemplate is false. If this is only happening for one report it may be
    that the report has an event handler that is doing something you don't
    expect? Are you loading templates? Try disconnecting your event handlers to
    pare down the problem to try and make it simpler. If nothing helps, then can
    you send an example project that shows the problem to
    support@digital-metaphors.com and we'll be happy to see what would be
    causing the problem.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2003
    Thanks much!

    I think it was just .ParentPrinterSetup.

    I have a message into support@digital-metaphors.com that you can obviously
    ignore now.

    I knew it was something simple. :-)

    -Johnnie
This discussion has been closed.