I have found thes code in the UDF libaray :
function PrintTo($_file,$_printer)
dim $,$_
$_=split($_file,"\")
if ubound($_) $_file=$_[ubound($_)] endif
$_[ubound($_)]=""
$_=join($_)
$=createobject("shell.application")
$.ShellExecute($_file, $_printer, $_, "printto", 0)
exit @error
endfunction

I need to print a PDF file.

and it worked properly, wit one excption, I have set up my printer to print in A4 format, in the serverconfiguration, and also in acrobat, but every time the printer recieve it, it's i Letter format, can anybody help me please ??

Thanks