Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO NAME doesn't seem to work
Message
De
14/04/2000 20:02:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00357635
Message ID:
00359934
Vues:
9
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform