----------------------------------------------------- .- -- /\ |\/| Achim.Metzen@bonn.netsurf.de /--\| | http://www.bonn.netsurf.de/~Achim.Metzen ----------------------------------------------------- ................................ : Practice random kindness : : and senseless acts of beauty : :..............................: ----------------------------------------------------- Compuserve: 100733,615 Compuserve-Mail: achimmetzen@csi.com http://ourworld.compuserve.com/homepages/AchimMetzen ----------------------------------------------------- Readme QRStdPrv 24.07.97 Version 2.0 Release date 01.07.97 1. Introduction 2. How to install 3. No warranty 1. Introduction In this package, you get 2 components and 1 Form. The private use is free. If you want to build comercial application with it, the use is also free, if you insert a remark with my copyright information and give me a short notice about via E-Mail. ***************** Important: The package is only for Quickreport 2.0g and 2.0h Beta. Also it is testet only for Delphi 1 and Delphi 2 (not 3 and not c++ Builder). This is because i do not own Delphi 3 and c++Builder jet. Although i think it schould work fine, but you need the source for compilation. ***************** The main thing which the components TamPrinter and TQRStdPreviewDialog do, is to make it possible to preview and print with Quickreport. I found this not to be possible with the code Qusoft provided, not realy; looking into the newsgroups does explain what i mean. Although QR seemed to me beeing a realy small and intelligent way to create and handle reports - and it gives not so much overhead as Reportsmith e.g. to the compiled applications. What you have to do, is (after adding the Components to Delphi) to place e.g. one TQRStdPreviewDialog on a Form with a Quickrep Component on it. Then just selcect "preview" from the Quickreps popup menue. Also try to place TamPrinter on the Form and call TamPrinter.print at runtime. I'm sorry, but there was no perfect way to work around the Printersetting bug in QR 2.0g, so you may not select the Propertys: SelectPrinterDialog; they are always set to false. Beside of this, the components are still usefull, i think. If You own the Source of QR and QRStdPrv you schould do a simple thing: Edit Quickrpt.pas procedure TQuickRep.SetPrinterValues; begin ../.. QRPrinter.PrinterIndex := PrinterSettings.PrinterIndex; -> put this (last) line to be the first line in the procedure !!! end; Then edit qrprntr.pas and set cQRVersion:=208; (because TamPrinter reads this value) After this the QRStdPrv will work with full power. You can also use QR 2.0h_beta instead, but i don't know what is changed nor which bugs are included. 2. How to install Just unzip the zipfile to a directory of your choice. Be sure to use the BUILD IN DIRECTORIES !!!!!!!!!!! (option = -d). Be sure to copy the 16 or 32 bit resource Files into the main directory from \Delphi1 or \Delphi2 acording to your Delphi Version. Choose Install Component in Delphi and point to amPrvPrt.pas and press OK. 4. No warranty Users of QRStdPrv (and it's components) must accept this disclaimer of warranty: "QRStdPrev is supplied as is. The author disclaims all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose. The author assumes no liability for damages, direct or conse- quential, which may result from the use of QRStdPrv." Achim Metzen