Flash AS3 Print Job Class PC Error

Posted: April 21st, 2009 | Author: Liza | Filed under: As3, Flash, Printing | Tags: , , , | 2 Comments »

I had a nightmare week trying to figure this problem out.  Basically i was printing 4 pages from what appeared to be a really unstable xml file in a flash swf.  Initially I thought it might have been special characters in xml or a problem with the Print Job Class.

I had no idea why the print job class worked (for 3 pages or more) on a MAC and not a PC.  after investigation by a few of our developers it was kicking up an error about “Timing out”, and there was a pretty simple solution.

It was timing out because the script time limit was too short for a PC to process more than 3 pages at a time, so i increased the script time (in Publish Settings)  to 60 seconds and it worked.

Publish Settings

Nightmare Over