Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote Printing VFP - Terminalservices
Message
From
17/04/2006 14:59:00
 
 
To
12/04/2006 10:32:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01112897
Message ID:
01114131
Views:
17
Step through the printer names in aprinters() and check for a matching printer name without the "SESSION" portion (including the session number) in it. When we connect via terminal server, the printers are always identical (if setup in terminal server) except the session number changes. The printers used by the app only exist in terminal server, not on the workstation outside of terminal server.

>Hi,
>I wonder if somebody has experience and ever could perform a script, which would define the printer driver names at the time of logging onto terminalserver from VFP.
>If the printer driver name on the workstation and the printer driver name on the terminalserver are absolut identical, remote printing works fine.
>But sometimes with some printers the driver name is slightly different, if I install the printer physical on the workstation and the driver only with CD on the terminalserver.
>I know that there is a way in terminalserver scripting to tell remote printing, that printerdriver "abc123" from the workstation should be connected to the printerdriver "abc112233" on the terminalserver.
>I just have no clue, how to start such a script, when I connect to the terminalserver with the RDP connection.
>
>Thanks everybody in advance
>
>Johann Pietschnig
>pietschnig@usa.com
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform