nardmoseley
Comments
-
One option would be to allow the user's to use the end-user report designer
included with RB Professional and Enterprise.
The other option would be to create a custom dialog, similar to the Print To
File dialog. See RBuild… -
1. ArchiveReader and Report, they both descend from a common ancestor,
TppProducer, and thus share many common properties and methods. To use
ArchiveReader...
myArchiveReader.ArchiveFileName := 'c\myReport.raf';
myArc… -
A simple solution would be to generate the report to archive (.raf) and then
use the ArchiveReader to print to the printer. That would cause the pages to
be generated only a single time.
Report --> Archive file (.raf) -… -
One solution would be to generate the report to an archive file (.raf). Then
use the ArchiveReader to print to the entire report to the printer or select
a range of pages and print to PDF.
Demo 124 (dm0124.pas) in RBuilder… -
ReportBuilder uses Windows API commands to draw text and images to the
printer's device context (i.e. the printer canvas).
ReportBuilder does not contain any functionality for processing or
translating PCL pages.
Delete the existing the .bpl and .dcp's and .dcu's related to the
TExtraDevice.
Then recompile again the .dcu's and .dpk's again.
Contact support@waler.com if you need more detailed instructions.
--…
I think what is happening is that the ReportBuilder report is printed by one
print job and each call you make is generating a separate print job also.
You can pause the printer in the Windows Print Queue, then run the report
…
Please do not crosspost. Just pick a newsgroup that you think is best and
post once there.
Report pages (TppPage objects) are generated incrementally upon demand. For
example, if you preview page 1, then only page 1 is g…
Try this...
- set Report.CachePages to True
- create a TppDevice and connect to the report's publisher
- call PrintToDevices
This will generate all pages and the report's publisher will cache them
internal…
You can use the Report.PrintToDevices method to print to any number of
devices simultaneously. Each device can each request which page(s) its need
to receive.
Therefore, you need to create a separate TppPDFDevice instan…
Check out demo 124 (dm0124.pas) in RBuilder\Demos\Reports\Demo.dpr. It shows
how to print a list of pages.
Each device (PDF, Printer) can have its own list of pages that it request be
generated.
--…
ReportBuilder Server Edition is a high performanc, robust, multi-threaded
report server that can run within the context of a windows service and can
run under the local system account.
An overview of its architecture can…
If you need a server, I recommend evaluating RB Server Edition.
1. The Windows user account under which the application is executing needs
to have a valid printer driver installed. A windows service typically runs
under …
1. You should use the Report.OnPreviewFormCreate event to access the
PreviewForm
2. The problem with your current code is that Reprot.PreviewForm is nil. The
preview form is not created when the report is printed to the …
ReportBuilder uses standard Windows API commands to render to the printer. I
do not know what the difference might be.
1. Try running the application under profiler such as AQTime to see where
the bottle necks are.
…
Sending a text file to the printer uses a global instance of the Delphi
TPrinter class. You can use the Delphi Printer function to access the global
printer object. The TPrinter.Printers property contains the list of
installe…
By design, Printing to a text file, simply creates a .txt file.
If you want to print to the printer....
a. Print directly to the printer (do not create a text file)
OR
b. Print to the .txt file and t…
If Report.ShowPrintDialog is set to True, then the PrintDialog will be
created internally. The OnPrintDialogCreate event will fire just after the
PrintDialog is created. The Report.PrintDialog property will be non nil in
this…
Report.PrintDialog is created and free'd internally when you print a report.
You can use the OnPrintDialogCreate and OnPrintDialogClose events to access
the print dialog.
--
Nard Moseley
Digital Me…
Create a main report with no header/footer - just a detail band.
Place multiple subreports in the detail band and set each to PrintBehavior
of pbSection and then set subreport NewPrintJob to True.
main
detail…
-------------------------------------
Tech Tip: Detect PrinterSetup Changes
-------------------------------------
Q:
I want to check the printer setup after the user has closed the print
…
Please limit the use of the ! symbol.
In this context, that symbol in no way contributes to the description the
issue.
The Tech Support team here thanks you in advance....in No Events FIIRED!!!!!!!!!!! Comment by nardmoseley October 2005
Try the following:
if myReport.DisplayAutoSearchDialog then
myReport.PrintToDevices;
By design, the PrintToDevices method does not display any dialogs. That is
what the Print method is designed for - i…
For the first report in an application, there is some additional overhead to
initialize the printer. For subsequent reports that are printer, this is not
necessary.
On most machines the initialization is not noticeable. …
Demo 123 (dm0123.pas) in RBuilder\Demos\Reports\Demo.dpr shows how to
print multiple reports as one print job. Did you look at the example? Why is
it not helpful?
Demo 123 (dm0123.pas) in RBuilder\Demos\Reports\Demo.dpr shows how to print
multiple reports as one print job.
1. Below is an article about printing to conintuous paper - that sounds like
what you are trying to accomplish.
2. To combine multiple reports into one, you use subreports
-------------------------------------…
Please run RBuilder\Demos\Reports\Demo.dpr and check out the Printer
section. There is an example there.
1. Check the declaration of the TppDrawWPTRichText class and make sure that
TppDrawWPTRichText.EMFStrem is declared as a published property and that it
is supported in the Assign method.
2. Modify the Delphi environment …
Make sure that to include the relevant WPTools units in the 'uses' clause of
the ArchiveReader app (if its a separate app).
Otherwise, you might contact WPTools about this..