Information générale
Catégorie:
COM/DCOM et OLE Automation
I don't know if you can just bring up the print dialog and stop right there for the user to choose or not.
You can set the printer for output by doing the following (assuming oWord is a Word.Application object):
oWord.ActivePrinter="HP LaserJet II" &&or whatever
I don't have an answer for the "waiting to quit until printing is done" question. Maybe there's a property of the Word.Application object that contains the current print status or some such. Perhaps someone else will jump in on that one.
--Brad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement