Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Préférences et options d'impression

1 réponse
Avatar
David C.
Bonjour

je lance parfois des impressions depuis VBA sous word ou excel.
Toutefois, j'aimerais ne pas me contenter de choisir l'imprimante,
j'aimerais aussi choisir les détails d'impression (préférences, la seconde
fenêtre d'options qui s'ouvre quand on imprime à la main...)

comment faire ça en VBA ?

--
David C.

1 réponse

Avatar
David C.
J'ai obtenu une réponse (sur un autre forum) par un bon spécialiste
c'est en anglais mais au moins c'est une bonne source d'information

série d'articles:

Controlling the Printer from Word VBA
by Jonathan West

Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID1

Part 2: Using VBA to control Duplex, Color Mode and Print Quality
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID6

Part 3: Dealing with Different Paper Sizes
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID2

Part 4: Getting printer driver details
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID3


en espérant que cela servira à d'autres personnes...