Board index » delphi » HELP: Saving + Loading Quick Report trouble

HELP: Saving + Loading Quick Report trouble

I'm using Delphi 4 C/S with Quick Report 3.0.5.

If I do the following:

-generate a report
-save it to a file (report.qrp)
-print it (A)
-load it from the file (report.qrp)
-print it (B)

Why does the print-out of A look different from B?  B is 1 cm shorter and
the letters are (just a bit) smaller than on A.

I use

with TQRPHandler.Create do
    try
      Filename := 'C:\Prive\Delphi\DPR\Express\BIN\InvTest\1999.000124.qrp';
      Print;
    finally
      Free;
    end;

To load and print.  Any suggestions?

 

Re:HELP: Saving + Loading Quick Report trouble


QR uses a fixed pixel setting for the QRP preview and isn't bound to the
printer.
The first one is regenerated to the printer directly the later is pinted
directly from the preview meta file.

I think the meta file has a resolution of 150 Dpi

--
Greetings Andre Mens author of QReport Artist

mens...@mensand.demon.nl
http://www.mensand.demon.nl
MendriX heeft geschreven in bericht <7sse95$j...@forums.borland.com>...

Quote
>I'm using Delphi 4 C/S with Quick Report 3.0.5.

>If I do the following:

>-generate a report
>-save it to a file (report.qrp)
>-print it (A)
>-load it from the file (report.qrp)
>-print it (B)

>Why does the print-out of A look different from B?  B is 1 cm shorter and
>the letters are (just a bit) smaller than on A.

>I use

>with TQRPHandler.Create do
>    try
>      Filename :=

'C:\Prive\Delphi\DPR\Express\BIN\InvTest\1999.000124.qrp';

- Show quoted text -

Quote
>      Print;
>    finally
>      Free;
>    end;

>To load and print.  Any suggestions?

Re:HELP: Saving + Loading Quick Report trouble


Quote
Andre Mens <mens...@mensand.demon.nl> wrote in message

<news:7ssk0j$j7t10@forums.borland.com>...

Quote
> QR uses a fixed pixel setting for the QRP preview and isn't bound to the
> printer.
> The first one is regenerated to the printer directly the later is pinted
> directly from the preview meta file.

> I think the meta file has a resolution of 150 Dpi

> --
> Greetings Andre Mens author of QReport Artist

So the Save+Load is pretty useless!?!??!  (WHY DOES IT EXIST?)

I don't want to store the data for e.g. invoices in seperate tables, how can
I find an easy way to save and load Quick Report reports, a way that works
OK...  Are there any alternatives???  I need to deploy within 2 weeks!??!

Anyone?  Thanks in advance....

MarK

Re:HELP: Saving + Loading Quick Report trouble


Correct. And, BTW, TQRPHandler has a {*word*193} memory leak. QR guys said that
they cannot fix it until the next release (I suspect they left it to the new
quickreport owners QBS or something -- which leaves most of the users in the
air).
Quote
Andre Mens wrote in message <7ssk0j$j7...@forums.borland.com>...
>QR uses a fixed pixel setting for the QRP preview and isn't bound to the
>printer.
>The first one is regenerated to the printer directly the later is pinted
>directly from the preview meta file.

>I think the meta file has a resolution of 150 Dpi

>--
>Greetings Andre Mens author of QReport Artist

>mens...@mensand.demon.nl
>http://www.mensand.demon.nl
>MendriX heeft geschreven in bericht <7sse95$j...@forums.borland.com>...
>>I'm using Delphi 4 C/S with Quick Report 3.0.5.

>>If I do the following:

>>-generate a report
>>-save it to a file (report.qrp)
>>-print it (A)
>>-load it from the file (report.qrp)
>>-print it (B)

>>Why does the print-out of A look different from B?  B is 1 cm shorter and
>>the letters are (just a bit) smaller than on A.

>>I use

>>with TQRPHandler.Create do
>>    try
>>      Filename :=
>'C:\Prive\Delphi\DPR\Express\BIN\InvTest\1999.000124.qrp';
>>      Print;
>>    finally
>>      Free;
>>    end;

>>To load and print.  Any suggestions?

Other Threads