hai provato "type filename.txt > prn" ?