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

Printername designtime

edited November 2011 in General
I want to set the printername to the printer which is to be used on
another computer than the one i use to develop. When i attempt this
it always set it back to my default printer. Why is it so?

Best regards,
Terje

Comments

  • edited November 2011
    Hi Terje,

    Each time you set the printer name, ReportBuilder checks that the
    printer is available and if not, assigns the default printer instead.
    If you are absolutely certain of the printer name on another machine,
    you could do so at runtime in code.

    As a rule of thumb, it is generally better to use the
    PrinterSetup.PrinterNames list to assign the PrinterName property. This
    way you can be sure the name is correct.

    Best Regards,

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