Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Trying to direct print spooling is super slow / doesn't print. Please Help!

edited June 2003 in End User
Hello!

I have D5 and RBPro71D5

I am trying to load an RTM created with the TppDesigner at runtime into a
TppReport object. When I call the .Print method it starts spooling but
spools really slow. If I exit my program, it finishes spooling and prints
right away. Even when it finally crawls to it's magic number, it still
doesn't print unless I exit the program. This is just a one page report,
that does have graphic boxes in it, alot of text and not all that much data
(only one record ever with about 150 fields). It's about 813k, what it is
trying to spool. I have 256 meg of ram with like 50% available at time of
printing and lots of free hard drive space free, and this is a local
printer.

This is what I am doing:
ppReport1.Template.FileName := 'myfile.rtm';
ppReport1.Template.Load;
ppReport1.PrinterSetup.PrinterName :=
Printer.Printers.Strings[Printer.PrinterIndex];
ppReport1.PrinterSetup.Copies := 1;
ppReport1.DeviceType := dtPrinter;
ppReport1.Print;

Any advice or suggestions would be greatly appreciated. Thank you!

Comments

  • edited June 2003
    Another point of interest, I found that if I set ppReport1.ShowPrintDialog
    := True then it prints right out. I would rather not have the dialog
    though. So any suggestions would be really appreciated. Thank you!

  • edited June 2003
    Hello,

    This is not a known problem with ReportBuilder. Please send an example that
    demonstrates the problem to support@digital-metaphors.com and we'll take a
    look at it for you.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.