Solved

OLE printing

Posted on 1997-04-08
1
296 Views
Last Modified: 2010-04-03
Hello, ppl!
The problem is that I just can't print from OLEContainer object. :( Object contains a document, transferred from MSWord. I've GOT to print it's contains, but have no ideas about how to... There are no usable features for OLEContainer that could help me. Please assist!

 Thanks in progress,
              WizzarD.
gw@paul.cclu.lv
0
Comment
Question by:wizzard
1 Comment
 
LVL 2

Accepted Solution

by:
kolarb earned 100 total points
ID: 1335246
I have the same problem using the MS webbrowser control as an OLE2 object. The solution is to pass it an OLECOMMANDTARGET procedure with some parameters about printing (see my question on MSWEbBrowser and Delphi printing). The problem is that this was not implemented yet in Delphi 2 (perhaps Delphi 3). Visual C++ 4.2 (I believe this is the first one with this implemented) has it. So no go here. Try spying on MS Word and seeing what messages it send around, perhaps one of those would suffice. Another solution would be to send some hotkey word designated for printing (like ^P). I hope this helps...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question