Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 14 SEP 2010 03:55:11PM John Bouley wrote:

What are the reasons that would cause the message:

"Not able to write PDF file"

I have a batch process that creates pdf files in a loop. If the process fails this way it kind of defeats the purpose of creating an unattended process. This particular file likely took longer than normal so I guess this beggs the question is there a timout butilt into OIPI? Using OIPI not .NET.

John


At 16 SEP 2010 01:54PM John Bouley wrote:

Ok I found the cause of the problem and it is not what I thought.

Using OIPI, start to create a pdf file by using the Set_printer "INIT". But instead of sendig data immediately issue a set_printer "TERM" message. OI will hang for about 30 seconds and display a message "Not able to write PDF file". So it looks like there is a "bug" somewhere if no actual data is sent. This should be fairly easy to workaround but in the long run should be fixed.

Thanks,

John

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/2c9186b2750f2ca58525779e006d6c2a.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1