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

Problem with binnames and selection

edited January 2005 in General
Hi there,

with the RB 9.01 and RB 7.04 I've got the following problem:
with the binnames it adds a space before the binnames and thus binnames
doesn't seem to work at all ( it doesn't )

Anyone got a clue ??


Paul

Comments

  • edited January 2005
    Hi Paul,

    How are you using this property? In my testing with the code below, the
    BinNames property seemed to work correctly....

    -----
    ppReport1.PrinterSetup.BinName := ppReport1.PrinterSetup.BinNames[2];

    ppReport1.Print;
    -----

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    Nico Cizik (Digital Metaphors) wrote:

    I've created a component which can select a printer and sets information
    like duplex and binnames which you can save in a ini file.

    but by some printers it adds a space for the binname.
  • edited January 2005
    Hi Paul,

    Are you retrieving the bin names from the BinNames property? If so,
    ReportBuilder simply calls the DeviceCapabilities Windows API function to
    get the names of the bin names for the individual printer you are using. Be
    sure you are using the latest driver for your printer. For the printers
    where this behavior is occuring, you may need to remove the leading space
    manually.

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