Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer do not print but keep in spooling status
Message
 
 
À
04/05/2011 13:43:15
Alex Zhadanov
Computer Generated Solutions
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01509436
Message ID:
01509445
Vues:
40
>>>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?
>Thanks for fast reply. yes i tried delay for 5 sec and did not help.

How about SendKeys with the Enter ?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform