Board index » delphi » QuickReport problem
leeham
![]() Delphi Developer |
leeham
![]() Delphi Developer |
QuickReport problem2003-08-15 08:41:56 AM delphi94 Hi all! The TQuickReport do not has a paper size that I want, so I set a custome paper size. It worked in preview, but I found it printed in A4 paper size format when I printed out. What's wrong did I do? Thank you! Lee |
Anders
![]() Delphi Developer |
2004-01-26 08:18:28 PM
Re:QuickReport problem
When I print a QuickReport I want to have the printer dialog up first to
choose which printer I am going to use. to du this I use Form1->QuickRep1->PrinterSetup(); and then to print: Form1->QuickRep1->Print(); but if I press cancel in the PrinterSetup window I don't want to print out. The PrinterSetup does not return a value, so how can I find out if the user has pressed cancel in the PrinterSetup? Is it another way to do it? Anders |
Antonio Felix
![]() Delphi Developer |
2004-01-26 08:24:05 PM
Re:QuickReport problem
"Anders" <XXXX@XXXXX.COM>writes:
QuoteWhen I print a QuickReport I want to have the printer dialog up first to PrinterSetup() have not been canceled. Ex: try { Rep->PrinterSetup(); if ( Rep->Tag == 0 ) Rep->Print(); else RepAfterPrint(NULL); } catch( Exception &E ) { Msg( "Cannot Print the Report!", E ); } HTH Antonio |
Anders
![]() Delphi Developer |
2004-06-22 05:33:00 PM
Re:QuickReport problem
I would like to print my QuickReports to PDF instead of printer, and I don't
want to show the box where I can select the filename. The filename will always be "c:\pdf\Active.pdf". How can I do that without buying any components? I have got the Adobe PDF writer. Anders |
john blackburn
![]() Delphi Developer |
2004-06-22 06:39:01 PM
Re:QuickReport problem
Anders writes:
QuoteI would like to print my QuickReports to PDF instead of printer, and I files. To do this you use ghostscript; google for "ghostscript". I have found this useful for some time to provide customers with viewable reports over the internet. I set up a directory accessible over the internet via password and set up my PDF print queue to this directory so that I can simply print from quick report to the PDF printer and immediately the output is ready for viewing. |