Skip to main content

[Migrated content. Thread originally posted on 09 May 2005]

Hi all,

I want to select some printer settings in my ACU program (like which printer, duplex printing, landscape printing, and some other settings), and then call Word using Active-X, and pass these settings to Word, so Word can print them to the correct printer and use the previous selected printer settings.
Does someone have a small example how to pass these settings to Word?

Thanx!

[Migrated content. Thread originally posted on 09 May 2005]

Hi all,

I want to select some printer settings in my ACU program (like which printer, duplex printing, landscape printing, and some other settings), and then call Word using Active-X, and pass these settings to Word, so Word can print them to the correct printer and use the previous selected printer settings.
Does someone have a small example how to pass these settings to Word?

Thanx!
Have you checked the PrintOut method of the Application object?

[Migrated content. Thread originally posted on 09 May 2005]

Hi all,

I want to select some printer settings in my ACU program (like which printer, duplex printing, landscape printing, and some other settings), and then call Word using Active-X, and pass these settings to Word, so Word can print them to the correct printer and use the previous selected printer settings.
Does someone have a small example how to pass these settings to Word?

Thanx!
Have you checked the PrintOut method of the Application object?

[Migrated content. Thread originally posted on 09 May 2005]

Hi all,

I want to select some printer settings in my ACU program (like which printer, duplex printing, landscape printing, and some other settings), and then call Word using Active-X, and pass these settings to Word, so Word can print them to the correct printer and use the previous selected printer settings.
Does someone have a small example how to pass these settings to Word?

Thanx!
i have checked the printout method, but can't find how to pass the selection of which printer to print on.

[Migrated content. Thread originally posted on 09 May 2005]

Hi all,

I want to select some printer settings in my ACU program (like which printer, duplex printing, landscape printing, and some other settings), and then call Word using Active-X, and pass these settings to Word, so Word can print them to the correct printer and use the previous selected printer settings.
Does someone have a small example how to pass these settings to Word?

Thanx!
Ok, seems you have to set that with the ActivePrinter property. When you do this however, according to bug reports on MSDN it seems setting this one also changes the system default printer. Which means you should first inquire this one for its current value, store this, set your printer, then when finishing your print you set it back again.

I guess it might as well be an idea to make a test program to see that the printer names it anticipates corresponds to what you get from the WINPRINT opcodes.