Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to name weird error
Message
From
23/11/2006 10:04:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Set printer to name weird error
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01172057
Message ID:
01172057
Views:
79
alltrim(Imprimantes.imprim) and oApp.cNomImprim contain the same string


lcPrinter = "set printer to name alltrim(Imprimantes.imprim)"
&lcPrinter

No problem after execution




lcPrinter = "set printer to name oApp.cNomImprim"
&lcPrinter

After that execution I receive Error accessing printer spooler (Error 1957)

What's wrong here?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform