It will show an ugly DOS box for a second...but it will work. It will also avoid default printer settings to remote printers, etc..
I have a question: Does anyone know how to get rid of this ugly DOS box when using this technique?
>>if it is VFP than no it can't be done - it is a known bug and can be found >>in the KB as well >> >>Arnon >> >>>Hi guys, >>>I am trying to print a text file directly to the LPT1 port >>>using the COPY TO command, and I am receiving >>>"Invalid path or filename", why? >>>I do this: >>>COPY FILE MyText.txt TO LPT1 >>>I know this can be done, because I found it in the KB. >>>Thanks in advance. >>> >>> >Try using > >TYPE filename TO PRINT > >Look at help for additional options