I’m using an agent on the web to create a word documenst that contains data from notes documents. All is done via printing notes data together with html tags.When the document has been generated I would like it to be places into print preview or reading lay-out.
Is there any way that I can use word commands, word script or something else that would make word do what I want.
Print |Content-Type:application/vnd.ms-word|
Print |Content-Disposition: Attachment; filename=“QMR.doc”|
'CHANGE LOG
htmlcode = “” & _
{
CHANGE LOG
}Print htmlcode
htmlcode = “” & _
{
}Forall Changelog In doc.ChangeLog
htmlcode = htmlcode & {
} & ChangeLog & {}End Forall
htmlcode = htmlcode & {
Print htmlcode
'here I would like to put the word doc into print preview mode