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

Output Bin

edited February 2003 in General
Is there a way to set the output bin location of a printer? I've seen the
binnames[x] example but this is only for input locations. I need something
to redirect the output to different locations.

Thanks,
Ron

Comments

  • edited February 2003
    -------------------------------------------------
    Tech Tip: Configuring Printer Specific Options
    -------------------------------------------------

    The Report.PrinterSetup properties can be used to set the properties that
    are common to all printers. Internally RB applies these to the Windows
    DevMode structure.


    Report.PrinterSetup <----> Windows DevMode <-----> Printer Driver <--->
    Printer


    Printers often contains additional features, such as output bins, media
    types, etc. The Windows DevMode structure can contain a private area that is
    used the printer driver to store printer specific options. These can be
    configured by using the Printer Driver's built-in properties dialog. These
    options can theoritically be set programmatically, the trick is that you
    have to know where in the structure to store the option and what values are
    valid.

    The following example shows how to display the printer properties dialog and
    save the devmode for use within RB...

    http://www.digital-metaphors.com/tips/SavePrinterDevMode.zip


    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com












    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2003
    Nard,

    I'm still a little confused on how I can save this additional information to
    a file. Does ReportBuilder save this additional information when you save
    the report as a template? Is there another way of storing the DevMode data
    to a location and then when you print the report, store it back into
    ReportBuilder?

    Thanks,
    Ron

  • edited March 2003

    RB only stores the Report.PrinterSetup properties. It does not store the
    DevMode.

    Therefore you would need to write code that saves the DevMode.

    The example mentioned in the aticle contains code that shows how to apply
    the DevMod to RB's printer.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.