Print DSO Framer control

J

Jonas Pedersen

Hi,

I use the Microsoft DSOFramer.OCX to host my word documents.
I have some problems printing.

I would like to print without getting the print dialog and all code to stop
executing until the print job is complete.

1) The printout method exposed by the ocx works fine, I can hide the print
dialog, but the I can not set the background property to false.

2) So I tried to get the activedocument which gives me the word_document
interface, and when I call the PrintOut method in here, I can set the
background property to false, but I can not hide the print dialog.

Any help would be much appreciated.

Thanks
Jonas
 
C

Cindy M.

Hi Jonas,
I use the Microsoft DSOFramer.OCX to host my word documents.
I have some problems printing.

I would like to print without getting the print dialog and all code to stop
executing until the print job is complete.

1) The printout method exposed by the ocx works fine, I can hide the print
dialog, but the I can not set the background property to false.

2) So I tried to get the activedocument which gives me the word_document
interface, and when I call the PrintOut method in here, I can set the
background property to false, but I can not hide the print dialog.
By "print dialog" do you mean what you see if you choose File/Print - the
interface where the user sets print options?

Or do you mean the MESSAGE that informs the user which pages are printing? I
don't think you can suppress this with background printing set to false.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top