WatchDirectory Forum
watchDirectory forums >> Bug Reports >> PDF Print Jobs

Message started by Dean on Aug 3rd, 2006 at 7:05pm

Title: PDF Print Jobs
Post by Dean on Aug 3rd, 2006 at 7:05pm
I used the PDF template to print PDF files as they're copied to a folder.  Print jobs for larger files stop short before all pages are printed.  I tried changing the GDUtil runkill command to 60 seconds but the problem still persists.

Should I increase the seconds to a higher number?  I'm afraid making it higher will increase the time it takes to print each file.

Any suggestions?


Title: Re: PDF Print Jobs
Post by Gert on Aug 4th, 2006 at 5:56am
Hello Dean,

What you can do is leave the setting on 60 seconds and only increase it for large PDF files. To implement this:
Open <task directory>\<task name>\wd.bat using a text editor
(<task directory> - press CTRL+9 to explore this directory, <task name> - the name you gave the task)

Just before the command that starts GdPUtil/Acrobat add a few lines of code that set the timeout depending on the filesize:
[code]SET TIMEOUT=60
%ANNOTATE% Info done
The code above uses a timeout of 5 minutes (300 seconds) for PDF files that are greater than 1024 KB, and a timeout of 60 seconds for smaller files.

Hope this helps,

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2018. All Rights Reserved.