digitalmetaphors
Comments
-
-------------------------------------------------------
Tech Tip: Printing a Unique Caption for each copy of
of a multi-copy report sent to the printer.
-------------------------------------------------------
I'll try to explain this a little differently. Imagine that you have two
applications. The first application is able to compile the other. Let's
say that you have a class in a pas file of the to-be-compiled application,
but you need…There was a thread on creating a RAP global variable in Delphi code, in the
RAP newsgroup. Search for the threads dated 3/16/2002 and 3/17/2002 which
show how to create a global variable and how to initialize them by creating
a globa…This is a multi-part message in MIME format.
This is the intended behavior of the RAP runtime engine since the dataset
fields can change when the report prints. This can be caused by having
AutoCreateFields set to true on the data pipeline(s).
--
Cheers,
Al…See this sample demo for an example of how to do this:
http://www.digital-metaphors.com/tips/PercentageOfGroupTotal.zip
--
Cheer…Which version of RB are you using? Try upgrading to RB 6.03 to see if that
solves your problem. Does this behavior happen with a single report or with
any landspace report? Try printing a static, single page report with minimal
elemen…PrintToDevices never shows any dialogs, only Print.
You can instantiate and display the dialog in code though.
See the PrintToPrinter method in ppProd.pas for an
example...
To show the dialog box set the report's DeviceType property of the report to
'Printer' and call Print rather than PrintToDevices, ie.
ppReport1.DeviceType := 'Printer';
ppReport1.Print;
--
Cheers,
Alex…Please try these basic guidelines to see if they might help you track down
the problem. If you are using any of your own positioning variables in any
event handlers, make sure you reinitialize those in the report's BeforePrint
event. …Place the memos in a region and place the barcode in another region. Set the
region with the memos to Stretch so that it will stretch with the longest
memo. Lastly, set the latter region's ShiftRelativeTo property to the former
region…There is no native option to make the TeeChart ParentWidth and ParentHeight
but you can manually manipulate the size of the Chart based on run-time
parameters in it's OnPrint event.
--
Cheers,
Alexander KramnikCurrently the RichText editor only supports loading txt and rtf files.
InfoPower provides enhanced RichEdit components that support the MSWord
document format. See www.woll2woll.com/infopower/ for more information.
Also, make sure to …You will have to manually handle 'remembering' which reports were expanded
before expanding them all for printing. You can do this by keeping a list or
an array of value and marking the ones that the user expands before
printing. Afte…The reason that you are getting infinite pages is because you are calling
Print yourself and when the print dialog closes Print is called again. Each
of these will recurse into further Print calls. There are two ways to expand
all dri…You can set the ExpandAll property of the subreport to True before calling
Print on the report. You can also take a look at the sample demo below of
how to modify the print preview screen to give the end user the ability to
control wh…You can accomlish this by placing the desired content in the summary band
which prints at the very end of the report. The Summary band has a
PrintPosition property which you can use to position the band at the bottom
of the page rathe…This demo calculates this in the detail band's BeforePrint event:
http://www.digital-metaphors.com/tips/GroupFooterTotalOnLastDetail.zipPlease upgrade to RB6.03 which should hopefully solve that problem. Contact
info@digital-metaphors.com with your registration information. Is there
anything else fundamentally different about the machines on which the errors
occur oth…Add these units to your uses clause:
ppChrt, ppChrtDP
Cheers,
Jim Bennett
Digital Metaphors
Don't nil out the bands or groups, just set their visible properties. The
bands won't generate if they aren't visible. You can leave the group
attached to the report, you just need to set the group object's properties
so that it won…There is a group object on the form, ppGroup1 for example. Instead of trying
to nil its report property, you should set the group header and footer bands
to visible = False and set the group StartNewPage property to False.
What exception are you receiving? Make sure you store the reference to the
group object property because once you set the group's Parent property to
nil you can't access it though the Report.Group property anymore.
--
Cheer…You can disable or reanable the group be setting it's report property, ie.
ppReport.Group[0].Report:= nil;
--
Cheers,
Alexander Kramnik
Digital Metaphors
Each RichText component has it's own RichText string reference. Therefore if
you need multiple RichText components throughout the detailband, because of
the way dDlphi handles string references, the best solution would be to copy
the …You can use a TppRichText component and load the RichText data into the
component's RichText property from the memory stream either in the OnPrint
event of the component or any other event that is guaranteed to fire before
the compone…Using a thread would be the way to go here. You would create descendant
class of TThread, pass it a reference to the report you are printing, and
print the report in the thread's Execute method.
--
Cheers,
Alexan…Sorry, for the trouble over the past couple of days. We have the new
(final) news server up and running. Resetting the local cached messages
seems to work. If it doesn't then you can delete the news server account
and adding us as …I downloaded the TSP743 driver from Star and attempted to reproduce your
problem by setting up two printers, with the one using the star driver set
to default, and printing to a different printer. I didn't get the blank page
behaviour…Please upgrade to RB 6.03 which should, hopefully, solve the problem you are
encountering. Contact info@digital-metaphors.com with your registration
info.
--
Cheers,
Alexander Kramnik
Digital Metaphors
…