>thnx yuri,
>
>thats works fine, but what i try to do is put the codes in a 'txt' doc. and then print via vfp with type mytext.txt to printer wrap and that doesnt work. So my question is how can i force the pcl codes in my txt doc so that the printer recog. it as a pcl code and not as a simple string.
You can use
Direct writing to spooler without GDI response File #
9957 or similar to send the file to a printer.
--sb--