Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: I need to print a Word document from my application  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

DoctorJellybean

    Topic Starter


    Rookie

    I need to print a Word document from my application
    « on: June 21, 2009, 12:56:54 PM »
    I have achieved the most important goal, which was to populate some Word documents with data from my application. I managed this with the aid of Bookmarks in Word, and the OLEServer in Delphi.

    Now what I would like as the topping on the cake, is being able to print the same document from the program. From what I understand, the program connects to the document to fill the data in, it doesn't actually load the doc. Therefore, is there a way to connect to the doc file and print it? Ideally I would like the printer dialog displayed so that I can select the printer, pages, etc.

    I'm using Delphi 2009.

    Thanks in advance.
    « Last Edit: June 21, 2009, 01:37:46 PM by DoctorJellybean »