Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which printer did report actually print to? RDP & TS
Message
De
29/12/2007 16:14:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01278314
Message ID:
01278364
Vues:
17
>Hi
>
>Running remote desktop / terminal services - trying to print to a dot matrix printer using following code
>
>myreport="t:\swedvfp\qclines.frx"
>report FORM (myreport) TO PRINTER noconsole
>
>qclines has printer set up correctly but is not printing to the dot matrix printer
>
>My problem is that I am connected to the machine running RDP over the internet (logmein) so I cannot tell if the report is printing to any of the 20 printers available - is there any way in VFP6 I can get the name of the actual printer returned?

One thing you could do would be to open the print queue for the printer you want to print to, or that you think you're printing to, and pause it. Then print your print job from VFP - either the job will appear in the queue or it won't. If it does, you can resume the queue so the job prints (or just kill it if you don't want to waste the paper).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform