Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO NAME doesn't seem to work
Message
From
14/04/2000 20:02:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00357635
Message ID:
00359934
Views:
8
I'm sorry, I didn't catch that when scanning your first message. I have been running my apps from either win95, win98 or win2000 workstations on an NT server...

Apples and Oranges...

My 2 cents did not help you :-)



>You said NT network, but did not specify what the workstation OS was. At least in VFP5, NT does not respect the set printer to name. NT will only recognize UNC printer names (set printer to \\server\printer).
>
>My VFP app was running on a mix of Win 95 and NT Workstation machines and when I wanted to programmatically select the printer (like sending invoices to the invoice printer) I had to check the OS at program start and use code like this:
>
>if mOpSys = 'NT'
> set printer to \\atmex\invoice
>else
> set printer to name 'invoice'
>endif
>
>repo form invoice to print noconsole
>set printer to default
Thanks,

Stacy



Black Mountain Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform