Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which printer did report actually print to? RDP & TS
Message
From
29/12/2007 16:14:33
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01278314
Message ID:
01278364
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform