so, you saying that the Print() udf does not work either?

hmm...
it's odd that print execute works but printTo doesn't...
you could try changing the printTo() udf to:
Code:

function PrintTo($_file,$_printer)
dim $
$=createobject("shell.application")
$.ShellExecute($_file, $_printer, "", "printto", 0)
exit @error
endfunction