Bonjour,
J'ai un programme Delphi qui gère l'impression des états Crystal XI.
Le bout de code suivant me permet d'imprimer les états en recto-verso ou non.
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.
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); ...
Partager