Missing VFP9.0 print jobs

Tech-Archive recommends: Fix windows errors by optimizing your registry



A topic, maybe related to another thread in this group, "Missing VFP
Printjobs".

We too see "Occasionally print jobs will be sent to it from VFP but they
never
print.". Only we have in in VFP9.0 (SP not applied yet).

What we observe is:
- LAN with misc. types of printers
- Reports have no private data environment, no printer settings
- Setting reportbehavior is irrelevant (tested all options)
- Problem is not workstation or printer related
- Some reports have the problem, some not

When the user clicks the print button, a REPORT FORM ... TO PRINTER is
issued.
Most of the reports have no problem and work well. If there is a problem, we
observe the following behavior:
Choosing Print in the menu results in a REPORT FORM ... TO PRINTER PROMPT.
When the user then immediately chooses OK, we still see no physical print.
When the user first selects a printer (even when it is the default Windows
printer) and then chooses OK, we have a physical print. In the Windows
printer dialog, we always see a job being sent to the printer. However, not
always the job actually prints.

In my printer routine, I go through the following steps:
- .frx is copied to a temp file
- references to network bitmaps are resolved
- tag and tag2 are emptied for objtype = 35 OR objtype = 1
- possible printer references are removed, defaultsource is set to 7
- the report is compiled
- SET PRINTER TO DEFAULT is issued
- the temp report is executed with option "preview", "to printer" or "to
printer prompt"

It seems the problem is related to specific reports. I have opened some .frx
files as a table and looked at the content. I see no differences between
working and problematic reports which could cause this behavior.

Does anyone have experience with this problem and/or has suggestions how to
solve it ?

Kind regards, Nico


.


Quantcast