Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActivePrinter in Excel
Message
De
15/08/2001 07:37:09
 
 
À
15/08/2001 06:24:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00543937
Message ID:
00543961
Vues:
23
Hi Cetin,

I don't know why it is a problem either, and as you remarked it is very difficult to obtain the ne3: from any function.
Apparantly Excel needs it when setting the activePrinter property (not always though, I can set the printer to acrobat PDF writer without problems, maybe it has something to do with domains?). Anyway, using the printer in the printOut method seems to work, so I'll try that.
When I try the following in Excel, the first line will generate an error, the second will work, so I expect this will work from VFP as well.
Application.ActivePrinter = "\\HMISERVER02\hp4000"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\HMISERVER02\hp4000", Collate:=True


Thanks for you help,

Auke
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform