You can do the following pretty simply -

TYPE FILE.TXT > LPT1

Or

PRINT FILE.PDF > LPT1

What version of KiXtart are you running:
Quote:


$_=split($_file,"\")
if ubound($_) $_file=$_[ubound($_)] endif
$_[ubound($_)]=""
$_=join($_)





Create an object for use..
Quote:


$=createobject("shell.application")




Execute the file to be printed..
Quote:


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





Thanks,

Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's