No joy yet. Well at least it prints but that has been achieved whit the earlier by maciep suggested modification.
Keeps on printing to the default printer. No matter if it is a .doc .txt .xls or whatever.
No errors all 0's

Quote:


Connect to folder c:\ errors with: 0
Connect to file test.doc in that folder errors with: 0
Connect to folder c:\ errors with: 0
Connect to file test.doc in that folder errors with: 0





Used code:
Code:

ReDirectOutput ("c:\error.txt")
Call @SCRIPTDIR + "\print.kix"
Print("c:\test.doc")
Sleep 3



Edited by Mart (2005-08-28 07:51 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.