Solved

OLE printing

Posted on 1997-04-08
1
294 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now