Hi,
I think that I found other bug,
I'm using supermerge to generate a report and do a simple print (like the demo in wptools source)
WPSuperMerge.Execute;
WPReportDest.Print;
The problem is when I print files with diferent paper sizes, follow the link with examples:
http://gdicomvix.zapto.org/download/wptools/super01.rtf
http://gdicomvix.zapto.org/download/wptools/super02.rtf
I generate a report and print a document with "super01" (bigger paper) and after do the same with "super02", in the last, the paper assume the size of first.
If I print "super02" first, then works.
If I do a preview before print (WPPreviewDlg1.Execute), It show me with the correct size in the screen, but when a I send to printer, the paper goes wrong.
If I call "WPReportDest.PrintDialog" instead "Print" it works, but I need to comment a line in source code (//Paint;) cause this give me a error (Control with no parent...) when executed.
I'm using Delphi7 + Wptools7
Sorry by my english,
regards