Solved

OLE printing

Posted on 1997-04-08
1
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dev Express grid collapse 2 55
how to resize animated Gif image in delphi ? 1 61
How to build JSON File in Delphi 6 3 94
Delphi Seattle StructureView color 1 34
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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