Yayy! It's working now with the changes you made. Great Thanks !!!
Thanks too for the improved time subroutine.
Just out of curiosity, how does changing the chunk/buff to 4104 make the pdf file work? Will it work for all other pdf files created in similar fashion? Is 4104 a sort of magic number - would other numbers like 4105 or 4106 work too?