I'm trying this way.
printdialog1.execute;
picture.width := printer.pagewidth;
and to this point it works; if I choose different paper formats the printer.pagewidth changes but...the last line
crreport.printout(False,1,False,1,1);
ruins everything; if with printdialog I choose A3 che crreport.printout prints in A4; it completely ignores what I chose.
|