>I have to use like "copy file eltron.txt to lpt1" command. in some computers that cause error 1102 Cannot create file lpt1 (but altough it prints).
>
>I solve that with use !copy file eltron.txt >lpt1 . but it cause a ms-dos window splash.
>
>Why vfp don't get this error some machines? I can't found any reason.
How about loading the data to a variable (in VFP 6, this is easily done with FileToStr()), and then sending the information directly to the printer with the "???" command?
You may also have to SET PRINTER first.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)