I'm trying to control a MS Word document via OLE. It already loads the
document and prints it, but does so with the default printer values. I know
that the printer options can be set, I even know where to set them, but I
don't know _what_ to set[1]. MSDNs documentation has nothing except a
description of what the method does, nothing about its parameters. Anyone
know where I can get that info?

Also, once I figure out how to tell Word what I want, I face another
problem. How to get the info gathered by my TPrinterSetupDialog. The Execute
method returns only True or False, and there are no properties or methods to
retrieve the information I need[2].

Thanks.

========================================================
 Luke Pascoe                          Junior Programmer
             enSynergy Consulting LTD

 [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
 Level 4,   10-12 Federal St,   Auckland,   New Zealand
 PO Box 32521,  Devonport,  Auckland 1330,  New Zealand
========================================================

[1] Example of Word print command:
      FPrintProgram.Application.ActiveDocument.PrintOut(Copies := NrCopies,
Collate := True);
    "Copies" and "Collate" are printer setup options, What other options are
there?

[2] Paper orientation (Portrait/Landscape)
    Paper tray to use
    Etc.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to