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

Error on printing in background

edited August 2003 in General
Hi,

I am using D7 Ent with Rep.Build 7.02 and Apollo 6.0

I made a report (one page). Print only current record.

The record is retrieve by SQL QUERY from APOLLO.

Printing is OK on PREVIEW. But when a I send it to printer:

- if printed in background, page is empty (blank page)
- if didn?t print in background, page is printed OK.

I am not using cached pages and I am using only one pass.

I also have AllowPrintToFile enabled and Extra Devices installed.

Could you give some hints to solve this problem?

Best Regards

Sergio Melchiori
smelchi@bol.com.br


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003

Comments

  • edited August 2003
    Did you make your data access threadsafe? Printing in the background
    actually clones your form and then runs the cloned report in a background
    thread. Do you have code on the form that would break this assumption when
    trying to run the report in a thread? Check out the help file on
    BackgroundPrinting in RB for more detailed information on how it works and
    the assumptions it needs to make in order to work best in a background
    thread. Can you reproduce the problem with our demo reports and send us an
    example to support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.