Problem with batch timeout
Posted: Mon Apr 21, 2008 4:53 am
I've downloaded the trial version of the Print2Flash software on my WinXP machine to see if we should buy it to convert a large number of PDF files to Flash. I can convert the files just fine by starting up Adobe Reader and printing an SWF file using the Print2Flash printer driver. However when I attempt to convert a file in a batch process with a command like:
p2fserver.exe c:\PDFs\2002-z8.pdf c:\PDFs\2002-z8.swf /InterfaceOptions:3566 /Orientation:2 /BeforePrintingTimeout:60000 /AfterPrintingTimeout:300 /CreateLogFile:on /LogFileName:C:\PDFs\testlog.txt /LoggingLevel:1 /PressPrintButton:on
it fails producing the following log file:
4/21/2008 1:16:55 AM Batch job started
4/21/2008 1:16:55 AM Converting file C:\PDFs\2002-z8.pdf
4/21/2008 1:17:55 AM The file (C:\PDFs\2002-z8.pdf) could not be converted. Exception : Before printing timeout expired
4/21/2008 1:17:55 AM Trying to kill the printing application (5940)
4/21/2008 1:17:55 AM TerminateProcess failed (5)
4/21/2008 1:17:55 AM Batch job completed. 0 files converted, 1 errors
I tried different options of /PressPrintButton but always get the same error. I've tried making Print2Flash the default printer with no luck. I'm kind of out of ideas. This would be perfect for my needs if I could get the batch processing working. Any help would be appreciated.
p2fserver.exe c:\PDFs\2002-z8.pdf c:\PDFs\2002-z8.swf /InterfaceOptions:3566 /Orientation:2 /BeforePrintingTimeout:60000 /AfterPrintingTimeout:300 /CreateLogFile:on /LogFileName:C:\PDFs\testlog.txt /LoggingLevel:1 /PressPrintButton:on
it fails producing the following log file:
4/21/2008 1:16:55 AM Batch job started
4/21/2008 1:16:55 AM Converting file C:\PDFs\2002-z8.pdf
4/21/2008 1:17:55 AM The file (C:\PDFs\2002-z8.pdf) could not be converted. Exception : Before printing timeout expired
4/21/2008 1:17:55 AM Trying to kill the printing application (5940)
4/21/2008 1:17:55 AM TerminateProcess failed (5)
4/21/2008 1:17:55 AM Batch job completed. 0 files converted, 1 errors
I tried different options of /PressPrintButton but always get the same error. I've tried making Print2Flash the default printer with no luck. I'm kind of out of ideas. This would be perfect for my needs if I could get the batch processing working. Any help would be appreciated.