>Hi,
>I tried the rawprint.vcx and it still doesn't work. In both, windows 95 and Windows NT4, the command line "StartDocPrinter(lnhand, 1, lcdoc)" gives me zero ???? as answer when I used the Panasonic KX-P2023. So it doesn't print at all with this one. So I change the printer for a generic text only and in both case, it prints my text file without my symbols and not centered. I cannot say that the Panasonic is not ok because it is ok when I run it under foxpro 2.6 dos. It doesn't matter to me to set the printer for a generic one if it prints my symbols correctly. Any suggestions?
If you can create a file with the necessary control codes embedded, look at my FAQ entry on how to copy a file to a printer port using the CopyFile() API. It's FAQ entry #524, How do I copy a file to a printer port