Home General

Printin as duplex fails

edited July 2017 in General
Hi,

one of ur customers wants to print a report as duplex.
This fails as on paper 1 /page 1 the previewed page 1 is print, 1/2 is
empty, 2/1 is preview page 2 but turned on 180°.
Trying to reproduce this error inhouse was not possible.
On one printer (Brother) either dpHorizontal or dpVertical worked both
fine.
On another one(HP) dpvertical worked fine, but dpHorizontal turned
backside of paper of 180°.

Obviously this might be an issue with printerdrivers, not with RB.

Any ideas?

--


Hint: We altered the sources!Hint: We altered the sources!

Comments

  • edited July 2017
    Hi Carsten,

    What type of printer is your customer using?

    ReportBuilder uses standard Windows API duplex settings and calls to
    handle duplexing. It is then the job of the printer driver to interpret
    these commands to produce the desired document.

    In the print dialog, try selecting the "properties" button next to the
    printer name and see if the duplex settings for the driver software
    match the settings in RB. Many printers support more options than what
    are available in the Win API.

    Also, be sure your customer's printer actually supports automatic
    duplexing. It may require manual flipping of the page or have an
    "automatic" setting somewhere.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2017
    Can you tell me the line where this cll to the Windows API is done?

    Nico Cizik (Digital Metaphors) erklärte :

    --


    Hint: We altered the sources!Hint: We altered the sources!
  • edited July 2017
    Hi Carsten,

    All printer related API calls can be found in the ppPrintr.pas file.

    See the TppPrinterSetup.PropertiesToDevMode routine.

    --
    Best Regards,

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