8800 Error when printing from Javascript


i have script opens existing psd file, reads , increments serial number in text layer , sends file printer. nothing fancy there. works fine in cs3, in cs6 (win , mac) throws dreaded 8800 error. stripped down version (just opening doc , attempting print) fails well:

 

var prt_fileref = file("c:/laser/dp.100.ep_bottom.psd"); var prt_docref = app.open(prt_fileref); activedocument = prt_docref; prt_docref.print(); prt_docref.close();  
... - not complete command because of program error.
line 4-> prt_docref.print()

 

strange may seem cannot seem locate examples of print script cs6....

 

any appreciated.



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account