Bonjour,
Mon programme Delphi gère l'impression des états Crystal XI.
Le bout de code suivant me permet d'imprimer les états en recto-verso ou non.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
...
      IF NOT EstVide(EdRectoVerso.Code) then
      begin
        IF EdRectoVerso.Code = 'CRPRDPDEFAULT' then FCrpe11.PrinterDuplex := crPRDPDefault
        else IF EdRectoVerso.Code = 'CRPRDPSIMPLEX' then FCrpe11.PrinterDuplex := crPRDPSimplex
        else IF EdRectoVerso.Code = 'CRPRDPVERTICAL' then FCrpe11.PrinterDuplex := crPRDPVertical
        else IF EdRectoVerso.Code = 'CRPRDPHORIZONTAL' then FCrpe11.PrinterDuplex := crPRDPHorizontal
      end;
      FCrpe11.PrintOut(False, StrToNum(EdNbCopies.Text), False, 1, 9999);
...
Le problème est que l'édition sort en recto-verso sur une imprimante (NASHUATEC MP C4500 PCL 6) mais sur une autre (Lexmark E352dn), l'édition sort en recto.