I think you'll find that the main problem is that quick reports is broken when it comes to printing - they have been promising to fix this for awhile now (and ignoring the problem). There is a fix on their web site which involves converting each page of the report to a meta-file and printing that.

http://www.qusoft.com/directprint.html

The above method is a bit broken in itself - but it would give the general idea.

This issue is probably fixed in QuickReports 4 - although I have not bothered to upgrade - just as I get everything working ;-)

Alister Christie
Computers for People
Phone: 04 471 1849 / Fax: 04 471 1266
PO Box 13085
Johnsonville
Wellington


Eric Tishler wrote:
Sorry gang. My reports did print after all. For some reason it was asking for the alternate paper tray and the requests just got spooled up waiting.

At this point, my only problem is why the spooled requests required something other than the default paper tray. I examined this default printer on my Windows machine and it is set to go with the default paper tray.

I need to find out if the spooled print job is requiring the wrong paper try due to something in my software, or some vagary of Windows itself.

Eric Tishler
Software Architect
Resolute Partners, LLC
Phone: 203.271.1122
Fax: 203.271.1460
[EMAIL PROTECTED]

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Eric Tishler
Sent:   Monday, April 19, 2004 10:14 AM
To:     NZ Borland Developers Group - Delphi List
Subject:        [DUG] Quick Reports - printing

I realize I am probably just missing something simple here.

I can create a form with a TQuickReport and an associated query. I call the Preview method to display my report. The report runs fine, and my data appears on the page as expected. But, when I click on the print button at the top of the page, nothing happens.

I have a default windows printer set up, and my larger applications with many quick reports (I inherited the whole system a couple of months ago) works great. All the existing reports print out just fine.

What I am trying to do is create stand alone application that I can use the preview screen to open a QRP generated elsewhere and print it out without having to bring one of the reports up on my large scale system.

Does anyone have any idea as to what I might be missing here. Like I said, the reports open from the QRP file just fine, but clicking the print button seems to do nothing. I have even looked for an OnPrint event for TQuickReport, but there only seems to be a OnBeforePrint and OnAfterPrint, neither of which provide any illumination on my situation.

Thanks in advance,

Eric

Eric Tishler
Software Architect
Resolute Partners, LLC
Phone: 203.271.1122
Fax: 203.271.1460
[EMAIL PROTECTED]



_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi



_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to