Thanks for quick respons but.....

First I'm running version 4.22 og Kix

You say I can do it simple this way:

TYPE FILE.TXT > LPT1

Or

PRINT FILE.PDF > LPT1

but I need to print it to a networkprinter, can I do that in a simple way to ??

You said that this execute the file to be printed

$.ShellExecute($_file, $_printer, $_, "printto", 0)

What does these 3 parameters do in the line

$_, "printto", 0


Thanks