digitalmetaphors
Comments
-
The report generates using the printer driver for both the screen preview
and the printer, in order to determine the pagination. The first thing to
try is to have your client update to the latest printer driver. Does this
happen with … -
Do our reguler demos print dialogs run correctly with the PDF device? In my
tests today, I have set the text file name and use the PDF device, and the
browse button is enabled. I'm not able to reproduce the problem and it is
not a kn… -
Do other devices work (other than the PDF device)? I haven't heard of this
behavior before. Can you create a simple project that reproduces the
problem? Try to reproduce it using RB 7.01 to see if the problem goes away.
I tested… -
I forgot to add. You also need to remove any old RB and ExtraDevice source
directories from your library path, which is causing the conflict. When you
recompile the extra device package, make sure you are using the latest RB
7.01 dc… -
You have to recompile the ExtraDevice package:
I. TExtraDevices
-------------
1. Select Install Packages in Delphi.
2. Remove the TExtraDevices package (xtradev.bpl).
3. Open xtradev.dpk in the Ext… -
I can send you a patch to fix the problem, so that it works as it did in
6.03. Shoot an email to support@digital-metaphors.com and we'll reply with
a runtime patch for this issue.We rebuilt the installs earlier today to
correct anoth… -
Please do not crosspost.
Cheers,
Jim Bennett
Digital Metaphors
-
On a dot matirx, what you could try is to print a text file to the printer.
Use the report emulation text file to create the file, then send that to the
printer. Here is how to print a text file to the printer:
-----------------… -
Please upgrade to the latest printer driver from the printer manufacturer's
website. Most likely it is a problem with the driver.. Can you test by
making a different printer the default? It sounds as if the printer driver
is causing … -
You are using the correct event on the ArchiveReader. The problem is that we
do not use Delphi's TPrinter. We have our own TppPrinter class, which is
more OO for our needs:) Set the ArchiveReader.PrinterSetup property instead
and it s… -
The first option is to toggle the DirectDraw property of the report image
component. Make sure Transparent is set to false as well on the image
component. Also update to the latest printer driver possible from the
printer manufacture… -
Feel free to send the project to us and we'll print the image reports.
Approximately, how soon would the images begin this problematic behavior
once printing begins?
Cheers,
Jim Bennett
Digital Metaphors
Transparency must be set to false for the best chance to print an image on
some printers. Are there any other printers which do print those images from
RB? Can you try an HP LaserJet 4 driver? We have had reports in the past
where res…Try toggling the DirectDraw property on the image component and see if that
helps. Make sure Transparent is also set the false on the image component.
Cheers,
Jim Bennett
Digital Metaphors
Here is an example showing how to have the page change every 3 seconds.
http://www.digital-metaphors.com/tips/TimedPageChange.zip
Chee…If you know you are making the call to ppReport1.Print and ppReport2.Print,
then place register calls around it to register one dialog or the other.
Otherwise, register the standard print dialog TppPrintDialog. Is this
possible with y…Use the ArchiveReader's OnInitializePrinterSetup event. You can set the
printer setup in this event, but you'll have to rearrange the draw commands
on each page to fit for the orientation. The archive is generated for a
specific outpu…Search your hard drive(s) for TXUTILS.* You should find it in your
installed ExtraDevices directory as this is a TExtraDevices unit and not a
ReportBuilder unit.
Cheers,
Jim Bennett
Digital Metaphors
…There should only be one FPrinterDevice object, do you create one everytime
but not free it? Make a call after PrintToDevices:
FPrinterDevice.Publisher := FMedicalReport.Publisher;
FMedicalReport.PrintToDevices;
FPrinterDev…Do you get leaks when running our main reports demo project? Run report
#107. It prints to ReportTextFile. If you find that it doesn't leak, then
please send a simple example that shows that RB is leaking to
support@digital-metaphors…Please see the RichText articles in the TechTips newsgroup for more info.
If you want to revert to the old RichText behavior, add an initialization
section to the bottom of your unit:
uses
ppDrwCmd;
initializat…Use the OnSelectionChanged event to grab a handle to the component which is
currently selected. The OnDrawItem event should fire after that, because the
user must select the combo box in the toolbar after selecting a component.
Have y…That event is the way to get at the current selection. Otherwise, the
designer form's ActiveControl property returns a TEdit which is a
"KeyCatcher" that listens to the keyboard strokes made while the designer is
open.
Inside of the designer's OnSelectionChanged event, you can get the selected
components:
procedure TForm1.ppDesigner1SelectionChanged(Components:
TppDesignerSelectionList);
begin
Components[0].ClassName;
end;
The device doesn't support rich text.
The device architecture is extendable. You can register a replacement report
text file device to add this capability. Here is an example of replacing the
regular text file device to get a de…What version of RB are you using for this report? Please upgrade to RB 7.01.
If you are using RB 6.x, there was a bug in that the report may not be
correctly regenerated for a different printer. Order from our website
www.digital-meta…-----------------------------------------------
Article: Printing to Dot Matrix Printers
-----------------------------------------------
Dot matrix printers are natively line and character based. Most dot matrix
printers ca…Try configuring and printing our installed RBuilder\Demos\1.Reports\ demo
#107 to the dot matrix printer.
Cheers,
Jim Bennett
Digital Metaphors
Try printing the report to a report emulation text file as shown in the main
report demos #107 and then send that text file to the dot matrix printer.
-----------------------------------------------
Tech Tip: Send TextFile…Please see the tech-tips newsgroup article on "TroubleShooting: Report
Prints Endless Pages". It is located in the General thread of that
newsgroup.
Cheers,
Jim Bennett
Digital Metaphors