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

Duplex Printer

edited March 2007 in General
One of our customer has a Duplex Printer and he says that since the new
RB the Backpage is printing vertical instead of horizontal.

What can we do that the backpage is also printing horizontal. The
property Duplex is set to dpHorizontal.

Best wishes
Bernhard

Comments

  • edited March 2007
    Sorry, I've misunderstand my customer.

    The problem is, in the Report Template Duplex is set to horizontal. But
    if he print the report it prints vertical. He can change the option of
    the printer but next time the option is again on vertical.

    How can I set this option to the same option as it is set in the Report
    Template.

    Best wishes
    Bernhard

    Bernhard Roos schrieb:
  • edited March 2007
    I've tested it now with debugger and indeed. Before I'm printing the
    report Report.PrinterSetup.Duplex is set to dpVertical. In the Report
    Template I've set dpHorizontal.

    Is this a bug of RB 10?

    Best wishes
    Bernhard

    Bernhard Roos schrieb:
  • edited March 2007
    It seems that dpVertical and dpHorizontal is exchanged.

    1. If I set in Report Template to dpVertical then if I Print the Report
    it is printing Horizontal. (Report.PrinterSetup.Duplex=dpHorizontal)

    2. If I set in Report Template to dpHorizontal then if I Print the
    Report is printing Vertical. (Report.PrinterSetup.Duplex=dpVertical)

    Bernhard Roos schrieb:
  • edited March 2007
    So I've looked in your code :

    TppDuplexType = (dpNone, dpVertical, dpHorizontal);

    I've think it should changed the position of dpVertical and
    dpHorizontal. Because in the designer in the drop down list, there is
    First Horizontal and then Vertical.

    Or the position should changed in the designer?

    Best wishes
    Bernhard

    Bernhard Roos schrieb:
  • edited March 2007

    I did not see this post before. In my newsreader it shows up on an old
    thread from 2004.

    Please update to RB 10.05 - it contains the correct DuplexType declaration
    and other bug fixes reported by customers. If you did not recieve
    information about RB 10.05, please send an email with your serial and
    registration info to info@ and request it.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2007
    Hi Nard,

    I have already installed 10.05. And there exists the problem as I've
    described. I think it should only changed the order of Vertical and
    Horizontal in the Designer (dm0121.pas) or the order of tppDuplexType in
    ppTypes.pas.

    TppDuplexType = (dpNone, dpHorizontal, dpVertical);

    instead of

    TppDuplexType = (dpNone, dpVertical, dpHorizontal);

    Best wishes
    Bernhard

    Best wishes
    Bernhard

    Nard Moseley (Digital Metaphors) schrieb:
  • edited March 2007

    - for RB 10.05, we updated TppDuplexType enum to be dpNone, dpVertical,
    dpHorizontal because the ordinal values need to translate to the Windows
    DevMode dmDuplex value.

    - I did some research and looks like the PageSetupDialog and demo121.pas
    need to be updated, so that the drop down list is in the same order as the
    TppDuplexType. These are now fixed. You can email
    support@digital-metaphors.com and request updates.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

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