Printing Word OLE.

We are experimenting with an OLE Word interface for maintaining complex

document

details (and then storing them in Oracle).

We have achieved a satisfactory client interface and have no problems

storing

the data.

However we can't seem to be able to print the word document.

This is the 1st time we have used Word OLE and I think we might be

barking up the wrong tree a bit.

Has anyone else used a Word OLE interface, if so how did you print ?

Regards,

Chris Will, Analyst, DET Sydney Australia

[574 byte] By [] at [2007-11-25 4:59:17]
# 1

We print Word documents using the OLE interface. We do it using an

Application.Printout() call. We also had trouble getting it to work until

we moved the call from a server partition service object to a client

partition.

Jay

Will Chris <chris.willdet.nsw.edu.au> on 01/16/2000 05:37:00 PM

To:kamranaminyahoo.com

cc:(bcc: Jay Gassette/AE/DuPont)

Subject: (forte-users) Printing Word OLE.

We are experimenting with an OLE Word interface for maintaining complex

document

details (and then storing them in Oracle).

We have achieved a satisfactory client interface and have no problems

storing

the data.

However we can't seem to be able to print the word document.

This is the 1st time we have used Word OLE and I think we might be

barking up the wrong tree a bit.

Has anyone else used a Word OLE interface, if so how did you print ?

Regards,

Chris Will, Analyst, DET Sydney Australia

--

For the archives, go to: <a href=

"http://lists.sageit.com/forte-users">http://lists.sageit.com/forte-users< ;/a> and use

the login: forte and the password: archive. To unsubscribe, send in a new

email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

at 2007-6-29 9:16:03 > top of Java-index,Application & Integration Servers,Integration Servers...
# 2

Hi Will.

Using PrintOut() command of Word.Application is one way.

The other way is not to use OLE at all, but instead use word start up flags,

and just run a operating system command that will include winword.exe, your

document and a print option. Something like this:

cmnd : textData;

cmnd = '"C:\\Program Files\\MSOffice\\Winword.exe" C:\\ForteDocs\\theDoc.doc

/mFilePrint';

task.part.os.Runcommand(cmnd);

--Original Message--

From: Will Chris [<a href=

"mailto:chris.willdet.nsw.edu.au">mailto:chris.willdet.nsw.edu.au</a>]

Sent: Sunday, January 16, 2000 5:37 PM

To: kamranaminyahoo.com

Subject: (forte-users) Printing Word OLE.

We are experimenting with an OLE Word interface for maintaining complex

document

details (and then storing them in Oracle).

We have achieved a satisfactory client interface and have no problems

storing

the data.

However we can't seem to be able to print the word document.

This is the 1st time we have used Word OLE and I think we might be

barking up the wrong tree a bit.

Has anyone else used a Word OLE interface, if so how did you print ?

Regards,

Chris Will, Analyst, DET Sydney Australia

--

For the archives, go to: <a href=

"http://lists.sageit.com/forte-users">http://lists.sageit.com/forte-users< ;/a> and use

the login: forte and the password: archive. To unsubscribe, send in a new

email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

at 2007-6-29 9:16:03 > top of Java-index,Application & Integration Servers,Integration Servers...