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

Printing Problem when printing to Printer

edited January 2002 in General
Hi,
I am using Report Builder 5.
I run a report - my data displays in the viewer fine. When I click the Print
Button, I see a dialog containing the following message:

Printing page 0 for report ppReport on the Acrobat PDFWriter


and it just stays stuck there.

Does anyone have any ideas about what is going on here??


thanks,
Sincerely,
John Scalco

Comments

  • edited January 2002
    Does it print to other devices correctly, ie. printer, html...? If it
    doesn't print to the printer after previewing, then it sounds like a faulty
    calculation. If the pages aren't cached from the preview, then check to make
    sure that all Delphi report variables are reinitialized in the
    Report.BeforePrint event.

    If it does print to all other output devices, except PDF, then contact the
    author of the add-on output device.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2002
    Jim,
    thanks for the response.

    I'm only using the Report Builder Pro - no add-ins. I'm Printing to a
    Printer - PDFWriter is a Printer, which you can print to - this works fine
    and I have done it with ReportBuilder before, so that's not a problem -
    considering that I also changed my printer to a regular paper type printer.

    What's interesting is that the first time I try to print I get the message I
    described


    I give up and click cancel and then click the Print Icon in the Report
    Viewer again and then it prints fine.

    any thoughts ?

    thanks,
    John Scalco



  • edited January 2002
    Try calling ppPrinter.Initialize. Sounds like the driver intialization takes
    a long time, so you'll want to do this before the first time you print. Add
    ppPrintr to your uses clause.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2002

    I'll give that a try,
    thanks Jim.

    Sincerely,
    John Scalco



This discussion has been closed.