Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still problems with too many copies for report
Message
From
09/11/2007 14:34:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Still problems with too many copies for report
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01268095
Message ID:
01268095
Views:
50
Hi,

My users can select a report and specifiy the number of copies - long reports run from the server so they input the number of copies on a print dialog form and my app then passes it off to a server app that loops the required number of times to print the report e.g.

FOR lnAtCopy = 1 TO .inNumCopies

REPORT FORM ... etc.

ENDFOR

Starting with VFP9, they don't always get the correct number of copies - sometimes not enough and then sometimes the printer keeps going and going until it runs out of paper.

I have turned on the printer option "keep printed documents" to capture the spooler file but I cannot decifer it (it is not PCL I found out - it seems to be "Enhanced Meta File"?) so all I have is the size of the file to look at - and it does not seem larger than normal (and therefore I do not thing VFP is looping too many times). I have tried all kinds of settings (using HP PCL5 instead of 6, HP PS (postscript), bypassing the spooler (causes crashes on large reports then) with no luck.

Anyone else seen instances when the number of copies if off? I *have* to use VFP9 style of reporting as I have to use a report listener (for other reasons).

Note that the users do not want to run the reports from their workstations as it ties up their machines for too long.

Thanks,
Albert Gostick
Next
Reply
Map
View

Click here to load this message in the networking platform