Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer SHARE name
Message
From
23/01/2014 17:09:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01592352
Message ID:
01592358
Views:
68
>Hi Gang!
>
>My colleague has a question....
>
>"I need to get the printer SHARE name for the default printer in Visual FoxPro application."
>
>So, how to do this?
You could look at:
SET( "PRINTER", 1 )
SET( "PRINTER", 2 )
SET( "PRINTER", 3 )

and/or
APRINTERS( )
I don't have a network-shared printer here to test, maybe the port information in SET( "PRINTER", 1 ) is what you need.
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