Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Quickreport PageSize NOT changing!

1,340 views
Skip to first unread message

delphi_lover

unread,
Sep 8, 2001, 6:38:50 AM9/8/01
to
Hi all.. i am using Delphi5 and am using the QuickReport component. I am
having problems with changing the page size for the reports! I know there
are properties that i can use for paper size and length and width stuff..
but those NEVER work!!!
I mean i tried setting:
QuickRep1.Page.PaperSize := custom;
quickrep1.page.Length := 17;
quickrep1.page.Width := 11;

quickrep1.Prepare;
quickrep1.QRPrinter.PaperSize := custom;
quickrep1.QRPrinter.Paperlength := 17;
quickrep1.QRPrinter.Paperwidth := 11;
quickrep1.PrinterSettings.ApplySettings(quickrep1.qrprinter);

quickrep1.PrinterSettings.PaperSize := custom;

Try any of it and try to print.. you will see that it will never use a
ledger 17x11 paper! why??!!
and of course I even tried the simplest thing, which was setting the
properties at design time and that does NOT work too!!

Anybody know anything about this?? Plz help.. thanks a lot.

Morten

unread,
Sep 14, 2001, 1:56:45 AM9/14/01
to
Have you checked your report settings' Unit property. It might not be set to
the unit you're expecting.

Morten


"delphi_lover" <ma...@boo.net> wrote in message news:3b99f459_1@dnews...

aleck

unread,
Sep 19, 2001, 2:20:28 AM9/19/01
to
In Win98/WinMe platform:
You must set windows default Printer's Paper to "Custom" .

In WinNT/Win2000 :
I'm looking for the answer too, Anyone know these ? Please help,
thanks a lot.

Aleck

delphi_lover <ma...@boo.net> wrote in message news:3b99f459_1@dnews...

Chris Miller

unread,
Sep 19, 2001, 10:10:19 AM9/19/01
to
QuickReport does not have the code to support custom page sizes under
NT. NT handles custom sizes very differently than 9x does and this
was overlooked in the design of QR.

On Wed, 19 Sep 2001 14:20:28 +0800, "aleck" <al...@tpts4.seed.net.tw>
wrote:

>In Win98/WinMe platform:
> You must set windows default Printer's Paper to "Custom" .
>
>In WinNT/Win2000 :
> I'm looking for the answer too, Anyone know these ? Please help,
>thanks a lot.
>
>Aleck

Chris Miller
VersaTrans Solutions, Inc.

Mika Kumpulainen

unread,
Sep 19, 2001, 2:09:13 PM9/19/01
to
first you need make new paper size, NT printers -> "server properties"

next select you printer and "add" the new paper size in printer.

open QuicReport and use "default" paper size in you Quicrep.

Mika

"Chris Miller" <chris....@no.canned.ham.versatrans.com> kirjoitti
viestissä news:sn9hqtc3ffhrcsaqc...@4ax.com...

aleck

unread,
Sep 20, 2001, 5:37:38 AM9/20/01
to

Mika Kumpulainen <mika.kum...@fiscal.to> wrote in message
news:3ba8dd9b_2@dnews...

> first you need make new paper size, NT printers -> "server properties"
>
> next select you printer and "add" the new paper size in printer.
>
> open QuicReport and use "default" paper size in you Quicrep.
>
> Mika
>

It's work, Thanks. Sorry for another question :

If I need more then one kind "Custom" size paper,

can I select the paper format by PrinterSetupDialog
( seems not work, QuickReport always get the default paper set in Window
printer)

or must add new printer to use the paper size one by one?

Aleck


Mika Kumpulainen

unread,
Sep 23, 2001, 1:55:56 PM9/23/01
to
I am not try, two different paper size in same printer, but if you
add new printer ( same port) and make this printer other paper size
and change printer when you printing, it will work.

QuickReport home site, you see how change printer in program.
http://195.12.232.172/

DIY Fixes page.


Mika


"aleck" <al...@tpts4.seed.net.tw> kirjoitti viestissä
news:3ba9b860_2@dnews...

0 new messages