0 Replies Latest reply on Mar 9, 2007 7:47 AM by 30093

    Create a Post Script file from Word document

      I have Word document (created from COM object). I need generate a Post Script file from this .doc file.
      I tried to create an .exe program on VB which call PrintOut method and print doc to file
      ( WordObj.PrintOut _
      Background:=False, _
      PrintToFile:=True, _
      OutputFileName:=StrOutputName, _
      ) - it works from command line, but when i tried to run it trough CFEXECUTE - it hangs up.
      I tried to call the same method from Coldfusion, but CF doesn't recognize named parameters - when i pass all parameters - always "incorrect parameter type".

      PrintOut Method:
      expression.PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight)

      Anybody have any ideas?