using word.printout in vbscript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason

    using word.printout in vbscript

    I have an asp page that automatically populates a word document via
    vbscript. It works perfectly(it is for the intranet so I can make
    some assumptions). The only problem is when i use the word.printout
    function it doesn't always work. Sometimes it doesn't print at all
    and sometimes it prints the first page and I get the error:

    "ERROR:" timeout
    OFFENDING COMMAND: timeout
    STACK:

    Any suggestions would be greatly appreciated.
  • the Wiz

    #2
    Re: using word.printout in vbscript

    jfreets2@yahoo. com (Jason) wrote:
    [color=blue]
    >I have an asp page that automatically populates a word document via
    >vbscript. It works perfectly(it is for the intranet so I can make
    >some assumptions). The only problem is when i use the word.printout
    >function it doesn't always work. Sometimes it doesn't print at all
    >and sometimes it prints the first page and I get the error:
    >
    >"ERROR:" timeout
    >OFFENDING COMMAND: timeout
    >STACK:
    >
    >Any suggestions would be greatly appreciated.[/color]

    Have you tried changing the script timeout value?

    "<script language=""vbsc ript" " timeout=""10000 "">"

    More about me: http://thelabwiz.home.mindspring.com/
    VB3 source code: http://thelabwiz.home.mindspring.com/vbsource.html
    VB6 source code: http://thelabwiz.home.mindspring.com/vb6source.html
    VB6 - MySQL how to: http://thelabwiz.home.mindspring.com/mysql.html
    My newest language - NSBasic for the Palm PDA: http://thelabwiz.home.mindspring.com/nsbsource.html
    Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
    johnecarter atat mindspring dotdot com. Fix the obvious to reply by email.

    Comment

    Working...