digitalmetaphors
Comments
-
Are you controlling the datset in any way? You should connect the Teechart
to one of our TppDataPipeline components and let the pipeline open and close
the dataset for you automatically.
Can you print a non data aware chart as … -
Take a look at the main reports demo #107. It prints to a report emulation
text file. You can then send this text file to your dot matrix printer.
Cheers,
Jim Bennett
Digital Metaphors
---------… -
From my experience, RB can pretty much do anything. I reread from the top of
this thread. You have a data pipeline. It works fine. You want more
information from a different query on top of this query.
Limitations are such that … -
You'll have to fire a parameterized query to get this record information as
the other query is traversed by RB. You'll need a separate datasource and
datapipeline to add a new field for this report. You can connect the DBText
in the … -
You won't want to change the query as the report is running. Two options
exist.
1. Define a field on dataset (use a SQL query) which is a calculated field.
This field will show up in the datapipeline and you can then assign it … -
Check for multiple versions of the same dcu. If Delphi can find an older
one with debug info, while debugging, it can throw the breakpoints out of
alignment on the pas file that you have open in Delphi.
I ran your code and the … -
The easy part will be printing all customers as one print job. Use one
TppReport and run it over all the customer data. Call Report.Print.
The TppDBArchiveDevice is on the todo list. So, we have to use an alternate
method. T… -
You'll want to convert the image format into a format that can be loaded
into a TPicture. I searched google.com for converters but only came up with
Autocad specific ones, ie. DWG to DWF. See if you can find anything on the
web to c… -
Are you running a modal or non modal preview? Can you reproduce the problem
with our installed MDI example and send it to us at
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
You need to call Report.Reset and then Report.Print in order to cause the
report to regenerate for the new data and not reprint the pages from the
page cache created from the first report.
Cheers,
Jim Bennett
Is the datapipeline hooked up to the report?
It should not print infinite pages. See the tech-tips newsgroup for
configurations in which you can get inifinite pages generated.
If you want to force the report to print a sel…You'll have to write you own text file device. The devices are extendable.
See ppFilDev.pas for the code to the current text file devices. A simple
example is if you want to change the quotations in a device. I've posted a
link to a …Hi Adam, you could create a custom device. How do you want to store the
report output? You could create a native report archive file (raf) and save
that to the database by streaming it directly to a BLOB field as shown in
the main re…It works correctly on our machines. Try updating your video driver to the
latest available from the manufacturer. Can you test on other machines?
Feel free to send us a demo project that shows the problem to
support@digital-metaphors…You can dynamically create subreports to do that. Set the PrintBehavior
property of the subreports to pbFixed and the subreports will print on a new
page everytime. See the help on this property.
The screen device is meant to p…The easiest thing to do is going to be to dynamically build three section
style subreports in an empty main report and then load the three reports
into the subreports. Then print the main report.
Here is an example of creating a…Thanks for reporting the issue. It has been fixed for the next release. You
can add these two lines to the print dialog code in ppPDlg.pas and rebuild
using RBuilder\Source directory instead of RBuilder\Lib to use these
changes.
Your main application is either using most of the resources on the machine
or it is leaking resources, to the point where the images can't be printed
form the main app. When printing from archive, the images are still the same
size an…Can you generate the report to an archive file and then print the archive
file using the TppArchiveReader? If you can preview the images in the
archive reader, then that means that you can build a test application that
simply is a for…The first step is to download the latest printer drivers. Then let's take
your application out of the equation. Create a new application which only
prints this one report. How does this print? If it prints ok, then check
for resource…There was a problem in RB 6.03 in which reports may not regenerate when sent
to a non default printer. Try testing with RB 7 as the first step. You can
download the demo version of RB 7 to test the first 5 pages before buying
the ful…If you have rtf that uses other features than the TRichEdit can handle, such
as embedded images, OLE, ...etc then you'll have to write a wrapper
component. Search our newsgroups on TRichView. I believe one customer wrote
one, but I co…What you can do is stream the rich text from the TRichView to a TppRichText.
Here is how you would do it for a TRichEdit:
------------------------------------------------
Tech Tip: Copy RTF data from TRichEdit to TppRichText
If you want to remove the print dialog then make this call to remove ours
which is registered by default
uses
ppForms;
...
ppUnRegisterForm(TppCustomPrintDialog);
Then register your new form
<…There is a patch to fix this. Send an email to support@digital-metaphors.com
and we'll reply with a patch source file attached.
Cheers,
Jim Bennett
Digital Metaphors
---------------------------------------------------------
Tech Tip: Define Master/Detail DataPipeline Links in Code
---------------------------------------------------------
Defining a Master/Detail relationship for a DataPipeli…The header band needs to be set to visible = true on teh first page, then
false for evey page after. The fixed length file device output is really
what you should probably use, but it sound sas if the report emulation text
file works …You'll have to reposition the controls to map to the character map on the
page in 1/6 inch increments. See the main reports demo #107, as it uses
this approach to print specifically for the report text file output.
Courier is good. W…Have you tried setting DeviceType = ReportTextFile instead of TextFile. This
should create the "columns" in the file that you are looking for. This is a
report emulation text file output.
Cheers,
Jim Bennett
What version of ReportBuilder, Delphi, Windows, Printer/driver? If it is
only a problem on one machine, then we usually try using a different pritner
driver when strange errors occur, because the drivers are flaky at best, and
RB rel…