Hi Paul,
You are creating two print jobs. One with ??? command and the second with Copy command. Try
??? CHR(27)+CHR(69)+CHR(27)+"(s0p16.66H"
??? Filetostr(Myfile)
SET PRINTER TO
>I'm beginning to think this is an issue with Win 2000 Pro instead of VFP...
>
>When I execute the following command:
>
>??? CHR(27)+CHR(69)+CHR(27)+"(s0p10H"
>
>The Win 2000 Print Manager shows it as a "Foxpro User-Defined Job" with a status of "Spooling". This is suppose to send the codes to printer, but they never get there, so the printer font doesn't change. He status never changes from "spooling".
>
>Then when I execute the following command:
>
>RUN COPY myfile.txt LPT1:
>
>The Print Manager shows the status as "Printing", and the print font is the original font.
>
>So, I've think I've figured out the reason why the font is not changing, I just am not sure how to get the Win 2000 print manager to print the ??? command instead of spooling it.
>
>Any Ideas?
>
>Thanks... Paul
--sb--