Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer do not print but keep in spooling status
Message
 
 
To
04/05/2011 13:25:07
Alex Zhadanov
Computer Generated Solutions
New York City, New York, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01509436
Message ID:
01509437
Views:
41
>Hi, I've already spent too much time trying to resolve this issue.
>Problem is that in Queryunload event i put code which send information to the network printer.
>I could see that printer shows that my report in queue but in spooling status and do not print.
>When i run program in DEBUG mode and stop before REPORT FORM command and press step out - print works ok.
>But when i delete SUSPEND (or ASSERT .f.) command it does not print (but put work in the queue).
>I tried to put SET PRINTER TO command after report form but it did not help.
>I noticed that any stop (like message box) make it work but when it runs without any stops it does not work.
>Thank you in advance.

Have you tried adding a sleep command (or inkey) with 0.1 second delay?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform